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)

jeffro241 10-26-2006 02:14 AM

does this work with vBulletin Version 3.6.0?

Frapegliko 10-26-2006 08:02 AM

Quote:

Originally Posted by jeffro241
does this work with vBulletin Version 3.6.0?

yes it works

RobertPool 10-26-2006 02:10 PM

Placing $bannerads works fine in header / footer template but not at all in Postbit template... Why?

Luggruff 10-26-2006 02:19 PM

when do the new version come? You said today, the day before yesterday ;P

Devil Woman 10-26-2006 09:30 PM

Hi there, I have just installed this, must say it is a really nice hack and something I have been looking for however I have encoutered a few problems

This is the code I am using

Code:

<a href=\"URL/" target=\"_blank\" class=\"banner\"><img src=URL OF BANNERwidth=468 height=60 border=2></a>
Now I have added this in only the problem is, is that the banner then goes below the forum banner and the link doesn't link to the site that the banner is for instead it goes to www.mysite.com/%22www.urlforbanner.com/%22

Where am I going wrong? Is the code wrong and that is why the link isn't working correctly? And have I put the $bannerads in the wrong place on the header and that is why it is going under the forum banner rather than opposite the forum banner

Thanks in advance

Luggruff 10-26-2006 09:44 PM

Quote:

Originally Posted by Devil Woman
Hi there, I have just installed this, must say it is a really nice hack and something I have been looking for however I have encoutered a few problems

This is the code I am using

Code:

<a href=\"URL/" target=\"_blank\" class=\"banner\"><img src=URL OF BANNERwidth=468 height=60 border=2></a>
Now I have added this in only the problem is, is that the banner then goes below the forum banner and the link doesn't link to the site that the banner is for instead it goes to www.mysite.com/%22www.urlforbanner.com/%22

Where am I going wrong? Is the code wrong and that is why the link isn't working correctly? And have I put the $bannerads in the wrong place on the header and that is why it is going under the forum banner rather than opposite the forum banner

Thanks in advance

Your code:
Code:

<a href=\"URL/" target=\"_blank\" class=\"banner\"><img src=URL OF BANNERwidth=468 height=60 border=2></a>
Correct code:
Code:

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

And to get the banner above the logo of your forum, simply put the $bannerads above <!-- LOGO --> in the header template.

Devil Woman 10-26-2006 10:10 PM

Hi there, I have put the correct code in and all is working fine :) thanks for that

No what I want to do is have the banners on the opposite side of the forum banner.

The forum banner is on the left hand side, I want the banners to go on the right hand side of the header so that it is opposite the banner

Thanks

Luggruff 10-26-2006 10:50 PM

Quote:

Originally Posted by Devil Woman
Hi there, I have put the correct code in and all is working fine :) thanks for that

No what I want to do is have the banners on the opposite side of the forum banner.

The forum banner is on the left hand side, I want the banners to go on the right hand side of the header so that it is opposite the banner

Thanks

In the header template find this:

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 --><br>

Each column are specified with the <td></td> tags, each new row are between the <tr></tr> tags, so to add another column just add another column tag (<td>$bannerads</td>) after the last <td></td> tag (in between the </td> and </tr> tag).

wich of course would turn out like this:

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>
    <td>
$bannerads
    </td>
</tr>
</table>
<!-- /logo --><br>


Basic table building..

Devil Woman 10-27-2006 08:13 PM

you learn something new everyday :) thanks for that its much appreciated :)

moley 10-28-2006 07:24 PM

Just installed this, done everything you said but its not appearing in my postbit!


All times are GMT. The time now is 10:52 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.01347 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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