![]() |
Rotating Forum Banners
Rotating Forum Banners
Tested on vBulletin 3.0.1 I have seen this sort of hack requested many times so I thought I would spend a bit of time and create one. This will add upto 3 rotating image banners with links on each of your forums using your AdminCP. The orignal slide show script came from Dynamic Drive Some values you can change in the script are for pause between next image, animation speed and image size, just find: Code:
var trans_width='480px' //slideshow width If you use this please click install, thanks :) |
very useful, waiting for something like this! thannx
|
nice, i think i can find some use for this eventually.
|
cool. could be more advanced - will be?
|
Quote:
|
Great, thanks a lot!
|
its great - but I would prefer something that would have more then 3 banners and could be displayed on all forums
|
Quote:
|
Quote:
ok, maybe simple instructions on how to add more for those of us who are html challenged? :) |
Quote:
If you can see whats happening to this then I will be happy to go through the rest of it Code:
Run Query: |
No no -- im one of the HTML challenged :)
Also -- I was thinking --- is there a way to break it up so that one set of banners can work as you have it, on an individual forum basis, and then have a second set for all the non forum specific areas ? |
Quote:
I've added the extra bits of code for you, it will now show up to 10 banners on each forum, also note that I have not installed or tested this one but there should be no reason why it won't work, any problems just ask. I'm not sure what you mean with showing a second set for all non forum specific areas |
nice hack, just installed it and it works perfectly!
|
Is it possible to show the Banners even if a user is reading a thread in the forum itself?
|
Quote:
find $navbar and below paste Code:
<!--- Start rotating banner ---> |
Thanks!
|
Well I had to be the one...
Database error in vBulletin 3.0.1: Invalid SQL: UPDATE forum SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### title = 'A MAN\'S WORLD!!', description = 'Where the big dawgs stomp! The fastest growing porn and male discussion section on the net. The Gift of Gifted!', rbanner1 = '', rbannerlink1 = '', rbanner2 = '', rbannerlink2 = '', rbanner3 = '', rbannerlink3 = '', link = '', displayorder = '1', daysprune = '30', parentid = '8', newpostemail = '', newthreademail = '', styleid = '0', password = '', uttpoints_perthread = '20', uttpoints_perreply = '10', uttpoints_perview = '2', options = '90055', parentlist = '9,8,-1' WHERE forumid=9 mysql error: Unknown column 'rbanner1' in 'field list' mysql error number: 1054 Soon as I hit save can I get a scrreen shot of what the datbase is suppose to look like? |
Ya, But I had to be #2...
I see the error "?" icon scroll to the center of the forum, but no banner! As if the image is not seen....Help! |
People If you wanna do banner rotation just use something much simpler
1. Go to whichever style you want banner rotated. (Style Manager > Style Name > All Style Options) 2. In The phpinclude_start box insert this PHP Code:
HTML Code:
<img src="$banner" border="0" alt="$vboptions[bbtitle]" usemap="#Map" /> |
Check this link out:
http://phpadsnew.com/two/ I am running it on my server, serving over 150K banners a day, running vBulletin, coppermine and few sites off of one server with no problem. The application is amazing and has more futures then you'll ever need :) |
Quote:
How can I do so? I think this can be also done or? |
Coming in my forum in August 2004!
|
Where do you add these variables:
Quote:
John |
Quote:
:) |
May I please point people in the direction of this thread where a hack is available to produce a rotating banner with unlimited banners but with no database changes?
Thanks |
Quote:
|
I apologise but it was not my intention to 'hijack' any thread, but rather to let people know of a solution to a possible need they might have.
If our roles were reversed, I would thank you for offering people an alternative solution but i would not chastise you for 'advertising' your own. I have nothing to gain from 'advertising' my hack on here. I posted it to 'give something back' to the vBulletin.org community. I thought this forum was about helping people out with hacks, not inflating egos. If it offends you so much, please ask admin to delete it and let forum members find it themselves. I'm sure they'll apreciate your helpfulness. |
Quote:
|
Quote:
But if I'm wrong, then please ask admin to delete my posts from here. I'm not bothered either way - just trying to help people out as I've recieved some tremendous help from you folks on here and it's appreciated. |
Quote:
|
Very nice! Works great, and easy to install. Good job.
|
Quote:
Thank you :) |
looks great, can't wait to install it!
|
A better way to have more banners would be to use a MULTI-LINE form box. Two of them. One for the Image Link and one for the URL. That way they can correspond to eachother and you can add as many as you need or dont need.
Perhaps someone can modify this hack to use that kind of system. |
Quote:
|
In 3.0.3 have modifications?
|
Quote:
Sorry? please expand :) |
Version vB: 3.0.3
Http://www.grassteam.com/foroccnet30/xxx there is no banner option at admin. Installed hacks: vba_cmps_1-0-0 Modifications: admincp/forum PHP Code:
PHP Code:
Template: FORUMDISPLAY Quote:
Table: ALTER TABLE `forum` ADD `rbanner1` VARCHAR( 50 ) NOT NULL AFTER `description` ; ALTER TABLE `forum` ADD `rbannerlink1` VARCHAR( 250 ) NOT NULL AFTER `rbanner1` ; ALTER TABLE `forum` ADD `rbanner2` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink1` ; ALTER TABLE `forum` ADD `rbannerlink2` VARCHAR( 250 ) NOT NULL AFTER `rbanner2` ; ALTER TABLE `forum` ADD `rbanner3` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink2` ; ALTER TABLE `forum` ADD `rbannerlink3` VARCHAR( 250 ) NOT NULL AFTER `rbanner3` ; ALTER TABLE `forum` ADD `rbanner4` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink4` ; ALTER TABLE `forum` ADD `rbannerlink4` VARCHAR( 250 ) NOT NULL AFTER `rbanner4` ; Phrases add. And folder http://www.grassteam.com/foroccnet30/images/rbanner, has created. Regards |
I'm really not sure why you are posting all these bit's of code, it looks like you have added some lines to some parts but not to others, you have added rbanner4 to the mysql but nothing to the FORUMDISPLAY
If it's not showing in the AdminCP then without looking I'm not sure and seen that I don't have axx to it there's no point in posting the link :) One of the reasons it might not be showing is that you have something that prefixes the tables, like vb3_table name |
the prefix table is none.
|
All times are GMT. The time now is 05:43 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:
|