Firefox PHP

It's about avatar and so....

Posted by Winst0n 
It's about avatar and so....
June 01, 2004 10:19PM
Hi cheers.
I realy like phorum, and thanks all of you, who work on it, spend time and energy.
One of the stuff I would like to have in phorum, is the fun coming from avatar, and so.

Also, I looked arround, and started to make it, with the easlier way I founded.

Some template editing and here is the result :
In her/his profile, an user can put the url adress for her/his avatar, and it will be showed up on the profil page, like this.

It work simply, but fine in the profil panel (if we dont count the fact than my {LANG->avatar} and so dosent work...), but in the message list, it dosent work. I dont know how to take the user informations... maybe some one can help me ?

That's what I have done in the read.tpl to take info.

<p><strong>{MESSAGES->linked_author}</strong><br />
{IF PROFILE->real_name}
<br />aka&nbsp;{PROFILE->real_name}
{/IF}</p>
{IF PROFILE->avatar}
<p align="center"><img src="{PROFILE->avatar}" width="120" height="100"></p>
{ELSE}No&nbsp;Avatar&nbsp;Selected
{/IF}
<p>
{IF PROFILE->date_added}
Member&nbsp;since:&nbsp;{PROFILE->date_added}<br />
{/IF}
{IF PROFILE->total_post}
Post:&nbsp;{PROFILE->total_post}<br />
{/IF}
{IF PROFILE->location}
Location:&nbsp;{PROFILE->location}<br />
{/IF}
{IF PROFILE->small_text}
About&nbsp;me{PROFILE->small_text}<br />
{/IF}
</p>

But no info are taked, and nothing eept username from poster are viewed...

So here are my few questions :

1. How making working my {LANG->avatar} ?
2. How can I make my own {LANG->avatar} are they listed somewhere ?
3. How can I get the info (like date_added, location, and so) from read.tpl ?

Many many thanks in advance.

__________________________________________________
With kind regards, Mark W. K.
[www.adrenalyne.com] (french site)
Re: It's about avatar and so....
June 01, 2004 11:06PM
> 1. How making working my {LANG->avatar} ?

put it in the language-file like the other language-vars

> 3. How can I get the info (like date_added, location, and so) from read.tpl ?

its nearly the same like this one:
[phorum.org]


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: It's about avatar and so....
June 01, 2004 11:27PM
Weel, thanks a lot Seifer.

__________________________________________________
With kind regards, Mark W. K.
[www.adrenalyne.com] (french site)
pat
Re: It's about Seifer
June 02, 2004 08:07PM
Oh,

its Seifer ! Sorry that I called you Thomas all along. Whats your Surname? "Ein" ;-)

pat



Edited 2 time(s). Last edit at 06/02/2004 10:52PM by pat.
Re: It's about Seifer
June 02, 2004 08:11PM
Grrr Pat, ;)

Thomas = First Name
Seifert = Surname




Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Sorry, only registered users may post in this forum.

Click here to login