Module: User Avatar
Posted by Maurice Makaay
Re: Module: User Avatar April 14, 2010 05:27AM |
Admin Registered: 20 years ago Posts: 8,532 |
Did you put that img src inside the {LOOP MESSAGES}?
Did you dump the $PHORUM['TMP']['MESSAGES'] data within that loop to see if the avatar info was there?
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Did you dump the $PHORUM['TMP']['MESSAGES'] data within that loop to see if the avatar info was there?
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: User Avatar April 14, 2010 05:40AM |
Registered: 17 years ago Posts: 11 |
sure:
{LOOP MESSAGES}
{IF NOT MESSAGES->parent_id 0}
<a name="msg-{MESSAGES->message_id}"></a>
{/IF}
<?php
print_r($PHORUM['TMP']['MESSAGES']);
?>
<!--- some custom html --->
{IF MESSAGES->user_avatar}
<td style="width: 130px; padding: 15px;">
<img src="{MESSAGES->user_avatar}" alt="{MESSAGES->author}"/>
</td>
{/IF}
<td style="vertical-align: top; padding-top: 15px;">
{IF MESSAGES->subject}<strong>{MESSAGES->subject}</strong>{ELSEIF TOPIC->subject}<strong>{TOPIC->subject}</strong>{/IF} ({IF MESSAGES->URL->PROFILE}<a href="{MESSAGES->URL->PROFILE}">{/IF}{MESSAGES->author}{IF MESSAGES->URL->PROFILE}</a>){/IF}<br><span class="small">{MESSAGES->datestamp}</span>
</td>
{LOOP MESSAGES}
{IF NOT MESSAGES->parent_id 0}
<a name="msg-{MESSAGES->message_id}"></a>
{/IF}
<?php
print_r($PHORUM['TMP']['MESSAGES']);
?>
<!--- some custom html --->
{IF MESSAGES->user_avatar}
<td style="width: 130px; padding: 15px;">
<img src="{MESSAGES->user_avatar}" alt="{MESSAGES->author}"/>
</td>
{/IF}
<td style="vertical-align: top; padding-top: 15px;">
{IF MESSAGES->subject}<strong>{MESSAGES->subject}</strong>{ELSEIF TOPIC->subject}<strong>{TOPIC->subject}</strong>{/IF} ({IF MESSAGES->URL->PROFILE}<a href="{MESSAGES->URL->PROFILE}">{/IF}{MESSAGES->author}{IF MESSAGES->URL->PROFILE}</a>){/IF}<br><span class="small">{MESSAGES->datestamp}</span>
</td>
Re: Module: User Avatar April 14, 2010 06:22AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Module: User Avatar April 14, 2010 06:38AM |
Registered: 17 years ago Posts: 11 |
Re: Module: User Avatar April 14, 2010 06:41AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Module: User Avatar April 14, 2010 06:54AM |
Registered: 17 years ago Posts: 11 |
the module is enabled of course. i've changed the max. files to 1 and the dimensions to 100x100, erveryone is allowed to use and to disable the avatars.
the upload works and if i change {MESSAGES->user_avatar} to {USER->user_avatar} the avatar is shown (to myself only of course).
i know, but i'm not really frightened :-)
the upload works and if i change {MESSAGES->user_avatar} to {USER->user_avatar} the avatar is shown (to myself only of course).
i know, but i'm not really frightened :-)
Re: Module: User Avatar April 14, 2010 06:56AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Module: User Avatar April 14, 2010 07:24AM |
Registered: 17 years ago Posts: 11 |
we have enabled:
Announcements
BBCode
HTML Phorum Mod
Impersonate User (version 1.0.5)
Mark All Forums Read (version 1.0.8)
New message notification module (version 1.01)
Recent Messages (version 2.0.13)
User Avatar (version 3.0.4)
i switched them all to "off" - except the avatar - and nothing changed.
Announcements
BBCode
HTML Phorum Mod
Impersonate User (version 1.0.5)
Mark All Forums Read (version 1.0.8)
New message notification module (version 1.01)
Recent Messages (version 2.0.13)
User Avatar (version 3.0.4)
i switched them all to "off" - except the avatar - and nothing changed.
Avatars not available for LIST template? August 09, 2010 04:11PM |
Registered: 15 years ago Posts: 753 |
Re: Avatars not available for LIST template? August 09, 2010 04:19PM |
Admin Registered: 20 years ago Posts: 8,532 |
The module authors had no use for it.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.