News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SSI and users online...

Started by Cypher7, July 02, 2004, 06:29:13 AM

Previous topic - Next topic

Cypher7

I now have some SSI on my home page... which includes a guest/member welcome line, list of recent topics, and recent topics with some of the message....

if someone visits my site (not the forum), does the users online include that user, because they are looking at posts etc?

Just curious!!?

Alisha

yes, once they load the SSI.PHP I think it catches it! I can see guests on the Forum that are on the index html page!


Cypher7

I see...!

so how do you know that they are viewing the site and not the forum in the online list? What is their 'action'!?

Alisha

I didn't go that far into it! I just used another computer that wasn't logged. Then I confirmed it by checking my phlogger stats. I guess the SSI reads the cookies.. This is how when you use the menu script like I do, it shows Guest Menu, Member Menu or Admin menu.


Ben_S

People viewing your site are not logged as online unless you use the ssi function <?php ssi_logOnline(); ?>.

This is the same as <?php ssi_whosOnline(); ?>, apart from it logs them as online too. The action displayed will be unknown action, though you can add to the actions fairly easilly, theres a few posts floating around if you do a search.
Liverpool FC Forum with 14 million+ posts.

Alisha

ok, so back to another n00b question. What exactly would be the search string. Not really sure what this operation, variable would be called?

[Unknown]

Maybe add actions online?  Or something like that?

-[Unknown]

Advertisement: