Firefox PHP

The Avatar and the User Avatar module.

Posted by tradegong 
The Avatar and the User Avatar module.
August 23, 2013 06:15PM
Hi Friends!
I have been having an enormous problem with The Avatar and the User Avatar modules in the past days.
First, I have to inform you that my installed version of Phorum is 5.2.19. I installed the Avatar module and followed the ´´read me´´ instruction to configure it. I configured it well as the description was straight forward. But it did not worl.
Now, I installed the User Avatar ´´user_avatar-3.0.4´´ and I find it difficult to understand the documentation. I have configured according to my understanding but could not get it to work.
What could I have done wrong? Am I to or not to edit the * read.tpl (flat read mode)
* read_hybrid.tpl (hybrid read mode) or simply copy the template directory into my Phorum template? I am confused as I find the config description grossly confusing. Or can I find any tutorial anywhere else for this?
pls, help as all help would be appreciated.
Trade Gong

Trade Gong
Re: The Avatar and the User Avatar module.
August 24, 2013 09:17PM
Quote
tradegong
What could I have done wrong? Am I to or not to edit the * read.tpl (flat read mode)
* read_hybrid.tpl (hybrid read mode) or simply copy the template directory into my Phorum template? I am confused as I find the config description grossly confusing. Or can I find any tutorial anywhere else for this?
pls, help as all help would be appreciated.

You want this one....

[www.phorum.org]

And everything gets uploaded to the /mod/ directory. After that, you have to edit the read.tpl, read_hybrid.tpl, and/or read_threads.tpl files and add the following....

Language: PHP
{IF MESSAGES->user_avatar} <img src="{MESSAGES->user_avatar}" alt="avatar" {IF MESSAGES->user_avatar_w} style="width:{MESSAGES->user_avatar_w}px; height:{MESSAGES->user_avatar_h}px" {/IF} /> {/IF}

That should be placed somewhere in the template around the persons username and information. Simple view the source of this forum to get an idea of where it can be placed.


Robert Angle
Phorum lover, nothing more.
Ruminations
Re: The Avatar and the User Avatar module.
August 25, 2013 12:59AM
Thank for your assistance.

Trade Gong
Sorry, only registered users may post in this forum.

Click here to login