Simple Machines Community Forum

General Community => Scripting Help => Topic started by: jeddi on November 07, 2007, 04:20:09 PM

Title: Guest?
Post by: jeddi on November 07, 2007, 04:20:09 PM
I wondered if someone would be able to help me on this weird question.
What code goes on a page that will let you know a Guest is browsing that page. Wondered if it would be possible to add this function to my website. I dont mean using SSI to get this info from the forum no!
If a person is viewing my index.php of my site I'd like to know and how this can be coded.
Thanks
Title: Re: Guest?
Post by: Rumbaar on November 08, 2007, 11:16:51 PM
You can click the Who's Online now link in your Index page and it will tell you what the guests are doing.
Title: Re: Guest?
Post by: jeddi on November 09, 2007, 05:47:53 AM
Rumbaar I clicked the Who's Online now' link on the forum and got this:
Unable to load the 'Who' template'.
I'm not sure I understand though what you are saying. My website is not integrated with my forum...only using ssi to put info on my website. Why would clicking on 'Who's Online now' show if someone is viewing a page of my website...I dont understand.

Do you mean, put a Who's on line link on the website page using ssi,
<?php ssi_whosOnline(); ?>.....lost!
Title: Re: Guest?
Post by: Rumbaar on November 09, 2007, 08:20:06 AM
Oh you meant outside of your SMF forum?  As this site is primarily SMF based I assumed when you referenced index.php you meant for your forum.
Title: Re: Guest?
Post by: jeddi on November 09, 2007, 08:46:36 AM
Correct! I was wondering if this was possible to implement on my website.