SMF Support > SMF 2.0.x Support
Who's Online does not count guest/members on external pages
spottedhog:
I have Who's Online displaying on external pages, however, it does not count members or guests who are on external pages. Each external page includes SSI.php as the pages are using the SMF themes and $context variable for each page.
http://tpsites.us
... is one example.
Ideas?
thanks in advance...
Arantor:
Use ssi_whosOnline() to update the online count in your external pages.
It won't be able to properly identify what they are doing.
spottedhog:
thanks for your reply Arantor...
I am using ssi_whosOnline(), well, I made a modification of it by removing the actual names of who are online for use in the Forum Stats block. However, it is the straight unvarnished ssi_whosOnline() at the bottom of each external page.
If a member has been to the Forums, it will list their name for I think 15 minutes, then it may change to Guest. Also, if I, the admin on these sites, go onto a website, it may show: 0 Guests, 0 Members.
I guess what it is doing is, whosonline will not count someone until they have first been to the Forums.
Arantor:
Did you try ssi_logOnline()?
spottedhog:
whoa!!! That function got sneaked right into SSI.php and I did not see it.
I will try that.
thanks!
(:) methinks you bother because it challenges you to know the answer to everything... ;))
Navigation
[0] Message Index
[#] Next page
Go to full version