vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vbBannerRotator (https://vborg.vbsupport.ru/showthread.php?t=129418)

barbiedoll 11-16-2006 01:43 PM

Quote:

Originally Posted by Luggruff (Post 1118593)
Yeah, well, vBulletin options ;P I've got a translated version and it says settings in my lang (:

Ok.. Thank you. but it's still not there..

When I click on the install in the instructions.. no new screens come up or anything .. just kinda refresh the page.. ?? I was thinking an install wizard of some sort would come up??

Luggruff 11-16-2006 02:24 PM

Quote:

Originally Posted by barbiedoll (Post 1118622)
Ok.. Thank you. but it's still not there..

When I click on the install in the instructions.. no new screens come up or anything .. just kinda refresh the page.. ?? I was thinking an install wizard of some sort would come up??

Here's a simple detailed step-by-step:
  1. Download the xml files
  2. Go to your AdminCP
  3. Go to the Plugins and products menu
  4. Go to Manage Products
  5. [Add/Import Product]
  6. Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
  7. Now go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in. (for example "header").
  8. Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
  9. Now go to vBulletin Options in the AdminCP and make sure the hack is enabled (scroll down to the bottom and you'll find it). Then you just add the code for each banner, and make sure they are enabled too.
Example for banner code:

Code:

<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>

Ruthierhyme 11-17-2006 10:07 PM

To Frapegliko :) .. many many thanks for this :up:

lifesourcerec 11-18-2006 11:29 PM

Quote:

Originally Posted by Luggruff (Post 1118654)
Here's a simple detailed step-by-step:
  1. Download the xml files
  2. Go to your AdminCP
  3. Go to the Plugins and products menu
  4. Go to Manage Products
  5. [Add/Import Product]
  6. Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
  7. Now go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in. (for example "header").
  8. Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
  9. Now go to vBulletin Options in the AdminCP and make sure the hack is enabled (scroll down to the bottom and you'll find it). Then you just add the code for each banner, and make sure they are enabled too.
Example for banner code:

Code:

<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>

Not showing up for me. Tried adding it to header. Then tried forumhome. Same result. Nothing shows.

lifesourcerec 11-19-2006 12:34 PM

Quote:

Originally Posted by project-Buckfas (Post 1114159)
Go to your admin cp --> Products --> upload product

Put $GLOBALS[bannerads] in the template where you want you ad's to show.

Your done!

I've done that, still doesn't show up.

DDad 11-19-2006 03:57 PM

Check to see which one you downloaded
product bannerrotator.xml (10.8 KB, 302 downloads)
product bannerrotator two.xml (16.2 KB, 246 downloads)

then check your code
$GLOBALS[bannerads] and or $GLOBALS[banneradstwo]

I also had to size my banners before they would show, why?? but it worked

GekkoPixie 12-10-2006 02:07 PM

If this were a sig-banner rotator, I'd be all over it. Cool hack though. :)

redwinger 12-11-2006 01:57 AM

I can't get the banner ads to center under the header image. Here is the code I am using?

<td style="text-align:center"></td>$bannerads</td>

Luggruff 12-11-2006 05:49 AM

Quote:

Originally Posted by redwinger
I can't get the banner ads to center under the header image. Here is the code I am using?

<td style="text-align:center"></td>$bannerads</td>

write $GLOBALS[bannerads] instead, as some code doesn't work all over the forum, but with globals it does

redwinger 12-11-2006 05:01 PM

Ok got that to work, now I am am using this code below for the banner and when I click on the banner it directs me to www.mysite.com/intended url

<a href="URL" target="_blank" class="banner"><img src="URL OF BANNER" width=468 height=60 border=2></a>

I replaced the "url" with the target site URL and the "url of banner" with the banner jpg link.

tobybird 12-12-2006 09:12 PM

This is perfect! Thanks! Clicked install.

SnapOff Racing 12-13-2006 04:09 AM

will this work with xtremepixels skins?

Luggruff 12-13-2006 10:45 AM

Quote:

Originally Posted by SnapOff Racing (Post 1137547)
will this work with xtremepixels skins?

What skin you use should not be an issue.
How big banners you use, what they look like and where on your site you put them is all up to you.

ski diva 12-23-2006 06:52 PM

Is there a 3.5 version of this yet?

aerogear2002 12-25-2006 09:28 AM

hello recently purchase Vbulletin can you please explain how to installed this template, do I upload it on to my server if so where or which file.

ecansel 12-25-2006 09:26 PM

Thank you.. Working good.. Merry Xmas

aerogear2002 12-25-2006 10:07 PM

sorry I'm new this this how to installed it, do I use FTP to upload in my root folder or just upload in my admin page

aerogear2002 12-29-2006 05:56 AM

great mod love it but I want the banner to be inside the that box right on top of the blue nav bar, next to your user name when you log in.

AndyP 12-29-2006 10:23 AM

I've installed this on 3.6.4, and so far it seems to work great. Thanks.
FWIW I'm using it for images without links only as the main banner in the header.

For the newbies asking how to install, follow the instructions below.
Quote:

Originally Posted by Luggruff (Post 1118654)
Here's a simple detailed step-by-step:
  1. Download the xml files
  2. Go to your AdminCP
  3. Go to the Plugins and products menu
  4. Go to Manage Products
  5. [Add/Import Product]
  6. Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
  7. Now go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in. (for example "header").
  8. Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
  9. Now go to vBulletin Options in the AdminCP and make sure the hack is enabled (scroll down to the bottom and you'll find it). Then you just add the code for each banner, and make sure they are enabled too.
Example for banner code:

Code:

<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>


kdemonte 01-05-2007 08:36 PM

Installed it, one of the few hacks I've been able to get installed correctly...love it!

Marc118 01-06-2007 10:37 PM

Forgive me I didnt read all 10 pages.

Im trying to use this to rotate the banner of my forum, not for ads. Anywho its installed an working. Except that it added a small space/break under my banner? Is there any way to fix?

Here is my header.

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]">$GLOBALS[bannerads]</a></td>
        <td align="$stylevar[right]">
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


barbiedoll 01-07-2007 10:12 PM

Here is my header : As I have put in the code.. Does this look correct?? Right now I have a JPG file in the header space Would like banner to go under that..

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]">
                $GLOBALS[banneradstwo]
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

And here is the code I put in for first banner I want.. but nothing changes on the site at all.

I am very very new to this & I know I am just missing something simple.. Any help would be greatly appreciated.. :D


Code:

<a hef="http://www.greatlakesoffshore.com" target="_blank"><img
src="http://www.greatlakesoffshore.com/greatlakesoffshore/images/banners/bobcardbanner.gif"></a>


Marc118 01-10-2007 07:00 PM

Anyone?

AndyP 01-10-2007 09:38 PM

The extra space under your banner may be within the code of this mob. I recall editing code to remove that space when I installed it.

coderphp 01-10-2007 11:24 PM

exactly what i needed!! installed!~ thank you

Marc118 01-14-2007 04:44 AM

Quote:

Originally Posted by AndyP (Post 1155793)
The extra space under your banner may be within the code of this mob. I recall editing code to remove that space when I installed it.

Do you know what code to remove?

NFLfbJunkie 01-15-2007 03:33 AM

I have replaced the vBulletin logo with this Banner Rotator by removing

HTML Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]">
                &nbsp;
        </td>
