Results 1 to 11 of 11

Thread: vbadvance Separate Staff and members in User online mod

  1. #1
    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

  2. #2

    Default Re: vbadvance Separate Staff and members in User online mod

    Works for me!!! thanks!!

  3. #3
    Join Date
    Nov 2006
    Posts
    2

    Default Re: vbadvance Separate Staff and members in User online mod

    im glad you used thankss

  4. #4

    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


    Attachment 3653
    Last edited by princeedward; 09-07-2007 at 08:03 AM.

  5. #5
    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 11:03 PM.

  6. #6
    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?

  7. #7

    Default Re: vbadvance Separate Staff and members in User online mod

    Well done! Thanks Warlion!

  8. #8

    Default

    Does this work with 3.8?

  9. #9
    Join Date
    Mar 2007
    Posts
    9

    Default

    Thank you!

  10. #10
    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

  11. #11
    Join Date
    Dec 2009
    Posts
    15

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Staff module with "last online" details?
    By wiredgea in forum Module & Modification Discussion & Requests
    Replies: 1
    Last Post: 01-01-2007, 11:46 PM
  2. Show Staff Online?
    By Hengis in forum Module & Modification Discussion & Requests
    Replies: 3
    Last Post: 01-08-2006, 05:54 PM
  3. vBadvance pages to show in the Who's Online Location
    By lucabosurgi in forum Troubleshooting / "How do I..." Questions
    Replies: 1
    Last Post: 04-11-2005, 11:43 AM
  4. Online User...
    By Nautiqeman in forum Troubleshooting / "How do I..." Questions
    Replies: 4
    Last Post: 01-20-2005, 02:14 PM
  5. If one user online bug
    By Merjawy in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 07-10-2004, 03:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •