Log in

View Full Version : website code to show users


marcopolo
08-01-2008, 03:54 PM
Is there some code I could add to my main website that shows what users are online, rather than having to goto the forum homepage?

Thanks,

Mark

xXLeighXx2008
08-01-2008, 04:53 PM
$totalonline

Dismounted
08-02-2008, 04:54 AM
You will need to replicate the code that creates this in index.php.

@xXLeighXx2008: That variable will only work if it is defined ;).

marcopolo
08-03-2008, 05:44 PM
Would you happen to know which code that is, taking into account my forum is in a sub folder?

Thanks

Dismounted
08-04-2008, 12:20 PM
Would you happen to know which code that is, taking into account my forum is in a sub folder?

Thanks
You will need to replicate the code that creates this in index.php.
;).

marcopolo
08-06-2008, 06:10 AM
I haven't a clue where this is, hence my request for assistance.

I have vBulletin.com closing my thread because they sent me here, having questioned whether it is custom coding and little assistance here so far.:mad:

Dismounted
08-06-2008, 06:39 AM
Open up index.php, and scrolling down, you will see this big comment:
// ### LOGGED IN USERS #################################################

marcopolo
08-06-2008, 07:34 PM
Ok, found that bit, but what part of the code would I need to add to my index.html located in the parent folder?

Thanks