PDA

View Full Version : Who's online on non VB pages


GrAfiX
12-05-2001, 10:00 PM
This is an elaboration to the online.php to track users on nonVB pages and show users online...

1. Edit the path to global.php in online1.php


2. include online1.php in your pages
<? include("online1.php"); ?>

This will track all users so now you can find out how many people are on your site... Next hack will be this same hack but will show users logged in and the path to where they are...


On any page that you want to track users on you must either include online1.php or you have to put this at the head of each page

<? require("/path/to/global.php">

changing the path of course...

I've done a lot of hacking to my global.php but this should work right out of the box... If it doesn't leave me a message here and I'll look into it...

The reason I'm posting all these hacks is because people keep asking me how I did that....

DEMO: http://www.thetoybox.net

amykhar
12-06-2001, 04:48 PM
This was already done by tubedog, as was the last active posts on an external page.

People have been using it for months.

Amy

p.s. Your site is showing a parse error for the hack.

GrAfiX
12-06-2001, 04:56 PM
It did it again.. here's the file...

BTW amykhr

His didn't track the users on Non VB pages though...
Also that's not Last xx posts... It's hottest recent topics... Last XX posts that are Hot (have more than xx # of replies)

p.s. Parse error fixed it was uploading at the time...

Hooper
12-08-2001, 05:13 AM
Renaming hacks and changing a few small details doesn't warrant for a new hack post.

If I had created this code, I would have by all means given Kevin "TubeDogg" the credit for the hack and made mention of what I added. Nothing new here.

Syphin
12-08-2001, 07:00 AM
Can somoene help me and tell me how to use this(or tubedoggs) on multiple domains? =/ Ive tried just using the paths(there on the same servers) but i just get errors.. .so any help would be greatly appreceated.. :)

Thnx

-Syphin

tubedogg
12-08-2001, 07:51 AM
After reviewing the code in this hack, I have found it to contain a lot more code from online.php than original code. Given the restriction against posting full files I feel this violates the rules.

I'm going to close this thread and delete the attachment.