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.


All times are GMT. The time now is 05:55 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.01340 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (5)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