PDA


View Full Version : How do I edit the code in the Active Users module


tomshawk
05-29-2005, 11:11 PM
Hello Brian,

I installed the Show Spiders Online on ForumHome
http://www.vbulletin.org/forum/showthread.php?t=75986
by AmyKhar and it works great, but

it messes up the portal

I get this

3 members and 29 guests and [ARG:3 UNDEFINED] spiders

I realize it has to do with the editions to the index.php from the instructions, but I dont see alot of the things it requires within the onlineusers.php module file.

If you could, any assistance would be awesome

tomshawk
05-29-2005, 11:32 PM
By going into the adv_portal_onlineusers

and taking this code

<td class="alt2"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>


and adding 3="$numberspiders" to make it look like this


<td class="alt2"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase></span></td>


I am able to get it to say guests and spiders, so that is good enough, I wish it would distinguish, so if anyone knows, please let me know ;)

FightRice
05-30-2005, 01:11 AM
do you have to have 'Enable Spider Display' enabled in the Admin CP?

admin cp -> vBoptions -> who's online

tomshawk
05-30-2005, 03:07 PM
do you have to have 'Enable Spider Display' enabled in the Admin CP?

admin cp -> vBoptions -> who's online

I have it enabled in my admincp, because I want to see them.
I doubt you'd get the same results if it wasn't.