![]() |
Refresh Limit
When a member with the same IP refreshes the page, the "Views" increases.
How do I stop this so that when the same member refreshes the page, the "Views" will not increase. Only increases when another member watches the page for the first time. |
This will put a big burden on your database so I'd say forget it.
To ignore same members' view you have to first save all views in your database so that you can check a view if it exist or not before incrementing the count. Even in a small board attempting to keep the records of all thread views would take way a lot of database space, let alone increasing MYSQL activities. |
vbulletin.com and vbulletin.org has this feature, right?
|
vB.com uses a cron job to update the views each hour. Not sure if thats hacked in here or not.
|
Ahh cron job. I have that option or feature in my host but I have no idea where to use it on.
Before I search on google, how do I set the cron job so that it would do the same as vb.com and vb.org (where the "views" would not go up when the same user views the thread)? |
If your running vB3 then this is an option, if your using vB2 then you can try this hack: http://www.vbulletin.org/hacks/index...ack&hackid=574
|
ahh thank you. Exactly what I needed.
Hacks Database is hard to find on the forum category. |
All times are GMT. The time now is 07:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|