![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||
This modification is in the archives.
I created this simple and easy hack for a rotating banner block. All you have to do is create a template and add a plugin location and your done.
1. Go to your ADMINCP and create a template called "banner" and insert the attacked code:
2. Now still in your ADMINCP go to PLUGIN SYSTEM-->ADD NEW PLUGIN HOOK LOCATION is "global_start" TITLE is "banner" PLUGIN PHP CODE:
Do not forget to make the plugin active. 3. Now you can go into any template you want and where ever you put the $banner your rotating banners will appear. 4. Most people want to put this in the top right corner of the forums. If this is what where you want it then. go into you ADMINCP templates and into you header: Find:
Under that insert:
Now you done. All you have to do is edit your template your created with the links and banners you want to use. You can add more rotating banners then what is in the code. All you have to do in insert more lines with banners in the right location in the code. That should be self explanatory. Note: You can make your link open in a seperate browser window by adding the target='ad' in the line as shown below.
Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
#61
|
||||||||
|
||||||||
Originally Posted by mattyk72
I don't see why it could not be done you would have to create the same thing over again but maybe do somethuing like this.
1. Go to your ADMINCP and create a template called "banner2" and insert the same code that you used in your first template but make the changes to the banners you want showing this this particular one. 2. Now still in your ADMINCP go to PLUGIN SYSTEM-->ADD NEW PLUGIN HOOK LOCATION is "global_start" TITLE is "banner2" PLUGIN PHP CODE:
3. Insert the following code in your footer:
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#62
|
||||
|
||||
Originally Posted by CMY
I don't know what your missing without actually looking at you web site and your ADMINCP. It looks like you have the code correct in your header. It sounds like it is one of two things. You might want to make sure that your plugin system is activated. It comes turned off when you first install VB. You also may want to make sure that the plugin that you created for this hack is activated.
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#63
|
||||||||
|
||||||||
Originally Posted by attroll
That's kinda what I had in mind, I'll give it a try, thanks.
I was just wondering if anyone else has done the same thing. No members have liked this post.
|
#64
|
|||
|
|||
I can't figure out how to "create a new template" in the AdminCP. Can someone help me???
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#65
|
||||
|
||||
Originally Posted by Angeleyes
Log into your ADMINCP --> Styles & Templates.
Now Click on the drop down menu for the default style. Click Add New Template.
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#66
|
|||
|
|||
::smacks head:: Wow... I'm an airhead. I honestly feel like such an idiot- thank you SOOOO much! ::hugs attroll::
![]()
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#67
|
|||
|
|||
Okay... I did everything I was supposed to do... except I'm trying to put the banner rotator under the nav bar. It's not working though
![]()
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#68
|
|||
|
|||
does it matter if I'm using a custom template?
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#69
|
||||
|
||||
Originally Posted by Angeleyes
What do you meant by custom template?
Did your create the plugin and make it active? What is your web site url?
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#70
|
|||
|
|||
Originally Posted by attroll
I'm sorry- I meant custom style. I did create the plug-in and make it active. I went over your directions like 10 times! ![]() my website url is www.iheartpaws.com/forums Thank you so much for your patience with me... I feel like such a dummy.
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#71
|
||||
|
||||
Angeleyes
You may have made the pluing active but have you activated the Plugin/Hook System? To do this you need to go to ADMINCP --> vBulletin Options --> Plugin/Hook System and put the dot in YES and save.
__________________
Additional navbar 3.7 with dropdowns Additional side navbar Additional navbar 3.5.3 Rotating banners No members have liked this post.
|
#72
|
|||
|
|||
I checked that- and I did have it on already. I turned it on right before I started following your directions in this thread.
__________________
He is your friend, your partner, your defender, ...your DOG...you are his life, his love, his leader. He will be yours, faithful and true, till the last beat of his heart....you owe it to him to be worthy of such devotion. ~~~~~~~~~~~~~~~~~~~~~~~~~ Come vist us at I Heart Paws: www.IHeartPaws.com No members have liked this post.
|
#73
|
|||
|
|||
Works great. Thanks, lad. :banana:
No members have liked this post.
|
#74
|
|||
|
|||
thanks for this added and works a dream just what i was after
![]() No members have liked this post.
|
#75
|
|||
|
|||
I have it installed on v3.5.4.
Great hack, but I am wondering is it suppose to rotate through the banners without refreshing the forum page? (An automatic rotate) Thanks No members have liked this post.
|
![]() |
«
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 07:26.