PDA

View Full Version : How to do this?


Mijae
02-27-2003, 02:39 AM
I want to count users online at my main page towards the forum total. What code do I have to add to my site's index.php so visitors there would count towards the total shown on the forum?

Also, I'd like to show in online.php that users are viewing the main page, for example: Viewing invoid.net main page.

This should be rather easy?

Sebastian
02-27-2003, 03:00 AM
what you mean users online with forum total?

you mean combine guest plus members online? I don't understand.

Mijae
02-27-2003, 03:08 AM
No, I want to count the visitors on my non-forum page and how them on online.php

Like if I have 20 people on r00t/index.php they will show up at r00t/forum/index.php or online.php

Sebastian
02-27-2003, 03:22 AM
you can add pages to appear on who is online page by installing a hack Chen made here:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=32849

.. and to show the users online on non-vb page: https://vborg.vbsupport.ru/showthread.php?postid=346045#post346045

Mijae
02-27-2003, 02:48 PM
I want to add files outside of the forum directory, so the first hack doesnt work for me.

The second url you posted doesnt work for me either, it wont read the include file for some reason, no matter what.

I even tried adding all that code into the main php file, but it didnt work either.