View Full Version : "users browsing this forum" ????
trilOByte
07-10-2002, 05:45 PM
Like the subject says, does anyone know how I can make "(Users Browsing this Forum: ******) show up in a table on forum home?
I mean I want to show useres browsing forum XXX (a specific forum) show up on forum home (index.php or whatever).
Thanks.
Xenon
07-10-2002, 09:17 PM
you have to make another template called browsing_forum_bit or however you want it, than save the infos form that in a varible (as it is made for forumbits) and then put it on forumhome
trilOByte
07-10-2002, 09:49 PM
Thanks, that helps a little. I know this should be straightforward, but I'm really struggling with it. :(
Xenon
07-10-2002, 09:58 PM
normally you could use the forumdisplaybitlevel2post as original template for the browsing bit template
then just open index.php find
eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
then just add below something like this:
if($depth==2 && $tempext="post") eval("\$browsingbits .= \"".gettemplate("browsebit")."\";");
then use $browsingbits in your forumhome template
normally this should work when you change the templates as you like (you have to implement the # of users browsing hack also)
* Xenon is tired and will go to bed, he hopes everything posted is right ;)
trilOByte
07-10-2002, 10:14 PM
Thanks Xenon. I'll give it a go :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.