It's about avatar and so....
Posted by Winst0n
It's about avatar and so.... June 01, 2004 04:19PM |
Registered: 19 years ago Posts: 31 |
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 {PROFILE->real_name}
{/IF}</p>
{IF PROFILE->avatar}
<p align="center"><img src="{PROFILE->avatar}" width="120" height="100"></p>
{ELSE}No Avatar Selected
{/IF}
<p>
{IF PROFILE->date_added}
Member since: {PROFILE->date_added}<br />
{/IF}
{IF PROFILE->total_post}
Post: {PROFILE->total_post}<br />
{/IF}
{IF PROFILE->location}
Location: {PROFILE->location}<br />
{/IF}
{IF PROFILE->small_text}
About 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)
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 {PROFILE->real_name}
{/IF}</p>
{IF PROFILE->avatar}
<p align="center"><img src="{PROFILE->avatar}" width="120" height="100"></p>
{ELSE}No Avatar Selected
{/IF}
<p>
{IF PROFILE->date_added}
Member since: {PROFILE->date_added}<br />
{/IF}
{IF PROFILE->total_post}
Post: {PROFILE->total_post}<br />
{/IF}
{IF PROFILE->location}
Location: {PROFILE->location}<br />
{/IF}
{IF PROFILE->small_text}
About 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 05:06PM |
Admin Registered: 20 years ago Posts: 9,240 |
> 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
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
Re: It's about avatar and so.... June 01, 2004 05:27PM |
Registered: 19 years ago Posts: 31 |
Weel, thanks a lot Seifer.
__________________________________________________
With kind regards, Mark W. K.
[www.adrenalyne.com] (french site)
__________________________________________________
With kind regards, Mark W. K.
[www.adrenalyne.com] (french site)
Re: It's about Seifer June 02, 2004 02:07PM |
Registered: 18 years ago Posts: 683 |
Re: It's about Seifer June 02, 2004 02:11PM |
Admin Registered: 20 years ago Posts: 9,240 |
Sorry, only registered users may post in this forum.