![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Random Side Banners Outside Main Body in Fixed Position
![]() Developer Last Online: Nov 2022 ![]() ![]() ![]()
Random Side Banners
Quite a few people have asked how do you add side banners outside of your forum's main body and no one has offered a solution that I know of. This mod allows you to have random banners outside of your forums main body in a fixed position. The banners will rotate with every unique visit to your forums similar to the dszuecs's "New way to force guests to register" Mod. The php code to make the banners rotate could possibly be written better, right now you don't always get a different random banner unless you completely close your browser and come back with a new session it seems. The rotate.php code is not mine I found it not only in dszuecs's New way to force guests to register Mod but also online. I did however use his Mod as a base to get this Mod done. If anyone can fix the rotate.php file so that you get a random with every page load that would be great. The banners used in this mod have the dimensions of height:435px width:140px but you can change them to any size you want. Included are the files to upload to your FORUMROOT using FTP: Files included are: 1. left_banner_rotate.php 2. right_banner_rotate.php 3. images (includes 1 png file you can use as a template for your banners) 4. additional_css.txt (code to add to your additional_css) 5. header_template.txt (code to add to your header template) You will need to make 2 manual template edits to your additional.css and your header template. The code included in the additional_css file can be added at the very end of your additional.css file.
The code included in the header_template file must be added at the very top before all other code in your header template.
This is my first Mod contribution you guys so be gentle with me. I am just learning vBulletin's way of doing things and hopefully I can contribute other small Mods in the future. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Miscellaneous Hacks Random Banners by BOP5 (Simple random banners) | BirdOPrey5 | vBulletin 3.8 Add-ons | 12 | 16 Nov 2011 12:47 |
Comments |
#2
|
||||||||||||
|
||||||||||||
For easier banner management you guys can use the following Mod together with this one:
http://www.vbulletin.org/forum/showt...mages&page=137 This will allow you to set up to 10 different banners per side. To do this you do the following: Open up your header template and do the following small edit if you already installed this Mod: Find this:
Replace with this:
Note, there are 10 positions for the banners starting with 0 through 9, the 2 positions I used here are position 0 for the left side banners and position 2 for the right side banners. You can use any position you want for yours, just replace the red highlighted numbers with your positions. This also gives you a better rotation of the your banners than using the left_banner_rotate.php and right_banner_rotate.php files, so you can remove those from your additional.css. Change the code in additional.css to the following:
The following members like this post: synseal
Last edited by CAG CheechDogg; 10 Nov 2012 at 20:51. |
#3
|
||||
|
||||
Excellent!, was looking for something like this.
Don't know if your aware but when I click Forum in your Navbar on your site it takes me to google.co.uk?.
__________________
Tech forum. The following members like this post: CAG CheechDogg
|
#4
|
||||
|
||||
Looks good.
![]() The following members like this post: CAG CheechDogg
|
#5
|
||||
|
||||
Originally Posted by synseal
Glad you like it synseal! And what Forum on what Navbar buddy? I have been going crazy trying to find this link and I don't see it! lol...help me out here! ![]()
Thanks Alan, did everything work ok for you? No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by CAG CheechDogg
Sorry been away for a few days,![]()
This link on your forum redirects me to google, dont know why?. Edit - to add so do every link in that drop down, strange.
__________________
Tech forum. No members have liked this post.
|
#7
|
||||
|
||||
Ah ok, you might be on an old browser that I have banned using the Ban Spiders mod which redirects them to google.com ...
What country are you in? Send me your ip address and I will see if it's in one of the ip ranges I have banned. No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by CAG CheechDogg
It must have been my browser as you said cause I recently formatted my PC and you site is working fine for me now.![]()
Sorry to take this off topic, regards ![]()
__________________
Tech forum. No members have liked this post.
|
#9
|
||||
|
||||
No problem buddy, thanks a lot for pointing that out regardless though.
No members have liked this post.
|
#10
|
|||
|
|||
the issue i was having with this is when members had a zoomed in browser...the images wouldnt zoom with the rest of the forum and caused them to overlap over forum content for sum members...had to disable
![]() No members have liked this post.
|
#11
|
||||
|
||||
Originally Posted by legiondadon
Hey legion easy fix for that. Use the following in your additional.css instead:![]()
The z-index:-1000 will make the banners sit behind your forum's content when zoomed in. No members have liked this post.
|
#12
|
||||
|
||||
Genius! I have the RBs installed, but had some crashes and trying to rebuild. Seriously...this will allow rotating ads in the spaces of the fixed themes? Have I got this right? Does it work in 4.2pl3?
No members have liked this post.
|
#13
|
||||
|
||||
Yes it should work with 4.2...and yes It will allow the rotating adds if you use the mod I listed in the description, here is the link:
http://www.vbulletin.org/forum/showt...mages&page=137 If you need help installing it or if you are still having problems let me know. No members have liked this post.
|
#14
|
||||
|
||||
Thanks for your reply, I lost the thread...
I'm going to put this into action shortly for paid ads on www.tooraktimes.com.au No members have liked this post.
|
#15
|
|||
|
|||
![]()
Liked
![]() I was just checking who gave me the last LIKE on my Product, And ofcourse it was from you, Once again! You are one of the greatest and honest members on here, and now as a Developer I congratulate you with your first and awesome Product! Just as you have showen your support towards myself and everyone else on here, I am now here to show my gratitude and support for your awesome work and great attitude along the time we been members on here! Good luck! Ps, Hopefully you will be creating a few vB3.8 Products too! I mean not many are using vB3.8, but I do ![]() By CM aka ChiNa-Man
__________________
I am having a little break from vB Developing. I am trying to finish my PHP and MYSQL courses for now. I will answer all my PM's if anyone needed help for my products, but only when I can be online on vB.org. Its great to see new and old developers keeping vB.org alive! Thank you all for your support!CM
The following members like this post: CAG CheechDogg
Last edited by ChiNa; 29 Jul 2013 at 16:54. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 06:37.