PDA

View Full Version : Forum Home Enhancements - Separate Staff In User's Online


Gio~Logist
02-13-2007, 10:00 PM
Brought to you by:
DopeGFX (http://www.dopegfx.com)
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------
In Conjunction With
SiteResort (http://www.siteresort.com)


**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. [/URL]

**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

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

Don't forget to click [URL="https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=139357"]INSTALL (http://www.siteresort.com/)

As always, feel free to make a donation to:
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:
substr($activeusers_staff, 2);

Replace with:
substr($activeusers_staff, 1);

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

Atakan KOC
02-14-2007, 06:42 AM
Thanks. Installed.

https://vborg.vbsupport.ru/external/2007/03/6.jpg

Gio~Logist
02-14-2007, 07:03 AM
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.

Yea, i wasn't to concerned about features. Just wanted to make sure it did as requested. But yea, congrats to him as well for what looks like another nice modification.

D.Ilyin
02-14-2007, 07:37 AM
this hack better IMHO.
It doesn't need template changes. And it critical for me. Couse i have custom template and updates of vB very difficult when u have many hacks with template changes.
/installed

Gio~Logist
02-14-2007, 11:50 AM
Yea, that's what i aimed for was no template changes. Eventually i may just add more features to this, still no template changes needed. Hopefully i'll get around to it soon ;)

Mindwarp
02-14-2007, 05:39 PM
href="member.php?u=1" rel="nofollow"> im getting this bit of code before the first staff member icon...



yeah same here

href="member.php?u=2505" rel="nofollow">

SCRIPT3R
02-14-2007, 05:48 PM
**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.
LOL, ok...

puertoblack2003
02-14-2007, 07:05 PM
Hm. Try changing the following in the "Separate Staff In User's Online" plugin:

Find:
substr($activeusers_staff, 2);

Replace with:
substr($activeusers_staff, 1);

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

ok at first it didn't work but i unistalled product and then i reinstalled it again and that error message went away but now i had created a assist admin as a staff member prior before installing hack and it is showing under member shouldn't that be with staff? :confused:

actually i take that back some how when i refesh the screen ,this is the error message different form the others Members: href="member.php?u=9994" rel="nofollow"> so i changed that that script in plugin now it appears that they are under invisible mode..lol

John1uk
02-14-2007, 08:41 PM
installed hack... but got the same errors as others did.....so instead of making any changes i uninstalled it...now my forum show this error

Most users ever online was 121, 21-10-2006 at 05:00 PM.
Staff: ref="member.php?u=1" rel="nofollow">Webmaster, Andy-C, Cornelius+
Members: href="member.php?u=119" rel="nofollow">BigCol, shaggy1973

how can i remedy this please... bearing in mind the changes that someone said have not been done, as i wouldn't know where to start.

Gio~Logist
02-15-2007, 12:13 AM
Hm. Why isn't this happening to me.. Try just taking these two lines (individually) out of the plugin:

substr($activeusers_staff, 2);

substr($activeusers_members, 2);

Deadly Assassin
02-18-2007, 05:38 AM
Ace thanks.
http://www.game-image.com/uploads/405a6a4cf9.jpg

MarcusTangh
02-18-2007, 06:12 PM
Okay, it worked alright I suppose.
But I'm having this problem here, when I look at "Who's online" I see this:
Staff: ember.php?u=2606" rel="nofollow">The Midnighter, Azurith*, GTX*, Ryu, Takushi Rena*, Ultima Keyblade

As you can see, something is wrong with the code here.

Gio~Logist
02-20-2007, 04:11 AM
Okay, it worked alright I suppose.
But I'm having this problem here, when I look at "Who's online" I see this:
Staff: ember.php?u=2606" rel="nofollow">The Midnighter, Azurith*, GTX*, Ryu, Takushi Rena*, Ultima Keyblade

As you can see, something is wrong with the code here.

This happens to a lot of people, and then to a lot it doesn't. Try doing one of the following:

Edit the plugin and change this (each line is found in different instances):
substr($activeusers_staff, 2);


substr($activeusers_members, 2);

To this:
substr($activeusers_staff, 1);


substr($activeusers_members, 1);

Or try the same, but changing it to 0, or deleting both lines.

rjmjr69
04-09-2007, 06:52 PM
I have this issue out of no where now myself it worked fine for two days then today I look and its like this


https://vborg.vbsupport.ru/external/2007/04/17.jpg

I'll try the fix see what happens


Changing it to 1 works just fine now. Thank you for this. Great work I love it.

sateurope
06-25-2007, 07:16 AM
:(I keep having this message in who's online

Staff: !-- BEGIN TEMPLATE: forumhome_loggedinuser --> Staf usernames

under_takers
06-27-2007, 08:53 PM
This happens to a lot of people, and then to a lot it doesn't. Try doing one of the following:

Edit the plugin and change this (each line is found in different instances):
substr($activeusers_staff, 2);


substr($activeusers_members, 2);

To this:
substr($activeusers_staff, 1);


substr($activeusers_members, 1);

Or try the same, but changing it to 0, or deleting both lines.

Thnx for this editing , bro Gio, it work fine, installed :D

3Dx
06-27-2007, 09:47 PM
hey yeah works well for us nice one bud

Bigblah
06-28-2007, 06:13 PM
Just move these lines:


$activeusers_staff = substr($activeusers_staff, 2);
$activeusers_members = substr($activeusers_members, 2);

to the forumhome_complete hook location. That'll solve the problem.

WarLion
09-06-2007, 03:27 AM
thanks for this hack work like a charm
i also make and addon for vbadvance user
you ca see here
https://vborg.vbsupport.ru/showthread.php?t=157131

princeedward
09-07-2007, 09:17 AM
great and nice mod...thanks for this...work like a charm to my vb3.6.8.

69533

best regards..

:)

toliyo
09-18-2007, 07:19 AM
i have this problem

-- BEGIN TEMPLATE: forumhome_loggedinuser -->user ID

yoyoyoyo
09-18-2007, 09:34 AM
it would be nice to see an update to this with the changes mentioned

sybakaos
09-18-2007, 09:45 PM
Hm. Try changing the following in the "Separate Staff In User's Online" plugin:

Find:
substr($activeusers_staff, 2);

Replace with:
substr($activeusers_staff, 1);

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

If you like me have other usergroups with admin permissions, you will have to add those as well to get tid of that error. For example, Manager usergroup at my forum has admin privileges, so I had to add:
OR $loggedin['usergroupid'] == '55'

SmileyR
05-02-2008, 08:20 PM
This works on VB 3.7 thanks ;)

pooffck1
07-10-2008, 02:19 PM
Ok i got a problem, when i go to FORUM HOME thing under options it tells me which usergroup i should choose for TEAM and when i pick the ones and go to save it unselects all of them in every save i make and the mod doesnt work.
:S help please

Cloverfield
10-21-2008, 05:12 PM
Umm, how do a set usergroups as 'staff' as I just made someone a mod of a certain section but he isn't being shown in the staff bit, only the members bit.

Karm4
11-04-2009, 02:41 PM
Does anyone know if this works with 3.8.4?

Karm4
02-22-2010, 10:41 AM
Does anyone know if this works with 3.8.4?

Yeah does anyone know if this works for 3.8.4?

korgkurzweil
09-15-2010, 10:00 PM
yes working on 3.8.4

make sure follow https://vborg.vbsupport.ru/showpost.php?p=1186511&postcount=22

tinhlt
08-31-2011, 03:58 PM
please convert to vb4
Thanks very much!

Nirjonadda
04-08-2012, 09:53 AM
please update for 4.1.10