Posted on Sunday 17th August 2008 at 01:26 PM
jambomb
jambomb
you mean like


[ONLINE] In green ?

and

[OFFLINE] in red ?

that would be really good
Posted on Sunday 17th August 2008 at 02:43 AM
UrbanTwitch
UrbanTwitch
Hmm can anyone write the script for so it includes on each member page if the user is online?
Posted on Monday 5th May 2008 at 01:12 AM
JakkyD
JakkyD
Cheers man. It worked.
Posted on Monday 5th May 2008 at 12:38 AM
DanielXP
DanielXP
You need to change,

PHP Code
1
include("online.php");


to

PHP Code
1
include("config.php");


and add this tutorial online.php code into config.php
Posted on Monday 5th May 2008 at 12:31 AM
JakkyD
JakkyD
Code

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/tuts/public_html/whoisonline.php on line 3

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/tuts/public_html/whoisonline.php on line 3

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tuts/public_html/whoisonline.php on line 4
No Users Online!


Help? :P
Posted on Friday 18th April 2008 at 02:15 PM
schorsch
schorsch
Anyone can modify the code so that it not only provides for those who are online but also on what page the user is he aug login.php appears the login and if it is based on the forum.php is then displayed eg forum also schorsch the user schorsch in unterweg forum?

Can someone make?
Posted on Tuesday 8th April 2008 at 05:41 PM
Dalez
Dalez
Works fine!
Thanks for this. But how would you show how many users are online, not just the users names?
Posted on Monday 4th February 2008 at 10:04 PM
new2old
new2old
oops add include "online.php";

in the config file lol

getting mixed up with my forum lol
Posted on Sunday 3rd February 2008 at 10:29 PM
new2old
new2old
just add

include/online.php

in config file..
Posted on Thursday 23rd August 2007 at 05:28 PM
Phoenixx
Phoenixx
you must include the config file and it will work, but then it will mess up all other config included files. Too much work for me for editing all my pages XD