PDA

View Full Version : Users Online....


thickandthin
10-05-2002, 05:58 PM
Hi everyone I have a Forum, and it says how many users and guests are on, I like that and I want to put it on my main page how do I do that?

MCookie
10-05-2002, 08:56 PM
Hi,
maybe this one?
http://www.widexl.com/scripts/visitors-online/index.html (not free)

<edit>Wrong URL<edit>

jtr
10-06-2002, 04:34 AM
http://www1.addfreestats.com/inlive.html

ionsurge
10-06-2002, 05:50 PM
There was this .php one that I saw somewhere - that was pretty kewl.

whackaxe
10-06-2002, 06:59 PM
a php script? that is quite an interesting idea, it would need some client side scripting and would have lots of problems tho with the coming and going

thickandthin
10-06-2002, 07:16 PM
Ok this is what I mean, this is my forum Forum (http://users.boardnation.com/~vcsource/index.php), scroll down to the bottom it says how many users, and which users are online, how do I get that to go on my site, Vice City Source (http://www.vcsource.tk/)?

Galdo
10-06-2002, 08:57 PM
If your forum was hosted on the same web space as your site and you had installed it yourself then you could probably copy the code the forum uses which selects it from a database i expect. However i see your forum is hosted elsewhere so this isn't really a possibility.

Does your host support any server side languages? If it doesn't then you probably won't be able to do it.

Nightfire
10-07-2002, 12:44 AM
No way you can do it on a geo's host.

ionsurge
10-07-2002, 06:21 AM
Originally posted by whackaxe
a php script? that is quite an interesting idea, it would need some client side scripting and would have lots of problems tho with the coming and going

I found it - I have attached the img of it.

thickandthin
10-07-2002, 07:43 PM
but how do you do it?

ionsurge
10-07-2002, 08:20 PM
I dont know, but it is something that I now want to do too. Its great...

Spookster
10-07-2002, 08:28 PM
Originally posted by thickandthin
but how do you do it?

The simple answer is you probably can't.

The forum uses a database to keep track of who is online. To have that on the front page of your site you would need to be able to pull that data from the database. Unless your forum host will allow you to connect to the forum database from another server then you are out of luck. If they do allow it then you will need to go through the source code of the forum where it pulls that data of who is online then put that on your website homepage and set up the necessary database connections. Obviously you would need a server-side language capability on your host where your web site is at.

I believe this was pretty much explained already in a previous post.