I just wanted to say thanks for this article, I have added this to my site so a non-VB page shows up on who's on-line. The other articles I found were a bit out of date.
Just to clarify (as it confused me a bit to start with) to get a non-VB page to show on your on-line list, do the very first step as shown (cut and paste that code into the top of your file), but remove the VBA_ bits if you don't have VB Advance plugged in. In that case also remove the require_once('./includes/vba_cmps_include_template.php'); line too.
Then jump to step 3 to do the plugin bits, changing the code as required so it matches your filename.
Ideally you need to do this with two PC's running so you can log into the on-line list as a guest, to see yourself on the page. Otherwise when you access your non-VB page (remember to refresh it!) then go to who's on-line, it will show you as browsing who's on-line.
Anyway thanks again to the OP and other people who posted here.
PS. Working for me on 3.8.4
|