Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2000
Posts: 3
Eli
Offline
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 3
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.:
Code
code:

Change &WriteUserSession to:
Code
code:


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:
Code
code:

Replace with:
Code
code:
(commenting some print statements out, respecting the syntax)

Now place
Code
code:
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.

Sponsored Links
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Nice job. One thing though...if you are tracking users at your site, you will get a ton of Guest #1, Guest #2, etc. because not everyone that goes to your site will register at the boards (or maybe they will [Linked Image]).

------------------


-DT
Joined: Oct 2000
Posts: 31
Member
Member
Offline
Joined: Oct 2000
Posts: 31
Can't get this to work with 5.47.
Any thoughts?

BB

------------------
The MyDivX ;-) Forums
http://www.mydivx.com/cgi-bin/Ultimate.cgi

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
In my opinion this would be more efficient if it was made so that there was only one cgi file and the ssi tag was like:

Code
code:

and then modify the cgi so it parses the viewing data. Alot simpler and takes up less server space if you ask me. Just an idea for a future version maybe.

Joined: Oct 2000
Posts: 76
Member
Member
Offline
Joined: Oct 2000
Posts: 76
Didnt I create the same hack and called it the same name awhile ago? [Linked Image]

fix = spelling error

- https://www.ubbdev.com/ubb/Forum3/HTML/000107.html

------------------


Liquid FX Design.com | Ghoste.com | AuctionVilleUSA.com
GamingRC.com | ThrillKillClan.com


This message has been edited by Ghoste on January 10, 2001 at 12:58 AM

Sponsored Links
Joined: Nov 2000
Posts: 467
Code Monkey
Code Monkey
Offline
Joined: Nov 2000
Posts: 467
I am having a problem getting this to show up in whos online in my BB which is where I wanted it to post anyway. I have the exec. in the footer on the page im tracking but here is what displays on the bottom.
Cannot #EXEC 'path/to/cgi/online-this-section.cgi' due to lack of EXECUTE permission. I have read write and execute on these files. this is on a win 2000 server,It is also remote I dont upload. anybody got any ideas. This is in my side menu bar.
website URL www.esteroumc.com
Click on the link above my sig. to go to my board.
GOT IT FIXED I had to remove
.
Everything seems to work without it.
It displays wrong on my homepage.
It takes up to much room.
any Ideas how to get it inline like it displays in whos online
THIS DOES NOT WORK IN WIN 2000 I THINK IT CAN BE ALTERED TO WORK.
It now displays a new frendly message on the bottom of the page and its not a IIS error


Failed to execute script 'path/to/cgi/online-this-section.cgi': Win32 Error Code = 3


------------------
I Got It Fixed Thanks

This message has been edited by speed on January 12, 2001 at 08:22 AM


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)