The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to enable/disable "active members"?
How can I enable/disable "active members"?
At times, I would want to check how many active members I have on the site and for that I would turn it on for a second then disable it again as I don't want to keep the forum displaying this. Google search led me to https://vborg.vbsupport.ru/showthread.php?t=240634 but it doesn't seem like something that I can do with ease any time I want. So is there any other easier way? |
#2
|
|||
|
|||
Mabe you can find the code in the template and surround it with
Code:
<vb:if condition="is_member_of($bbuserinfo, 6"> ... </vb:if> |
#3
|
||||
|
||||
Go to ACP --> Plugins & Products --> Download / Upload Plugins, scroll to the bottom till you see this block, Import Plugin Definitions XML File then import the attached plugin.
Now when you want to turn it off or on, go to ACP --> Plugins & Products --> Plugin Manager, and toggle the active status On/Off for the plugin titled Active Members. |
Благодарность от: | ||
XYZ500 |
#4
|
|||
|
|||
Quote:
Please see the screenshot. http://prntscr.com/5cec4v How can I enable/disable this when I want? |
#5
|
||||
|
||||
Ok I'll take a look when I get home from work.
|
#6
|
||||
|
||||
Edit AdminCP > Settings > options> Forumhome options and uncheck "Show total number of active members"
. |
2 благодарности(ей) от: | ||
ozzy47, puertoblack2003 |
#7
|
||||
|
||||
Yes, that will most certainly do it.
|
#8
|
|||
|
|||
Quote:
So I'm guess either this function in my board is broken or it starts counting active members AFTER this option is enabled. Can you confirm if it is the latter? The reason why I wanted this option enabled/disabled whenever I want is to check the number of active users I have. But if it starts counting after the option is enabled then this is of no use to me because I don't plan to keep this enabled. Is there any other way I can find out the number of active users in past day or 3 days or so, without showing it to the visitors? |
#9
|
|||
|
|||
Edit the FORUMHOME template.
Find: Code:
<vb:if condition="$show['activemembers']"> <dt>{vb:rawphrase active_members}</dt> <dd>{vb:raw activemembers}</dd> </vb:if> Code:
<!-- BEGIN hide active members from all but admin --> <vb:if condition="is_member_of($bbuserinfo, 6)"> <vb:if condition="$show['activemembers']"> <dt>{vb:rawphrase active_members}</dt> <dd>{vb:raw activemembers}</dd> </vb:if> </vb:if> <!-- END hide active members from all but admin --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|