PDA

View Full Version : How can I get this profile field shown everywhere


mcyates
07-13-2008, 03:57 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=173543&page=2" target="_blank">https://vborg.vbsupport.ru/showt...=173543&page=2</a>

<if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" border="0" /></if>

This shows the users chosen icon next to their username but it only shows on the whos online on forumhome. I would like this to be shown on the top 5 stats, on the who visited in the past 24hrs and on the postbit template, basically everywhere the username is shown.

Any help will be much appreciated.

Opserty
07-14-2008, 08:22 AM
You have to edit every template where the username is listed then remember to alter the variable name if you need to.

mcyates
07-14-2008, 10:47 AM
Thank you for your reply.

So for the members online in 24hr on the forum home. this is the code on the template which shows the usernnames who have been online the past 24hrs:


<a rel="nofollow" href="member.php?$session[sessionurl]u=$today[userid]" title="$today[wrdate]">$today[opentag]$today[username]$today[closetag]</a>$today[markinv]


The code below is the code used on the whos online bit on forumhome to add the football crest it to the current member who are online:

<if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>

It used a plugin which I called Football Crests, the hook location is, forumhome_loggedinuser. The pugin php code is:

$online_userinfo = fetch_userinfo($loggedin['userid']);

mcyates
07-25-2008, 09:25 PM
Erm, thanks for your help lol.

Still wondering how to do this.

mcyates
08-06-2008, 01:09 PM
still need this doing?