Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Split Useronline on Forumhome Details »»
Split Useronline on Forumhome
Version: 2.5.5, by consolegaming consolegaming is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 05-24-2010 Last Update: 06-29-2011 Installs: 109
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Description
Splits the User Online section on the Forum Home to allow for staff/team members and users to be split into separate groups. This is the latest version of my previous mod and is now compatible with 4.0.x. My 3.7.x version was itself a new version of Surviver's original modification which was made for vBulletin 3.6.4.

My 3.7.x version of the modification can be found here:
https://vborg.vbsupport.ru/showthread.php?p=1537920


The rjs_split_online_40_vb4.1.2.zip download is only compatible with vBulletin 4.1.2 and above.

However if you are still using 4.0.x up-to 4.1.1 then please use the original download: rjs_split_online_40_pre4.1.2.zip




Features
  • Currently allows for five different types of extra users (Admins, Staff, Premium, VIP, Donators) on top of the usual members (for those not assigned to any of the other groups).
  • This is controlled through the usergroup manager whereby you can select Yes or No for each of the five types of users.
  • This works off a user's display usergroup for which section/s they will appear in on the online listing.
  • The titles for the six groupings (5 plus members) can now be managed inside the Vbulletin Options inside the Split Useronline section.
  • Compatibility with User Legend Hacks (providing their Execution order is set to 2 or more)
  • You can use HTML markup to change the colours of the titles. e.g
    HTML Code:
    <style="color:red;">Staff</span>
  • The default additional spacing between the groups is now optional. This is managed in the VBulletin Options alongside the other settings above.
  • There are no manual template edits any more.

Installation
  1. Upload all necessary files to their respective directories. Overwrite files where prompted.
  2. Install the product XML file. Be sure to Allow Overwrite.
  3. Check that Split Useronline tool is turned on: vBulletin Options -> Split Useronline -> Activate: Yes
  4. Decide whether you want to use the additional spacing between Groups.
  5. If you are using a 4.0.x version prior to 4.0.6 then you will need to make the below template change:

    Style Manager -> Expand the "CSS Templates" Group -> Customize "split_online.css"

    And then change the following:
    Code:
    #wgo_onlineusers .commalist li.nocomma:after {content: "";}
    #wgo_onlineusers .commalist li.br {display:block;}
    To (i.e. remove "#wgo_onlineusers "):
    Code:
    .commalist li.nocomma:after {content: "";}
    .commalist li.br {display:block;}
    After you do upgrade to 4.0.6 just revert the above template and all will be fine.
  6. Set relevant permissions for each usergroup.

Upgrading from 2.0.0 (was made for vBulletin 3.7.x)
Do not uninstall the old version of this mod before installing. Upgrading from my 3.7.x version of this modification should be painless. It will auto remove the previous version (if you have it installed). As detailed above I've switched from using phrases to vbulletin options to define the titles for the groupings. This was done due to user feedback from the last release. The groups each have a default title in place however they can easily be changed to your own preference.

Upgrading from 1.0.3 (was made for vBulletin 3.6.4)
Unfortunately anyone wishing to upgrade from Survivor's original modification will be unable to. You will need to uninstall this product at your own convenience. The usergroup assignments are also managed through the usergroup permissions screen rather than the vBulletin settings.

Changelog
2.5.0 - 4.0.x compatible release.
2.5.1 - Fixing issue with friend icons/invisible icons not appearing.
2.5.2 - Changed order of groups and made the extra spacing optional.
2.5.4 - Added an Automated CSS Template instead of manual template edits.
2.5.5 - Resolved compatibility issues with latest VBulletin. vBulletin 4.1.2 and above only

Author Notes
The main priority was simply to get a 4.0.x compatible version released but at the same time I did try to listen to user feedback and thus increased the number of groupings to five. In addition to this I also changed how the group titles are defined in an attempt to make this more accessible.

Credit for the original version of the modification still goes to Surviver.

Also the credit for the ilog function and the product un-installation process found within the installation code goes to Paul M.

Download Now

File Type: zip rjs_split_online_40_pre4.1.2.zip (3.8 KB, 104 views)
File Type: zip rjs_split_online_40_vb4.1.2.zip (3.9 KB, 396 views)

Screenshots

