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)

Bounce 06-14-2010 07:53 PM

Quote:

Originally Posted by hIBEES (Post 2053661)
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;
        }


consolegaming 06-15-2010 10:47 AM

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_".

Bounce 06-15-2010 08:49 PM

Quote:

Originally Posted by consolegaming (Post 2053954)

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:

BadgerDog 06-16-2010 04:06 AM

1 Attachment(s)
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

Bounce 06-16-2010 06:01 PM

Quote:

Originally Posted by BadgerDog (Post 2054315)
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

BadgerDog 06-16-2010 06:25 PM

Yup .. thanks ... :up:

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

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

Regards,
Badger

consolegaming 06-18-2010 05:47 PM

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.

BadgerDog 06-18-2010 07:54 PM

Thanks for the update .... :)

Appreciate the linefeed addition ...

Regards,
Badger

LilPimp 06-27-2010 04:22 AM

Can you do Staff, Members, and Contributors too?

I don't have enough contributors yet, im just wondering.

consolegaming 06-27-2010 03:22 PM

Sorry? You can call the groups whatever you want. And there is a 'Staff' group already.


All times are GMT. The time now is 04:27 PM.

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.01125 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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