vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Can you force content to load (rather than use cached)? (https://vborg.vbsupport.ru/showthread.php?t=58233)

DiscussAnything 10-27-2003 04:19 PM

Can you force content to load (rather than use cached)?
 
This is related to the vb banner control hack: https://vborg.vbsupport.ru/showpost....&postcount=142

Currently the rotating banners show up randomly for every template they're in, the first time it's retrieved. After that, on every other page that uses those templates, they come up right away and don't rotate anymore. Seems like it's cached and that the query doesnt happen. Is there any way to force the banners to rotate, instead of being cached? Coz now on showthread, a single banner shows up on every single thread. You have to refresh the browser to have it resubmit the request, and come up with a different banner. I also think that when it comes up as a cached banner, it doesnt count the view :ermm:

any recommendations? thanks!

digital vettes 11-21-2003 08:46 PM

I look forward to seeing replies to this...

g-force2k2 11-21-2003 10:39 PM

You should probably ask this in the actual hack support thread since it is related to it.

Personally I would choose to use javascript to rotate the banner of if using php its probably something to do with the php code and I haven't actually looked at the hack, but I would use the random function.

Regards,
g-force2k2


All times are GMT. The time now is 10:13 PM.

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.00965 seconds
  • Memory Usage 1,712KB
  • 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
  • (3)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