Is there a way to have who's online display just one specific section, like:
Hello username, there are x amount of people in the forums and x amount of people in the chat room ? or x amount of people reading such and such topic? I know that the general screen gives you the breakdown of where they are, but I need to display for just one specific action, not all.
Now Im not sure of the variables used off the top off my head on the online.cgi script, but it cant be that hard. You would basically just increment a counter variable each time a user was found in a specific location. example
If ($Where eq "Forum Listing") { $ForumListing++; }
then after thats all done just print out the variables you want.
Not really there should already be code in online.cgi that checks whether they are still active, there should be no reason you cant work out how its done and duplicate it for your needs.
ROFL, sorry. It could be done with a basic knowledge of perl. I could possibly help you out buy Im quite busy at the moment. Maybe someone else will be kind enough to give you a hand.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.