File Type: jpg screen1.jpg (37.8 KB, 0 views)
File Type: jpg screen2.jpg (113.8 KB, 0 views)
File Type: jpg screen3.jpg (48.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
hoangserip

Comments
  #42  
Old 08-16-2010, 02:45 AM
LordVader LordVader is offline
 
Join Date: Aug 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the same problem as the two guys in the two posts directly above this.

All users are on one line, please see attachment

Great mod, but this one silly little thing makes it look very untidy

Please help

Thanks

Will.
Attached Images
File Type: jpg Capture.JPG (21.6 KB, 0 views)
Reply With Quote
  #43  
Old 08-18-2010, 10:59 AM
LordVader LordVader is offline
 
Join Date: Aug 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i think i may be uninstalling this one, as another member pointed out six days ago that there was a problem with this hack & i see there has been no further help or advice given.

Its a shame as it is a nice little hack & it would be great if it was working correctly but as it stands at the moment it looks really untidy the way it is displaying on my board, i may give it another few days & see if the developer logs in & hopefully comes up with a fix.

Will.
Reply With Quote
  #44  
Old 08-21-2010, 04:12 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You all should really try to play with the code now and then. Coding is fun!

Until the developer updates the mod, here is a temporary fix.

Open the Display plugin for this mod and replace it with the following:
PHP Code:
$start '<li class="nocomma"><b>';
$show_m false$options =  $vbulletin->options;
if (
$options['split_break'] == 1){
    
$break '<li class="br nocomma"><br /></li><br />';
} else {
    
$break '<li class="br nocomma"></li><br />';
}
if((
$onlineusers['team'] OR $onlineusers['members'] OR 
$onlineusers['premiummembers'] OR $onlineusers['vips']
OR 
$onlineusers['admins'] OR $onlineusers['donators']) 
AND 
$options['split_useronline_active'])
{
    unset(
$activeusers);
    if(
$onlineusers['admins'])
    {
        
$activeusers .= $start.$options['split_admin'].':</b></li>'.$onlineusers['admins'].$break;
        
$show_m true;
    }
    if(
$onlineusers['team'])
    {
        
$activeusers .= $start.$options['split_staff'].':</b></li>'.$onlineusers['team'].$break;
        
$show_m true;
    }
    if(
$onlineusers['vips'])
    {
        
$activeusers .= $start.$options['split_vips'].':</b></li>'.$onlineusers['vips'].$break;
        
$show_m true;
    }
    if(
$onlineusers['premiummembers'])
    {
        
$activeusers .= $start.$options['split_premium'].':</b></li>'.$onlineusers['premiummembers'].$break;
        
$show_m true;
    }
    if(
$onlineusers['donators'])
    {
        
$activeusers .= $start.$options['split_donator'].':</b></li>'.$onlineusers['donators'].$break;
        
$show_m true;
    }
    if(
$onlineusers['members'])
    {
        
$activeusers .= iif($show['othergroups'], $start.$options['split_members'].":</b></li>").$onlineusers['members'].$break;
    }

This may not work the way everyone wants, but it works for me. I won't provide further updates.
Reply With Quote
  #45  
Old 08-21-2010, 08:19 AM
LordVader LordVader is offline
 
Join Date: Aug 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Sarcoth

That worked a treat, perfect :up:

Thank you

Will.
Reply With Quote
  #46  
Old 08-21-2010, 03:19 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LordVader View Post
Hi Sarcoth

That worked a treat, perfect :up:

Thank you

Will.
Yes it did. Thanks Sarcoth.

If anyone wants to ad some space between groups (a space line break) just add the <br /> as follows:

Code:
$activeusers .= $start.$options['split_vips'].':</b></li>'.$onlineusers['vips'].$break.'<br />';
$show_m = true;
Reply With Quote
  #47  
Old 08-31-2010, 10:17 AM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I have been busy with a few other projects. I'll upgrade my test forums sometime this week and take a look at it.

Are you sure you guys didn't just lose:

Code:
.commalist li.nocomma:after {content: "";}
.commalist li.br{display:block;}
from vbulletin.css when you upgraded? If that seems to be causing confusion when people are upgrading then I could create a separate css template for it, just seemed a bit wasteful for 2 lines of css lol.

EDIT: And Badger without looking I'd say that would be because that usergroup is probably not included in the normal listing. Try disabling the plugin and seeing if a user in that usergroup appears or not. I work off that same list of users, I just make it appear differently.
Reply With Quote
  #48  
Old 08-31-2010, 09:44 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by consolegaming View Post

EDIT: And Badger without looking I'd say that would be because that usergroup is probably not included in the normal listing. Try disabling the plugin and seeing if a user in that usergroup appears or not. I work off that same list of users, I just make it appear differently.
Hmmm....

When you say ... I'd say that would be because that usergroup is probably not included in the normal listing. ....

Do you mean a setting under AdminCP UserGroup settings that is vBulletin's and not the one that belongs to your mod? Is that new, as I don't ever remember a setting that caused specific usergroups to appear or not appear under the forumhome listing of who's logged in?

Regards,
Badger
Reply With Quote
  #49  
Old 09-02-2010, 11:28 AM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Hmmm....

When you say ... I'd say that would be because that usergroup is probably not included in the normal listing. ....

Do you mean a setting under AdminCP UserGroup settings that is vBulletin's and not the one that belongs to your mod? Is that new, as I don't ever remember a setting that caused specific usergroups to appear or not appear under the forumhome listing of who's logged in?

Regards,
Badger
I don't believe there's a setting for it. But if you disable this plugin you'll see that those same users still won't appear. VB don't seem to count "Awaiting Email Validation" users as members so they're not included as part of the online list. I suspect they categorize them as guests instead.
Reply With Quote
  #50  
Old 09-02-2010, 05:58 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by consolegaming View Post
VB don't seem to count "Awaiting Email Validation" users as members so they're not included as part of the online list. I suspect they categorize them as guests instead.
Interesting...

Didn't realize they now did that in VB4 ....

I even changed that group to be recognized along with your Admin group and they still didn't appear and neither does the "Awaiting Email" group ...

Regards,
Badger
Reply With Quote
  #51  
Old 09-02-2010, 06:12 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Interesting...

Didn't realize they now did that in VB4 ....

I even changed that group to be recognized along with your Admin group and they still didn't appear and neither does the "Awaiting Email" group ...

Regards,
Badger
The list of online users is always the same and is provided by vbulletin's code. I don't add or remove from the list. Effectively all my plugin does is present the list in a different way. It subdivides the list of users into further groups.

So yeah any usergroups that aren't used such as "Awaiting Emails" won't ever be shown in the list no matter what options you use when editing the usergroup.
Reply With Quote
Reply


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


All times are GMT. The time now is 12:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07582 seconds
  • Memory Usage 2,389KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete