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
  #22  
Old 06-14-2010, 07:53 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES View Post
I'd like the same, there does not seem to be anyway you can change the order

Sussed that... in the plugin manager move the text

HTML Code:
if($onlineusers['admins'])
	{
		$activeusers .= $start.$options['split_admin'].':</b></li>'.$onlineusers['admins'].$break;
		$show_m = true;
	}
To below

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

Sorry I had intended for admins to be at the top but must have forgot about that lol. I'll get it fixed in a new release shortly. The intended order should have been: Admins, Staff/Team, VIP Members, Premium Members, Donators and then Members.

But yeah that Plugin code above is how you change the order. As I said though I'll get the order to work like I described above in my next release which I'll do in the next couple of days (just fixing that).

And hIBEES you can change the names to whatever you would like through the vBulletin Options -> Split Useronline page. If you want to change what they're called on the usergroup management screen i.e. in the AdminCP then you'll need to edit the phrases. All of the phrase names for this plugin begin with the prefix "split_".
Reply With Quote
  #24  
Old 06-15-2010, 08:49 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by consolegaming View Post

And hIBEES you can change the names to whatever you would like through the vBulletin Options -> Split Useronline page. If you want to change what they're called on the usergroup management screen i.e. in the AdminCP then you'll need to edit the phrases. All of the phrase names for this plugin begin with the prefix "split_".
Thanks, got it just after I posted the code change, thanks for nice hack :up:
Reply With Quote
  #25  
Old 06-16-2010, 04:06 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed... thanks ... :up:

Is there a way of eliminating the extra spacing between groups being displayed? (see pic)

With a few user groups, it will spread out vertically pretty fast, so it would be good to eliminate the extra line feed between group displays.

Regards,
Badger
Attached Images
File Type: png Screen shot 2010-06-14 at 2.16.52 PM.png (41.2 KB, 0 views)
Reply With Quote
  #26  
Old 06-16-2010, 06:01 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Installed... thanks ... :up:

Is there a way of eliminating the extra spacing between groups being displayed? (see pic)

With a few user groups, it will spread out vertically pretty fast, so it would be good to eliminate the extra line feed between group displays.

Regards,
Badger
You mean the spacing? post 4 takes care of that....

https://vborg.vbsupport.ru/showpost....85&postcount=4
Reply With Quote
  #27  
Old 06-16-2010, 06:25 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup .. thanks ... :up:

I downloaded the update which overwrote my previous change I made as shown in post #4 ...

Made the change again ... I'll have to remember this for the next update ...

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

OK just released a slightly updated version. Upgrade instructions are as usual.

Fixed the ordering as I promised (Admins is now at the top). The exact ordering is now:

Admins, Staff/Team, VIP Members, Premium Members, Donators and then Members.

You can still call these groups whatever you would like but I felt the ordering needed to change to properly reflect the default names.

Lastly as the extra spacing/break line seemed to be causing a bit of an issue for a few users I've changed it into an option in the settings. Just set 'Use Additional Spacing' to No if you don't want the gap to appear. Thought it was best to do it properly than continue advising people to edit the plugin themselves.
Reply With Quote
  #29  
Old 06-18-2010, 07:54 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update ....

Appreciate the linefeed addition ...

Regards,
Badger
Reply With Quote
  #30  
Old 06-27-2010, 04:22 AM
LilPimp LilPimp is offline
 
Join Date: Dec 2003
Location: Orlando, Florida
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you do Staff, Members, and Contributors too?

I don't have enough contributors yet, im just wondering.
Reply With Quote
  #31  
Old 06-27-2010, 03:22 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry? You can call the groups whatever you want. And there is a 'Staff' group already.
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 07:27 PM.


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.08539 seconds
  • Memory Usage 2,359KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_html
  • (3)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