MyBB Community Forums

Full Version: Who's Online on non-MyBB page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there a way to update the Who's Online status to reflect my visitors that are on one of my non-MyBB pages? Insert a script at the top of the non-MyBB page?

Thanks in advance.
WOL in MyBB works off the sessions table so you need to add code to include global.php so your user's credentials are included and then write a plugin to track the new pages you are on.

i will post up something in a little bit that I am using for one of my sites
That would be great. Thank you.
Are you any good at PHP? Making a tutorial on this is more complicated than I remember as it is highly dependent on the content of you extra pages and if they take pagination, or other URI parameters
Not too bad at it. If you gave me the highlights I think I can get 'er done.
if I attach a plugin I already use, think you can follow it? WOL is one of the more complex functionalities in MyBB
I think I'd be ok. I would appreciate it.
Give it a shot and if you need more help, post up. i did snip out unimportant stuff for me own protection (this is the base for another plugin I am starting)
Thank you.
I built a tutorial as well click here
Pages: 1 2