![]() |
|
#1
|
|||
|
|||
|
vbadvance Separate Staff and members in User online mod ******************************************* This mod come from the idea of gio~logist from his modification all the credit go to him ******************************************* What do you need you need to install this modification first Separate Staff In User's Online if you have problems with this mod check the post #22 then this mod is for vbadvance for the module user online open your file onlineusers.php, locate in forum/modules/ find this code Code:
eval('$activeusers .= "$comma ' . fetch_template('forumhome_loggedinuser') . '";');
$comma = ', ';
Code:
if($loggedin['usergroupid'] == '5' OR $loggedin['usergroupid'] == '6' OR $loggedin['usergroupid'] == '7'){
eval('$activeusers_staff .= "' . fetch_template('forumhome_loggedinuser') . ', ";');
$activeusers_staff = substr($activeusers_staff, 0);
} else {
eval('$activeusers_members .= "' . fetch_template('forumhome_loggedinuser') . ', ";');
$activeusers_members = substr($activeusers_members, 0);
}
edit the next template adv_portal_onlineusers and remplace all with this Code:
<tr>
<td class="thead"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>
</tr>
<tr>
<td class="thead"><span class="smallfont">Staff on-line:</span></td>
</tr>
<tr>
<td class="$altbgclass"><span class="smallfont">$activeusers_staff</span></td>
</tr>
<tr>
<td class="thead"><span class="smallfont">Members on-line:</span></td>
</tr>
<tr>
<td class="$altbgclass"><span class="smallfont">$activeusers_members</span></td>
</tr>
<tr>
<td class="$bgclass"><span class="smallfont"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></span></td>
</tr>
|
|
#2
|
|||
|
|||
|
Works for me!!! thanks!!
|
|
#3
|
|||
|
|||
|
im glad you used thankss
|
|
#4
|
|||
|
|||
|
Last edited by princeedward; 09-07-2007 at 07:03 AM. |
|
#5
|
|||
|
|||
|
Salü,
I have installed the "Usergrouplegend Add-On" in my Forum. http://www.vbulletin.org/forum/showthread.php?t=131945 Now i want the Legend to show on the bottom of "Online Users CMPS Module". Which variables I need, and where must I insert them? Can anyone help me? Last edited by MDK-Indy; 09-08-2007 at 10:03 PM. |
|
#6
|
|||
|
|||
|
this works with the scroolling online memebers or something like that modification?
|
|
#7
|
|||
|
|||
|
Well done! Thanks Warlion!
|
|
#8
|
|||
|
|||
|
Does this work with 3.8?
|
|
#9
|
|||
|
|||
|
Thank you!
|
|
#10
|
|||
|
|||
|
Yes... 3.8.1 on my forum http://www.extremebusa.com
|
|
#11
|
|||
|
|||
|
is possible for someone to show how this can be done with VBA 4?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Staff module with "last online" details? | wiredgea | Module & Modification Discussion & Requests | 1 | 01-01-2007 10:46 PM |
| Show Staff Online? | Hengis | Module & Modification Discussion & Requests | 3 | 01-08-2006 04:54 PM |
| vBadvance pages to show in the Who's Online Location | lucabosurgi | Troubleshooting / "How do I..." Questions | 1 | 04-11-2005 10:43 AM |
| Online User... | Nautiqeman | Troubleshooting / "How do I..." Questions | 4 | 01-20-2005 01:14 PM |
| If one user online bug | Merjawy | Troubleshooting / "How do I..." Questions | 2 | 07-10-2004 02:08 AM |