![]() |
Quote:
|
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 :) |
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 |
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) |
I'm interested. Are you going to publically release it?
|
Sure - give me a day or two as I'm still working on finishing up the report page for users..
Any requests? |
Although I had already come up with a solution for vB2, a lot of people wanted a way to rotate multiple banners.
|
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. |
Sounds good! :up:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|