vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Refresh Limit (https://vborg.vbsupport.ru/showthread.php?t=55384)

Cal Poly Forum 07-18-2003 05:52 AM

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.

Logician 07-19-2003 12:01 PM

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.

Cal Poly Forum 07-19-2003 05:44 PM

vbulletin.com and vbulletin.org has this feature, right?

NTLDR 07-19-2003 06:16 PM

vB.com uses a cron job to update the views each hour. Not sure if thats hacked in here or not.

Cal Poly Forum 07-19-2003 07:26 PM

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)?

NTLDR 07-19-2003 08:00 PM

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

Cal Poly Forum 07-19-2003 08:21 PM

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
  • Page Generation 0.01076 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete