The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Forum Home "Who's Online" viewable only to moderators
Our "Who's Online" block is something we'd like to limit to moderator/admin users only. There is probably a conditional I could wrap it in, but I don't yet know which template to hack in vB3.0.3 to accomplish this (I'm thinking "FORUMHOME"), or which conditional I should use (although I know it should check for "member of group ___").
Basically, I just want a handful of usergroups to be able to view this, such as super moderators, admins, super admins and the site owner (who has his own 'group'). Searched here, browsed for awhile, but nothing really clicked as being appropriate. |
#2
|
||||
|
||||
It's defined in the usergroups. Usergroups > Usergroup Manager > (select group) > Edit Usergroup > Who's Online Permissions
|
#3
|
||||
|
||||
Oh crud...how the heck did I miss that one??
Thanks Eric. Now I've got a few groups to go through and change permissions on. |
#4
|
||||
|
||||
I know what you mean, after using other boards and moving to VB I was like :surprised: I couldn't believe all the default options that they have. This board is fantastic both from a users and an admins perspective.
|
#5
|
||||
|
||||
Hold on...does this option turn off the "Who's Online" throughout the whole forum, or just on the forum home page? I only want it turned off on the home page.
Sorry, wasn't clear enough there. I wish there was a different way to choose what displays on the home page, selectable by user group perhaps... I hear ya, too--I admin other forums using other forum systems. Trying to remember all the different options is hair-pulling time! |
#6
|
||||
|
||||
Do you mean for who's viewing the forum etc.? I am not sure about that one but the "who's online" only displays on the forumhome by default.
|
#7
|
||||
|
||||
OK, I'll clarify. Under "What's Going On", we have the "Currently Active Users" block--this is the one I'd like to turn off, mainly to eliminate the resource usage to generate it. (So this may be more than a template change, I'm thinking now.) Users can still use the separate "Who's Online" page to view who's on, plus, I still would like to keep active users displayed in the threads and forums.
|
#8
|
|||
|
|||
What part of the "Currently Active Users" is the resource hog? Is there a way to limit the resources used by this module?
:-jon |
#9
|
||||
|
||||
The way I understand it is that the longer you have the online time set for, say 60 minutes instead of 10 makes it easier on the system and requires less resouces. RedWingFan, what about just pulling that variable out of the "What's going on" section of your FORUMHOME template?
|
#10
|
||||
|
||||
Quote:
IF member_of_groups(mods, admins) { make database calls to populate $variable } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|