Ok, If you understand the Who's Online hack you may be able to help me here, I want the variables to work on the file below, but they won't, they HTML will, but the variables won't:
Quote
quote:
HTML HERE! shows up, but the Online Users don't, what am I doing wrong?
[ February 13, 2001: Message edited by: -radiokilla- ]
Taking a stab here, I noticed that the sub declaring online users is in a sub called GetOnlineUsers. The WriteUserSession sub calls it to get who is online and write it to a file, but you may need to call it seperately.
require "ubb_library.pl";
Common mistake is putting the script in a different directory than the one you are calling, requiring you to declare the path to the file (just a stupid solution, since I don't know where you put the script. You would get an error if it couldn't find the sub).
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.