![]() |
How to display online users/guests on cms homepage?
I'm using vb 4.2 and would like to display the amount of online users/guest in a cms article on the cms home. My forum is closed for guest users so they can't view it there. How can i accomplish this?
|
Not positive it would work, but at the very least you would need to grab that bit of code from the bottom of the ForumHome Template and plug it into a template in the CMS depending on where you wanted it to appear. Keep in mind that it adds an extra call on the database which will slow loading times.
Code:
<vb:if condition="$show['guest']"> AActually in looking at it further, you'd probably have to include the hook as well Code:
{vb:raw template_hook.forumhome_wgo_pos1} |
Great, thank you Budget101 i'm going to fiddle with your tip. If it works i let you and everybody know if if worked or not.
|
All times are GMT. The time now is 10:50 AM. |
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:
|