Log in

View Full Version : Currently Active Users - Key Addon.


Tim_GPN
06-21-2006, 03:20 AM
Hi guys,

Forgive me for asking such a n00b question but im new to editing vB scripts.

Ive been trying to add a key at the bottom of the home forum page under the Currently Active User list to symbolise which user colours refer to which user title.

I managed to get it working for the Whose Online Page (SS1), but when ever i try and add the same script to the 'forumhome_loggedinuser' to edit the homepage status, it always gives me this really weird outcome (SS2).

Im trying to edit the script;
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]

Im changing it to the following to try and add my key,
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<br>
<div align="center"><b><span style='color:red'>Senior Admin</span></b> | <span style="color: black"><b>Website Admin</b></span> | <b><span style='color:navy'>Moderator </span></b>| <span style="color: green"><b>AA Admin </b></span>| <span style="color: green"><b> CSS Admin</b></span></div>

If anybody has any ideas as to why its doing what its doing, any information would be greatly appriciated.

Thanks,
Tim.
---------
GPN Admin.
www.gamespit.com.au

Ntfu2
06-21-2006, 03:38 AM
move your hook location maybe

Paul M
06-21-2006, 03:51 AM
'forumhome_loggedinuser' is called for each online user. You need to edit just FORUMHOME.

Tim_GPN
06-21-2006, 04:40 AM
Awsome, got it working.

Thanks for your help.