vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

fxdigi-cash 03-03-2013 11:01 PM

Quote:

Originally Posted by Melodym (Post 2407483)
Can I stack 2 smaller ads, say 340 x 60 on the right side in the header?

I saw it on another site but couldn't figure out how they did it.

I tried putting stuff in the template ad_global_header1 and ad_global_header2 but I'm not sure how to align them so they are on the right and not running into the top login links.

ok, make two divs say <div align="center" ></div> in the first ad block and another div say <div align="center"></div>, but need to add class and style for the following reasons:

1- to know what each div goes.
2- to add border style to know exactly the edges of the div

so the codes will be like this (ad_global_header1):

Code:

<div align="center" class="ad1" style="border:1px solid #FF0000"></div>
And for code 2 (ad_global_header2):

Code:

<div align="center" class="ad2" style="border:1px solid #0000FF"></div>
I believe you know that you need to add the banner position code between the div tag, right!! wither it is vbseo or vb https://vborg.vbsupport.ru/showthread.php?t=272725

so in this case you will have two divs with two different borders; red and blue, respectively.

if you want to add style to that, you have two options:

1- to add more styling to style in the div,
2- or remove style from the div and write your own style based on the classes in each div.

cheers

flussmitteldj 03-13-2013 03:41 PM

an it be that the statistic does not work 100% ? where and how you can read the banners yet ?

the clicks do not change, remain on zero :(

impressionen 13,520,978
Clicks:1


http://www.overclockingstation.de/rb...44e078cbee3bbf

What is that?

y2ksw 03-13-2013 10:36 PM

Quote:

Originally Posted by flussmitteldj (Post 2409750)
an it be that the statistic does not work 100% ? where and how you can read the banners yet ?

the clicks do not change, remain on zero :(

impressionen 13,520,978
Clicks:1


http://www.overclockingstation.de/rb...44e078cbee3bbf

What is that?

It may not work, if you are normal scripts. You may however craft special scripts which explicitly call the rbs_banner.php script and thus count also clicks, but it is not guaranteed to work with all scripts. For example you may not craft Google Adsense scripts that way.

tacklebox joe 03-14-2013 05:12 PM

help please, i downloaded all the files to my root directory however, when i go to import product i am getting this message

Please upload the files that came with the product before installing or upgrading!

Missing files:


I put all the files from the rbs 2.4.0 includes and admincp folder into the includes and admincp folders in my root directory. did i miss something? where do i insert the rbs_iframe.php file?

does not tell me what files are missing any helpis appreciated thanks guys, Joe

tacklebox joe 03-14-2013 10:11 PM

NEVERMIND...I figured it out.

y2ksw 03-15-2013 04:59 PM

oki :)

tacklebox joe 03-17-2013 09:20 PM

y2k...i see how you can stack two ads but can you stack banners the same too? your hack works great i'm just figuring it out as a noob but i want the banners to align on the same line so to speak and not be under each other as on my site www.njfishreports.com

<div align="right"><!--@vbbanners:0@--></div>
<div align"left"><!--@vbbanners:0@--></div>
<div align="center"><!--@vbbanners:2@--></div>

K4GAP 03-17-2013 11:42 PM

If all I'm looking for is something to rotate banner images with no ads, is this mod a bit to much just for doing that?

Videx 03-18-2013 01:19 AM

Quote:

Originally Posted by GaryT (Post 2410689)
If all I'm looking for is something to rotate banner images with no ads, is this mod a bit to much just for doing that?

Compared to what? Coding a rotation in an ad slot yourself? Actually, this mod doesn't do 'rotation' - it only does 'random' - which will often display the same image several times in a row.

K4GAP 03-18-2013 01:33 AM

Well actually what I'm looking for is an add on that will rotate fairly large images on the article page with links for each image to a particular article. More like a slider widget I suppose.


All times are GMT. The time now is 08:47 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.03626 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
  • (2)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
  • (5)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