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)

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?


All times are GMT. The time now is 11:01 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
  • Page Generation 0.01352 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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