</tr>
</table>
<!-- /logo -->

Thus leaving me with:

HTML Code:

$GLOBALS[bannerads]

<!-- content table -->
$spacer_open

$_phpinclude_output

Was this okay to do? The Banner shows up okay, but how do I center it?

BudLeiser 01-19-2007 06:45 PM

This script is nice, but I use alot of small banners.

Can this be adapted to offer a variable # of sets and variable number o banners per set?
(I'm looking for 14+ sets, 3-10 banners each, so would be easier I can set variables on how many sets and how many banners)

Louise12 01-22-2007 02:25 PM

I know this has been asked bfore, but there was no answer.

Can this be made to automatically rotate? Like every 5 seconds or so?

Thanks in advance.

joethaman 01-30-2007 06:56 PM

I'm having trouble finding out where I need to place the code in my "header" for it to display correctly. I'm using a couple of "styles" that are a little confusing.

The site is www.turbo-owners.com and I would like it to appear on the right side across from the 'Turbo Owners" logo... I have 2 styles (light and dark) and have attached the header contents of each

style1 = light
style2 = dark

If anyone could help me out that would be appreciated.

Also, is there the possibility of having slots for more than 10 banner ads?

scart3r 02-03-2007 10:39 AM

Thanks for making this great mod :) Is very handy!

