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)

tigrrra 11-06-2006 12:00 AM

ookk im new at this im using vBulletin 3.6.2 where do i find this product i mean where do i add my banner script

radarhunter 11-07-2006 01:01 AM

it`s not showing on my site i dunno why is there sum template modification i ned to so first

Luggruff 11-07-2006 02:06 AM

Quote:

Originally Posted by tigrrra
ookk im new at this im using vBulletin 3.6.2 where do i find this product i mean where do i add my banner script

AdminCP -> vBulletin Settings -> vbBannerRotator by Frapegliko

Quote:

Originally Posted by radarhunter
it`s not showing on my site i dunno why is there sum
template modification i ned to so first

Yes, you need to edit templates. Please read the instructions.
You have to put the code $GLOBALS[bannerads] (for bannerscript#1 with 10 banners) or $GLOBALS[banneradstwo] (for bannerscript#2 with 5 banners) at the location of your forum that you want them to be.

How else would they show up where you want them to be?

DPSR 11-07-2006 06:25 AM

Perfect! I was going to install phpadsnew... ;) It working perfect :)

voteforbird 11-07-2006 06:38 PM

I'm using both YPN and Adsense. To ensure that only one type displays on each page, I have a rotator in my header. I then use a conditional in the body that basically says <if condition="$banner_no==3">YPN<else />Adsense</if>

This works perfectly on my homepage, but on showthread the $banner_no variable does not carry and has no value. Why is this?

khfoong 11-10-2006 10:42 AM

please help

i have downloaded the xml file
i have click installed in the website

but how do i get the stuff into the forum ?
edit codes??

which file to start?
i dunno how to go about starting ?

urgent !

thanks

project-Buckfas 11-10-2006 11:24 AM

Go to your admin cp --> Products --> upload product

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

Your done!

khfoong 11-10-2006 12:00 PM

thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me

libertate 11-10-2006 12:17 PM

Frapegliko, thank you very much. This is an excellent mod.

Quote:

Originally Posted by voteforbird
I'm using both YPN and Adsense. To ensure that only one type displays on each page, I have a rotator in my header. I then use a conditional in the body that basically says <if condition="$banner_no==3">YPN<else />Adsense</if>

This works perfectly on my homepage, but on showthread the $banner_no variable does not carry and has no value. Why is this?

Perfect! This was one of my concerns, and I believe you just fixed it. This works with $GLOBALS[bannerads] (i.e. in non-vB pages like vBA), or do I have to reference banner_no through $GLOBAL[] too?

Luggruff 11-10-2006 01:00 PM

Quote:

Originally Posted by khfoong
thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me

It means that you go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in (since you're new, I can only gues you only have one styles to choose from) -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in.

(an example, if you want the banners to be in the HEADER, then you edit the god for the HEADER template and write $GLOBALS[bannerads] or $GLOBALS[banneradstwo] where ever in that template you want it to show up in)

..this of course means you have to be familiar with HTML, if not, ask someone you know.

confused about the difference between $GLOBALS[bannerads] and $GLOBALS[banneradstwo]? Read the instructions the creator of the hack has made. Pretty simple. Top post on all pages of this thread.

And to add banners, just go to the vBulletin settings at the top of the menu in your adminCP.


All times are GMT. The time now is 06:01 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.01299 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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