Hello.
I've got a nice little template modification that adds a nice box to the top of forum home that shows user information and some basic forum stats using forumhome_logoutcode. I'm trying to add information about currently logged on users (using $totalonline, $activeusers, and $numberguest). When I insert those VB variables into the logoutcode template, they don't return any values on my forum home page. Obviously, I'm sure the problem lies in the fact that I'm moving the variable from loggedinusers to logoutcode. Is there a way to make them work in this logoutcode template?
I also added it to forumhome_logincode so that if you wish, you may visit my forum home page to see what I'm talking about without having to register. I put three lines at the bottom of the "User Information" box at the top to display the information. What you'll see is this:
Total active users online: ()
Active Users: ()
Number of Guests: ()
It's within the parentheses in the forumhome_logincode that I've inserted the variables $totalonline, $activeusers, and $numberguest.
Can anybody help? Am I going to have to edit index.php and global.php?? I searched and found a couple of threads that were somewhat related, but only one that described moving the $totalonline variable from index.php to global.php. I also have two other variables, so I wasn't sure exactly what to do, and I'm no PHP expert (yet).
I've got a nice little template modification that adds a nice box to the top of forum home that shows user information and some basic forum stats using forumhome_logoutcode. I'm trying to add information about currently logged on users (using $totalonline, $activeusers, and $numberguest). When I insert those VB variables into the logoutcode template, they don't return any values on my forum home page. Obviously, I'm sure the problem lies in the fact that I'm moving the variable from loggedinusers to logoutcode. Is there a way to make them work in this logoutcode template?
I also added it to forumhome_logincode so that if you wish, you may visit my forum home page to see what I'm talking about without having to register. I put three lines at the bottom of the "User Information" box at the top to display the information. What you'll see is this:
Total active users online: ()
Active Users: ()
Number of Guests: ()
It's within the parentheses in the forumhome_logincode that I've inserted the variables $totalonline, $activeusers, and $numberguest.
Can anybody help? Am I going to have to edit index.php and global.php?? I searched and found a couple of threads that were somewhat related, but only one that described moving the $totalonline variable from index.php to global.php. I also have two other variables, so I wasn't sure exactly what to do, and I'm no PHP expert (yet).