Can someone tell me if I can add more than 15 banners? Would love to know :)

Ta,
Cindy

Oh yeah, and if anyone wants to see mine working you can see it at http://www.nettrafficchat.com

gizmo01 02-06-2007 04:41 PM

Any way of using this banner rotator to place a banner above a particular Parent Forum in the forum home list of forums??

I know my way around coding PHP a tiny little bit, but this is stumping me.

Kopfgeldjaeger 02-09-2007 01:16 AM

I want to add:

This Plugin ROCKS!!!!

We have been looking for a way to rotate multiple banners for a long time since we had over 50 and it was dragging down the main page.

This was the answer!

You can add your HTML coding to show 2 rows of 3 or whatever you want into each box in the Admin CP and away you go.

We now have 6 banners showing at a time and it cut load times by approx. 30%!

Installation was simple and took less than a minute.

GREAT WORK and thank you!

Kopfgeldjaeger 02-09-2007 01:22 AM

Quote:

Originally Posted by scart3r (Post 1173585)
Can someone tell me if I can add more than 15 banners? Would love to know :)

The only way I could figure out was to add more than one banner in each box.

Unless your page is hurting for space, I cleared enough room to place the banners under the forums but above the "Who's Online" area and made 2 rows of 6.

You could put 1 row of 2 or 3 depending on their size and set it to align centered.

This will not take up much space and therefore allows you to add 20-30 banners by showing 2-3 at once.

As I stated, we are showing 56 total banners (6 at a time).

See our board at: WarRifles Forums

Located right above "Who's Online" area.

Hope this helps!

sweetguy2004 02-09-2007 11:02 AM

could some one please tell me were does the xtlm codes for banner goes code 1 and code 2 im lost sorry for nasking this please help thanks

sweetguy2004 02-09-2007 01:16 PM

thanks good great the banner

Tom_S 03-14-2007 09:40 PM

Frapegliko, Are you giving any kind of support for this mod still? I am hoping so. I would really like to know how to increase the number of banners I can use.

Thanks

DieselMinded 03-18-2007 07:19 AM

How do I make a certain Banner # Shown when the Sponcers SubForum is opened

In this case ICE BOX .....

www.dieselbombers.com

Love the Rotator THANKS !!

Tom_S 03-18-2007 01:55 PM

Oh Frapegliko! Are you there? :rolleyes:

We need you :up:

trigon 03-25-2007 10:35 AM

i have (maybe a dumb) question about this hack:
i tried to made the 5 one only for a special area, but it seems my code is wrong, maybe someone can help me?
Here are my code:

PHP Code:

<if condition="$thread[forumid] == 23">

$GLOBALS[banneradstwo]

</if> 

also i tried it with

PHP Code:

<if condition="$forum[forumid] == 23">

$GLOBALS[banneradstwo]

</if> 

:confused:


All times are GMT. The time now is 03:18 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.01621 seconds
  • Memory Usage 1,846KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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