Back to vBulletin 3.6 Template Modifications

Sort Who's Online directly on Who's Online box
Mod Version: 1.00, by Sofia

This modification is in the archives.
vB Version: 3.6.x Rating: (0 vote - 0 average) Installs: 4
Released: 31 May 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

3.6.X


Just a simple and little modification that allows you to add sorting option of currently active users, below "Most users ever online" in "What's Going On?" box.

You can sort by username, last activity and location




Installation

In the template "forumhome",

Find:


HTML Code:
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <tr>
        <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                <div>$activeusers</div>
            </div>


Add below:


HTML Code:
<div class="smallfont">
<strong>Sort by:</strong> <a href="online.php?order=asc&sort=username&pp=20&page=1">$vbphrase[username]</a>, <a href="online.php?order=desc&sort=time&pp=20&page=1">$vbphrase[last_activity]</a>, <a href="online.php?order=asc&sort=location&pp=20&page=1">Location</a>
</div>

Download

No files for download.

Similar Mods

Forum Home Enhancements Sort Who's Online directly on Who's Online box vBulletin 3.8 Template Modifications
Forum Home Enhancements Sort Who's Online directly on Who's Online box vBulletin 3.7 Template Modifications
'Sort By' Options in "Who's Online" (online.php) vBulletin 2.x Full Releases
Link Directly to Post on Who's Online Page vBulletin 2.x Full Releases
Link Directly to Attachment on Who's Online Page vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024