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
  #72  
Old 09-05-2010, 04:53 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would work as well lol.
Reply With Quote
  #73  
Old 09-07-2010, 03:46 PM
Eazy1 Eazy1 is offline
 
Join Date: Jun 2009
Location: Washington
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by consolegaming View Post
Use the CSS that's in the initial post lol (under the heading Template Edit). I think I'm going to create a separate css template and auto include it because this seems to cause confusion for people installing it /upgrading vb. I'll probably get that done over the next couple of weeks.
Well, I had that done (I've now updated to your newest version)... I'm curious how to remove just the last comma in each line:

Attached Images
File Type: jpg splitusergroup.jpg (85.4 KB, 0 views)
Reply With Quote
  #74  
Old 09-09-2010, 02:17 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to make this work in CMPS?
Reply With Quote
  #75  
Old 09-10-2010, 07:18 AM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eazy1 View Post
Well, I had that done (I've now updated to your newest version)... I'm curious how to remove just the last comma in each line:

EDIT:

Hmm, what I was just suggesting wouldn't work lol. Not really got a simple fix that could do it. I was going to suggest using the trim function on it but that wouldn't work. Not how I was thinking anyway.

If it's going to be done it would need to be within the Display plugin (i.e. once the variables have been fully populated). I was thinking of using the trim function to remove the trailing , but it'll be ending more like this: ,</li> but removing that and re-adding the li back in might be a bit messy.

@ Pedro: I've never used VB Advanced (that's what your talking about yea?) so I don't know how that works.
Reply With Quote
  #76  
Old 09-10-2010, 08:28 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by consolegaming View Post
@ Pedro: I've never used VB Advanced (that's what your talking about yea?) so I don't know how that works.

Yes it was. That's a pity
It would be great to make this work in VBA
Reply With Quote
  #77  
Old 09-11-2010, 05:54 PM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pedroenf View Post
Yes it was. That's a pity
It would be great to make this work in VBA
Indeed it would, im using vb advanced CMPS on VB 4.0.6.
I have the CMS also, but disabled it, I think it aint that great...

This is the PHP code for the usersonline for the VB Advanced module: (maybe you can see what to change)

PHP Code:
<div class="blocksubhead">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</div>
<
div class="blockrow vba_spacer">
    <
vb:if condition="$activeusers">
        <
ol class="commalist">{vb:raw activeusers}</ol>
    <
vb:else />
        {
vb:rawphrase no_x_online, {vb:rawphrase members}}
    </
vb:if>
</
div>
<
div class="blockrow">{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</div
Reply With Quote
  #78  
Old 09-11-2010, 09:00 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that's actually the template code, mostly html with vb's own variable system built into it. The actual PHP code is held within the plugins. My plugin alters the activeusers variable which is still being used there as you can see but my pkugin code is not getting executed.

Which to me suggests that the Plugin Hooks that have been used for my Product aren't being implemented here in their code. I did try installing it and taking a bit of a look around. But I didn't really get anywhere and disliked the cmps system lol.

EDIT: I think to get any further with CMPS usage I'd need to get all the vB files on my pc and search for where the plugin hooks (the ones I use) are defined and try and work out why they're not being used in the cmps files. Not doing that today though lol.
Reply With Quote
  #79  
Old 09-11-2010, 09:38 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buurman View Post
Indeed it would, im using vb advanced CMPS on VB 4.0.6.
I have the CMS also, but disabled it, I think it aint that great...

This is the PHP code for the usersonline for the VB Advanced module: (maybe you can see what to change)

PHP Code:
<div class="blocksubhead">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</div>
<
div class="blockrow vba_spacer">
    <
vb:if condition="$activeusers">
        <
ol class="commalist">{vb:raw activeusers}</ol>
    <
vb:else />
        {
vb:rawphrase no_x_online, {vb:rawphrase members}}
    </
vb:if>
</
div>
<
div class="blockrow">{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</div
The code i also know. But it's not that simple. It needs to be hard coded
Reply With Quote
  #80  
Old 09-25-2010, 12:57 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great. Thanks. But I have the following problems. Everything is in one line, and also those extra commas don't look good. Please help.

Attachment 122317
Reply With Quote
  #81  
Old 09-26-2010, 02:35 PM
DeadRabbit DeadRabbit is offline
 
Join Date: Sep 2008
Location: Fortress MU
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cannot find split_online.css
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 05:46 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.11224 seconds
  • Memory Usage 2,384KB
  • 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
  • (1)bbcode_html
  • (2)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
  • (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