vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Separate Staff In User's Online (https://vborg.vbsupport.ru/showthread.php?t=139357)

Gio~Logist 02-13-2007 10:00 PM

Separate Staff In User's Online
 

Brought to you by:
DopeGFX
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------
In Conjunction With
SiteResort


**Copyright**
This script cannot be redistributed, reproduced, or published in any way unless given permission my the author (me). Modifying this script and sharing your modification elsewhere without the author's knowledge is not allowed as well.

**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release.

What does this do?
This hack separates users from staff in the forumhome who's online list.


What features does this hack provide?
  • Separate users from staff
  • Turn on/off

What does this hack require?
Products Imported: 1

[high]2 Easy Steps[/high]
Step 1. Import the following product: product-online_staff_separate.xml
Step 4. Enjoy the hack.

Don't forget to click INSTALL

[high]As always, feel free to make a donation to:[/high]
gio@dopegfx.com

Gio~Logist 02-14-2007 01:40 AM

As requested here:
https://vborg.vbsupport.ru/showthread.php?t=138960

Screenshots are pretty much just like the ones there. However, i may put some here too.

Cyricx 02-14-2007 02:09 AM

Possible improvement?

Instead of hardcoding the usergroup ids, if it went off of a setting assigned in the usergroup manager that would be ideal :)

For example, you would edit a usergroup and it would have the radio there of:

Display this group as staff on Who's Online? Yes No



Great work nonetheless :), I'll definately install :)

Gio~Logist 02-14-2007 02:19 AM

Hm, if it's going to be done via an option, wouldn't it be better as a setting where usergroupid's are listed by commas ;)?

TheBlackPoet 02-14-2007 02:33 AM

href="member.php?u=1" rel="nofollow"> im getting this bit of code before the first staff member icon...

Gio~Logist 02-14-2007 02:37 AM

Hm. Try changing the following in the "Separate Staff In User's Online" plugin:

Find:
PHP Code:

substr($activeusers_staff2); 

Replace with:
PHP Code:

substr($activeusers_staff1); 

Do the same for the code that looks like that but with _members as well. See if that works.

Surviver 02-14-2007 04:03 AM

Such a Hack is already aviable here: https://vborg.vbsupport.ru/showthread.php?t=135771 (With some more Features ;))

Gio~Logist 02-14-2007 04:22 AM

Hm, didn't know there's a hack out, assuming that one does the same as this. Just did this as a request.

Surviver 02-14-2007 04:33 AM

Quote:

Originally Posted by gio~logist (Post 1182069)
Hm, didn't know there's a hack out, assuming that one does the same as this. Just did this as a request.

I only asked ;)

StrifeX 02-14-2007 06:20 AM

Quote:

Originally Posted by Surviver (Post 1182064)
Such a Hack is already aviable here: https://vborg.vbsupport.ru/showthread.php?t=135771 (With some more Features ;))

I was about to point that out Surviver lol

Good job to the both of you, but I'd have to give Surviver more credit for his features and for his coming first.


All times are GMT. The time now is 02:14 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.01225 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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