![]() |
[HowTo] Categorize Who's Online on Forumhome
HACK: [HowTo] Categorize Who's Online on Forumhome
BY: KuraFire [www.kurafire.com] REQUESTED BY: Xiphoid [www.creations.nl] DESCRIPTION: Divide the active users bit on Forumhome into a Staff: section and Members: section DIFFICULTY: Easy INSTALL-TIME: 5 minutes Xiphoid asked for a categorization on forumhome (Staff / Members) for vB 3, but since it's such an easy thing I decided not to wait for vB 3 but just make the hack myself :) Kudos to xiphoid for a good idea :) EXAMPLE HERE: click here for an example of this hack Warning / note: The || and && operators in original vB code I put in the instructions here that you need to search on MIGHT BE "or" and "and" in your version. Keep that in mind if you can't find the code! Note: I wrote this on my own board which is currently still version 2.2.5, it might well work on any version above that but that is not yet tested or confirmed! (nor for versions below) INSTRUCTIONS ARE IN THE ATTACHMENT :) If something did not work right, you did not follow the instructions properly :) Enjoy! :) |
Damn Cool!! Thanks KuraFire!!
Install this right now!! :) |
looks nice :)
also can you please delete the instructions from your post and just put it in the textfile, so unlicenced users can't get it? |
hmkay...
|
Is it possible to adapt this for the WOL page proper?
|
Excellent hack. Thanks! :)
My second instance that you said to comment out of this code has a comma in it. Do we need to put a comma back in the line above it or anything? Code:
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";"); |
Quote:
The comma's between usernames are added with the implode() function that I call at the end of the hack part. You should not have any comma's (string-comma's, not code-related ones) in your code anymore.... Quote:
Quote:
That's possible but that can't be done with this hack, I'd have to write a whole different kind of hack for that. The WOL page works quite a bit differently, more complex and all..... |
Thanks for the quick response. :) It's hard to tell if the Staff shows up since I will see it as the Admin even for invisible staff. I'll check with someone on line at the time and see if they can see it. I'll let you know what I find out. :)
Thanks again for a very useful hack. :) |
I could check it out for you right now if you've installed the hack on your live board already... :)
|
Ok, great. I'm there now. Do you need the URL? It is in my profile unless you want it here. :)
|
All times are GMT. The time now is 03:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|