Topic: PUN_QUIET_VISIT How's it work?

PUN_QUIET_VISIT

Could someone explain to me exactly how this variable works.

I am using punbb as the shell to a site:  mysite.com
My forums live in mysite.com/forum/

I've pulled the "who's online code" to an external page outside of the forum: mysite.com/whosonline.php

All I want is any visit on any page of my site regardless if it's in the forum or on a page in the root directory to keep the status of who's online.

Should I have PUN_QUIET_VISIT on or off for pages outside of my forum? Would visit to these pages still get registered to my who's online page if I do this?

2 (edited by liquidat0r 2008-01-29 18:38)

Re: PUN_QUIET_VISIT How's it work?

PUN_QUIET_VISIT, prevents PunBB from updating the current user's last visit data in the database so that a visit to the front page doesn't count as a visit in the forums.

http://punbb.org/docs/dev.html

You may find this useful: http://www.punres.org/files.php?pid=65

3 (edited by Mark 2008-01-29 18:37)

Re: PUN_QUIET_VISIT How's it work?

PUN_QUIET_VISIT, prevents PunBB from updating the current user's last visit data in the database so that a visit to the front page doesn't count as a visit in the forums

lol im to slow ^_^

Re: PUN_QUIET_VISIT How's it work?

I've read that info before and it's not totally clear to me.

"current user's last visit data" - I'm guessing this count towards the users online status? is there any other feature tied to the last visit data?

As my post says, I do want visits on all pages to count towards the online status so I DO NOT use PUN_QUIET_VISIT correct?

5

Re: PUN_QUIET_VISIT How's it work?

mixart wrote:

so I DO NOT use PUN_QUIET_VISIT

mixart wrote:

correct?

Re: PUN_QUIET_VISIT How's it work?

Thanks Mark smile

Re: PUN_QUIET_VISIT How's it work?

Indeed, you only use it when you don't want the page to update the online table.