![]() |
Hide "Users online box for guests"
Hi.
I was wondering... How do i make the users online box invisible for guests, but visible to logged in users Any ideas? |
You will have to add a conditional on the box in the FORUMHOME template. The code for the "What's Going On" box is commented, and should be easily found, you justneedto add this around the bit around users online.
Code:
<if condition="$show['member']">CODE HERE</if> |
Done.
Thanks a lot :D |
Thanks a lot :)
|
Um... couldn't you just go to ACP -> Usergroups -> Usergroup Manager -> Edit Guests -> Can View Who's Online -> No.
Wouldn't that be easier? Or is this something different? |
Hi,
I have a related problem which I believe is related to the FORUMHOME template. Basically, the 'What's Going On?' box including Currently Active Users isn't viewable by guests until they log in. Yes, the usergroup setting and vb option are enabled, so I suspect its a template issue. The template is below and any help that someone can offer would be greatly appreciated. Code:
$stylevar[htmldoctype] |
Quote:
guests will still see the box but when they click on "currently active users" link they will be asked to login. So "Dismounted" solution above Code:
<if condition="$show['member']">CODE HERE</if> |
Quote:
|
All times are GMT. The time now is 02:45 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:
|