vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Split Useronline on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=243233)

consolegaming 05-24-2010 10:00 PM

Split Useronline on Forumhome
 
1 Attachment(s)
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.

consolegaming 05-25-2010 12:41 AM

Just a quick note to say that I'll be adding screenshots and fine-tuning the description tomorrow.

In the meantime please let me know if you have any problems. And don't forget to mark it as Installed!

MrD 05-25-2010 10:01 AM

1 Attachment(s)
Hi,
nice Mod :)
But i have a Spaceline between the Usergroups.
Attachment 117531

consolegaming 05-25-2010 10:15 AM

Quote:

Originally Posted by MrD (Post 2043083)
Hi,
nice Mod :)
But i have a Spaceline between the Usergroups.
Attachment 117531

That was actually intended. It's easily removed though.

Plugins & Products -> Plugin Manager -> Edit the 'Display' Plugin for the 'Split Useronline' Product.

On the second line you'll see this:
PHP Code:

$break '<li class="br nocomma"><br /></li>'

Just change it to (remove the <br />):
PHP Code:

$break '<li class="br nocomma"></li>'

and the line break will be no more.

BadgerDog 05-25-2010 11:28 AM

Installed ... thank you ... :)

Really missed this add-on from 3.7 after upgrading to v4.03 ..

Nice to have it back ... :up:

Can HTML code be embedded and used to enhance group descriptions?

Regards,
Badger

consolegaming 05-25-2010 11:45 AM

Quote:

Originally Posted by BadgerDog (Post 2043100)
Installed ... thank you ... :)

Really missed this add-on from 3.7 after upgrading to v4.03 ..

Nice to have it back ... :up:

Can HTML code be embedded and used to enhance group descriptions?

Regards,
Badger

You mean the title of the groups? Well the quick experiment I did worked fine.

i.e. I just put <span style="color:red">Staff</span> instead of just Staff and I couldn't see any problems with that. Or do you mean something else?

BadgerDog 05-25-2010 11:56 AM

Quote:

Originally Posted by consolegaming (Post 2043111)
You mean the title of the groups? Well the quick experiment I did worked fine.

i.e. I just put <span style="color:red">Staff</span> instead of just Staff and I couldn't see any problems with that. Or do you mean something else?

That's exactly what I meant .... :up:

I thought that some folks might want to change color of the descriptions to match the color of the usergroup HTML markups if they did that ...

Thanks .. nice mod ... :)

Regards,
Badger

MrD 05-25-2010 06:00 PM

Works Fine,
Thx :)

stained 05-25-2010 07:36 PM

Many thanks. Works perfectly :up:

consolegaming 05-26-2010 12:02 AM

Okay, added the screenshots and changed the wording of the initial post slightly. Decided to mention that you can use html in the titles to stylise them further.

Thanks for the install guys! If anyone has any problems with anything, just post here and I'll be happy to assist.


All times are GMT. The time now is 09:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01305 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete