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)

y2ksw 05-14-2011 03:33 PM

The only other Idea is: do you have enough banners in the database? If you have say 1 banner for that page, of course there will not show up another banner at any other same location (I see you use location 2). The reason is, that for showing 2 banners for the same location (2) you need to have 2 banners for that location in the database.

valdet 05-14-2011 03:43 PM

I actually have 5 banners for placeholder #2.

Can the core files of your product be modded to include additional template hooks so banners are shown in postbit_legacy. I am displaying the banners through mt_rand() by hooking them on postbit_display_complete location

Thanks for your time Giovanni.

toxin 05-17-2011 10:29 AM

Installed and working on 4.1.3 CMS

Is there a way to restrict the size of the output banner?

I have some banners 468x60 and some 486x80. I'd like to put a height="60px" somewhere and have the larger banners resize themselves.

y2ksw 05-17-2011 01:38 PM

Quote:

Originally Posted by toxin (Post 2196734)
Installed and working on 4.1.3 CMS

Is there a way to restrict the size of the output banner?

I have some banners 468x60 and some 486x80. I'd like to put a height="60px" somewhere and have the larger banners resize themselves.

You may use the flash wrapper (yes, it loads most images, too) and define a size (both).

Gripi 05-21-2011 12:22 PM

hello..

maybe sound stupid or already aksed many times, is it possible to have more than 10 ads ?? unlimited may be?

because my site have almost 30-40 banner right now.

Apolo. 05-21-2011 01:30 PM

Quote:

Originally Posted by Gripi (Post 2198338)
because my site have almost 30-40 banner right now.

You mean 30-40 locations?

With this plugin you can have up to 10 locations but you can put thousands of banners in each location.

Gripi 05-21-2011 02:12 PM

yes.. i mean 30-40 locations, or unlimited locations.

is it possible ?

Videx 05-21-2011 02:43 PM

Quote:

Originally Posted by Gripi (Post 2198375)
yes.. i mean 30-40 locations, or unlimited locations.

is it possible ?

It's certainly possible with some custom coding. But get a grip man. You're shooting yourself in the foot. Nobody's going to read a site with 40 banners on every page they look at. I mean, how do you mean to prevent them from using adblockers? How do you even expect there to be room left on a page to display the forum?

Gripi 05-21-2011 05:04 PM

hello...

my site already run for almost 6 years, and keep growing.

i need this mods but for unlimited position.

could someone help me?

thanks

y2ksw 05-23-2011 09:49 AM

Quote:

Originally Posted by Gripi (Post 2198338)
hello..

maybe sound stupid or already aksed many times, is it possible to have more than 10 ads ?? unlimited may be?

because my site have almost 30-40 banner right now.

You may have as many banners your database can hold :)


All times are GMT. The time now is 07:34 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.03416 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
  • (6)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