vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   VB Banner Control 1.2 (https://vborg.vbsupport.ru/showthread.php?t=41154)

Dean C 10-17-2003 09:11 AM

Quote:

Originally Posted by Sia Bani
Would this work with VB3 beta 7?

No :)

DiscussAnything 10-27-2003 03:59 PM

Got it running, disregard my post 2 up.

I also did the modification that rotates the banner. Works fine but I noticed that the browser doesn't refresh the banners very well. If you load the first time on a showthread template for instance, all the other threads you view afterwards show the same banner. Until you refresh the browser. Is this a browser caching issue or can something be done to force the page to request a new banner? Do views get counted if its cached like this?

thx :)

Greivog 03-10-2004 11:13 AM

Is there any way to make this a random banner script.

I have several banners i want to show randomally in the "header" template

Anyone tell me how to do this?

Cheers

Paul

SKerr 08-29-2004 09:50 PM

I have ported KarateKid's banner mod to vBulletin 3.0.3 if anyone is interested..

I haven't done the userreport.php file yet, but I've got all the admin stuff done and it's working good on the site I'm administering. It was actually fairly easy to do - kudos to the vBulletin crew for writing a fairly decent API...

Speaking of which, is there any developer manual floating around for vB? Sure I've got the source, but it'd be nice to have a little philosophy behind the functions as well..

Thanks,
Steve Kerr (Killean)

SVTBlackLight01 08-30-2004 12:48 AM

I'm interested. Are you going to publically release it?

SKerr 08-30-2004 04:08 PM

Sure - give me a day or two as I'm still working on finishing up the report page for users..

Any requests?

SVTBlackLight01 08-30-2004 04:21 PM

Although I had already come up with a solution for vB2, a lot of people wanted a way to rotate multiple banners.

SKerr 08-30-2004 05:09 PM

That's already done - and I did it inside of the phpinclude_start template instead of dropping it in the globals.php file using someone's (can't remember off the top of my head) RAND() SQL fix.

I, and I think a few other people, had a problem using the view.php page to generate the image as it seemed either the browser was caching the image or whatever. So instead I just added code to phpinclude_start that increments the view value right after it selects the data from the database.

SVTBlackLight01 08-30-2004 05:13 PM

Sounds good! :up:

SKerr 08-31-2004 12:17 AM

Allrighty, here's my modifications.

- upgraded to work with vBulletin 3.0.x (I'm using 3.0.3, so I don't know for sure if earlier versions work %100)
- added springbok's fix to rotate banners properly
- user report now allows multiple banners per user

I haven't tested this to work with the 1.2 "banners between catagories" feature, so don't be surprised if this breaks if you implemented the 1.2 step 5.

I'm still a vB newbie, so if you find anything or want to improve on anything please let me know..

Thanks,
Steve Kerr (Killean)


All times are GMT. The time now is 04:17 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.01222 seconds
  • Memory Usage 1,734KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete