View Full Version : Forum Home Enhancements - Currently Active Users above Forums
djdonx
09-01-2007, 10:00 PM
"Currently Active Users" above your forums
Hey, this is my first little template modification and I'm still learning, so sorry for how basic it is.
What does this do?
This mod allows you to either move your currently active users out of "Whats going on" to the top of your forumhome or to add an extra "Currently Active Users" above your forums.
How to install
Download the text file below and follow through the steps which are shown there.
Remember to click INSTALL (https://vborg.vbsupport.rus/vborg_miscactions.php?do=installhack&threadid=156850)
djdonx
09-02-2007, 12:39 PM
First post reserved
v 1.00 - Initial Release
v 1.0.1 - Fixed a code error in FORUMHOME deletion
v 1.0.3 - Paul M's hack now fits in properly
v 1.0.6 - Tables and images added
djdonx
09-02-2007, 06:56 PM
Comments? Feedback?
Triky
09-02-2007, 06:59 PM
You should add a table. :p
djdonx
09-02-2007, 08:13 PM
If I do this, I may well be able to add the whats going on icons etc
I'll look into it ;)
salata
09-02-2007, 08:33 PM
nice, add the table and you'll be rocking. Good job!
djdonx
09-02-2007, 09:49 PM
Okay :) Tables put in. Uploaded new code and screenshots.
Any problems let me know..
salata
09-03-2007, 02:35 AM
i have a problem, when i put that code in it takes away my forum home table, and all you can see are the forum names all over the place, its weird.
djdonx
09-03-2007, 07:33 AM
Have you put in the closing tags etc?
if condition="$show['loggedinusers']">
<!-- logged-in users -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[currently_active_users]</td>
</tr>
</thead>
<tbody>
<tr>
<td class="thead" colspan="2">
$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><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>
</td>
</tr>
</tbody>
</table>
<!-- end logged-in users -->
</if>
<br />
djdonx
09-04-2007, 07:17 PM
Comments? Feedback?
Roxie
09-17-2007, 06:02 AM
Good idea, but I'd only like the current users up top. Nothing else (like users in last 24 hours).
djdonx
09-17-2007, 02:13 PM
Do you have Paul M's hacks installed? Such as the users that have visited today, guests that have visited today etc etc?
If so, these hacks attach themselves to the currently active users variable so I am unable myself to edit this.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.