Hi Everyone.
This isn't really a hack, but a small modification to a previously released hack.
Homeonline hack allows you to list users who are browsing your board,
as well as users who are at the Main Page of your website
right on the main page through SSI.
(People visiting the Main Page of the website also
show up in the "Who's Online" section.)
I went just a little further to be able to track
visitors who are at any section of my website
(Calendar, Picture Gallery, About Us, anything..),
so they show up as
Guest #1
Viewing: Calendar.. etc.
You can get the homeonline hack at
http://spawn1973.tripod.com/UBBhacks/homeonline.zip (Curtesy of Spawn, hope he doesn't mind me putting
this link here, he has it posted publically on his site).
Follow the included instructions on getting it to
list visitors from your Main Website Page.
Then, create copies of the
homeonline.cgi files for every section of your website you want to track,
like
online-calendar.cgi,
online-pictures.cgi, so on.
Modify the newly created copies:
Change $thiswebhome to the URL of the section you want to track, i.e.:
Change &WriteUserSession to:
Then , being that you probably don't want the list of online users
to be printed at ever section of your website
go through the code and comment out a few
print statements.
Find:
Replace with:
(commenting some
print statements out, respecting the syntax)
Now place
at the footer of the pages at that particular section.
All those users will also show up at the "Who's Online" section of your UBB.
So in
Ultimate.cgi I changed the caption of
"Currentely Browsing the Board" to "Currentely Browsing the Site"
All done.
Enjoy.