vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v3.x & 2.x > Add-On Modules (version 3.x & 2.x)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2007, 12:30 AM
warlion warlion is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Default vbadvance Separate Staff and members in User online mod

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 = ', ';
and remplace with
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);
            
        }
save it

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>
save it and check your site
Attached Images
File Type: jpg useronline.jpg (48.7 KB, 771 views)
Reply With Quote
  #2  
Old 09-06-2007, 04:48 PM
The Black Poet The Black Poet is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Default Re: vbadvance Separate Staff and members in User online mod

Works for me!!! thanks!!
Reply With Quote
  #3  
Old 09-06-2007, 06:12 PM
warlion warlion is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Default Re: vbadvance Separate Staff and members in User online mod

im glad you used thankss
Reply With Quote
  #4  
Old 09-07-2007, 07:00 AM
princeedward princeedward is offline
Banned
 
Join Date: Feb 2007
Posts: 51
Default Re: vbadvance Separate Staff and members in User online mod

nice one...installed...work like a charm to my vB 3.6.8....thanks


online.jpg

Last edited by princeedward; 09-07-2007 at 07:03 AM.
Reply With Quote
  #5  
Old 09-08-2007, 09:58 PM
MDK-Indy MDK-Indy is offline
Junior Member
 
Join Date: Mar 2007
Posts: 3
Default Re: vbadvance Separate Staff and members in User online mod

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.
Reply With Quote
  #6  
Old 10-25-2007, 03:10 AM
LaYxOn LaYxOn is offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Default Re: vbadvance Separate Staff and members in User online mod

this works with the scroolling online memebers or something like that modification?
Reply With Quote
  #7  
Old 10-31-2007, 07:49 PM
Cynon Demarr Cynon Demarr is offline
Junior Member
 
Join Date: Jul 2006
Posts: 3
Default Re: vbadvance Separate Staff and members in User online mod

Well done! Thanks Warlion!
Reply With Quote
  #8  
Old 11-04-2009, 11:40 AM
itzboosted01 itzboosted01 is offline
Junior Member
 
Join Date: Oct 2009
Posts: 9
Default

Does this work with 3.8?
Reply With Quote
  #9  
Old 02-13-2010, 09:15 PM
biggeorge biggeorge is offline
Junior Member
 
Join Date: Mar 2007
Posts: 9
Default

Thank you!
Reply With Quote
  #10  
Old 02-13-2010, 09:16 PM
biggeorge biggeorge is offline
Junior Member
 
Join Date: Mar 2007
Posts: 9
Default

Quote:
Originally Posted by itzboosted01 View Post
Does this work with 3.8?
Yes... 3.8.1 on my forum http://www.extremebusa.com
Reply With Quote
  #11  
Old 06-16-2012, 10:14 PM
vetsfast vetsfast is offline
Junior Member
 
Join Date: Dec 2009
Posts: 15
Default

is possible for someone to show how this can be done with VBA 4?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 10:11 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.