The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Whos online quick fix needed...
Can someone help me? I hacked up the whos online code and got rid of having all the members display on the home page...i want that back....
My whos online template currently looks like this, can you add in what i need?: $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude $metarefresh <title>$vboptions[bbtitle] - $vbphrase[whos_online]</title> </head> <body> $header $navbar <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="$colspan"><div class="smallfont"> <span style="float:$stylevar[right]"> <a href="$reloadurl"><strong>$vbphrase[reload_this_page]</strong></a> </span> <strong><phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]</phrase></strong><br /><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase> </div></td> </tr> <tr> <td class="thead" > <span style="float:$stylevar[right]"> <a href="$sorturl&order=desc&sort=time&pp =$perpage&page=$pagenumber">$vbphrase[last_activity]</a> $sortarrow[time] </span> <a href="$sorturl&order=asc&sort=username& ;pp=$perpage&page=$pagenumber">$vbphrase[username]</a> $sortarrow[username] </td> <td class="thead"><a href="$sorturl&order=asc&sort=location& ;pp=$perpage&page=$pagenumber">$vbphrase[location_temp]</a> $sortarrow[location]</td> <if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if> <if condition="$vboptions['showimicons']"><td class="thead" align="center">$vbphrase[instant_messaging]</td></if> </tr> $onlinebits </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" align="center"> <form action="online.php" method="post"> <input type="hidden" name="pp" value="$perpage" /> <input type="hidden" name="sortfield" value="$sortfield" /> <input type="hidden" name="sortorder" value="$sortorder" /> <div class="fieldset" style="margin:0px"> <if condition="$vboptions['WOLguests']"> $vbphrase[display]: <select name="who"> <option value="all" $whoselected[0]>$vbphrase[all]</option> <option value="members" $whoselected[1]>$vbphrase[members]</option> <option value="guests" $whoselected[2]>$vbphrase[guests]</option> <if condition="$vboptions['enablespiders']"> <option value="spiders" $whoselected[3]>$vbphrase[search_bots]</option> </if> </select> </if> <if condition="$show['ip']"> $vbphrase[user_agent]: <select name="ua"> <option value="1" $uaselected[1]>$vbphrase[yes]</option> <option value="0" $uaselected[0]>$vbphrase[no]</option> </select> </if> $vbphrase[per_page]: <input type="text" class="bginput" style="font-size:11px" name="pp" value="$perpage" size="2" /> <input type="submit" class="button" value="$vbphrase[display]" accesskey="s" /> </div> </form> </td> </tr> </table> <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <br /> <!-- icons and forum jump --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td width="100%"> <table cellpadding="2" cellspacing="0" border="0"> <col align="center"></col> <tr> <td><strong>+</strong></td> <td class="smallfont"> $vbphrase[user_is_on_your_buddy_list]</td> </tr> <if condition="$show['hidden']"> <tr> <td><strong>*</strong></td> <td class="smallfont"> $vbphrase[user_is_invisible_to_others]</td> </tr> </if> <if condition="$show['badlocation']"> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></td> <td class="smallfont"> $vbphrase[viewing_forum_closed]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></td> <td class="smallfont"> $vbphrase[viewing_no_permission_message]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /> <td class="smallfont"> $vbphrase[viewing_error_message]</td> </tr> </if> </table> </td> <td> $forumjump </td> </tr> </table> <!-- / icons and forum jump --> $footer </body> </html> Thanks a ton guys! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|