PDA

View Full Version : How can I integrate who's online with a page which I made


irfan72
10-14-2012, 10:52 AM
Hello
Does anyone know on how can i show who's online on a page which i have created on my site.
An example would be, when users come to my forum on index.php, it would show on who's online list,but how can I do that if I want to do it for an other page which would be made by me. Example, page.html or .php, that page.php or .html would not list in who's online if someone is viewing it. How can I make it view able on who's online list.
Please do help
Thank You

--------------- Added 1350217062 at 1350217062 ---------------

I tried https://vborg.vbsupport.ru/showpost.php?p=948000&postcount=25 but didn't work :(

kh99
10-14-2012, 01:09 PM
If the page you created includes (or could include) vbulletin's global.php, then you could write code to get the information from the database (you can probably copy it from wherever it's done in the vbulletin code).

If you don't want your custom page to include vbuleltin's global.php, then you would have to come up with some other way to get the information. The external.php script is one example of how you can get information from vbulletin in to another page using javascript.

Lynne
10-14-2012, 03:38 PM
You say you tried https://vborg.vbsupport.ru/showpost.php?p=948000&postcount=25 but it didn't work. Please post the *exact* code and hooks you used (please put code in php tags) and also include the top 20 lines or so of your custom page along with the URL of it.