I am trying to do something that probably seems ridiculously simple to a lot of people but here goes.
I have quite a few mods on our forum and have just added a stand alone chat room. What I want to know is how can I use the variable from peolist.asp called 'totalusers' in the page inc_active_users.asp so that it shows the correct number of users in chat room on the front page?
Do I need to include the file somehow before the variable will work in a different page?
It depends on how the variable. Do you know if the variable is stored in a session? If its not, then you would need to include the file to use the variable, otherwise you could just write out the session contents on any page.
lol, that means very little to me I'm afraid. Here are links to .txt versions of the files in question. I have commented where I think the changes need to be done.