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)

bada_bing 04-23-2013 01:55 PM

Quote:

Originally Posted by y2ksw (Post 2418064)
a   would insert a fixed space between two HTML text elements, thus:

Code:

<!--@vbbanners:0@--><!--@vbbanners:0@-->
become:
Code:

<!--@vbbanners:0@-->&nbsp;<!--@vbbanners:0@-->

Giovanni

I have done something simular on my site except I have an issue where if the banners are side by side and you shrink your browser it throws the banners off allighment. Any way to wrap the banners so they can adjust depending on your browser window? The issue now is that they are fixed and assume the browser window is at least a minimum size but when you shring the window or view the site from a smart know the banners are all off

y2ksw 04-23-2013 02:11 PM

Quote:

Originally Posted by bada_bing (Post 2418072)
Giovanni

I have done something simular on my site except I have an issue where if the banners are side by side and you shrink your browser it throws the banners off allighment. Any way to wrap the banners so they can adjust depending on your browser window? The issue now is that they are fixed and assume the browser window is at least a minimum size but when you shring the window or view the site from a smart know the banners are all off

These are all HTML issues, where I am, honestly spoken, unable to help.

With vBulletin 3 you will have to handle problems with tables and most of them can't be fixed, because tables have a rather static design. On the other hand, with vbulletin 4 and div's, the situation isn't much better, because then all elements tend to flee from the developer :)

HTML hates me :p

blackie58 04-25-2013 11:48 AM

Thanks for the replies

Its working as i want thanks

GarethBurrows 04-25-2013 06:22 PM

...found the answer...

pengrus 04-26-2013 12:11 PM

My developer helped us install this mod to work with a custom theme they developed, and we found many of the adlocations do not show the ads. They said this is bug issue with vbulletin or your mod. Is he correct?

ad_thread_last_post_content = not working
ad_thread_first_post_content = not working
ad_showthread_firstpost_start = working
ad_showthread_firstpost_sig = working
ad_showthread_beforeqr = not working
ad_navbar_below = working
ad_header_logo = not working
ad_header_end = not working
ad_global_header2 = working
ad_global_header1 = working
ad_global_below_navbar = working
ad_global_above_footer = working
ad_forum_below_threadlist = working
ad_forumhome_afterforums = not working
ad_forumdisplay_afterthreads = not working
ad_footer_start = working
ad_footer_end = working
ad_board_below_whats_going_on = working
ad_board_after_forums = working
ad_blogsidebar_start = not working
ad_blogsidebar_middle = not working
ad_blogsidebar_end = not working
ad_blogshowentry_before = working
ad_blogshowentry_after = working
ad_bloglist_first_entry = working
ad_archive_below_content = working
ad_archive_above_content2 = working
ad_archive_above_content1 = working

Thank you!

y2ksw 04-26-2013 02:16 PM

Quote:

Originally Posted by pengrus (Post 2418646)
My developer helped us install this mod to work with a custom theme they developed, and we found many of the adlocations do not show the ads. They said this is bug issue with vbulletin or your mod. Is he correct?

(...)

Thank you!

Oh, how I love developers, really! :)

Do some of the ad locations work? What are the setting differences?

Did you actually insert a banner placeholder inside the inbuilt ad locations? Else there will appear nothing.

Are there enough banners in the database to show multiple banners on the same page? If you have 5 locations on page, you also must have at least 5 banners to show.

Until now, we always managed to run the banners on any system and any circumstances, and most of the times it was just a misunderstanding or spelling error, or a wrong time setting. Besides not reading the manual about vbSEO, of course :p ... even on Photopost (which is an addon), some people have managed to show their banners with the unofficial addon (at post 989 of this thread).

So, please prove me wrong :rolleyes:

pengrus 04-26-2013 02:25 PM

We created one simple text ad, and tried it one by one on all the ad locations. And the list above shows which ones working, which ones not working.

The developer even said this:

"Regarding those ad location template that is not working, we tested it on default vb and it doesn't work and it is not related to our theme. You can test it in default vBulletin style to check."

Does this mod require modification to the custom theme to add something to the theme template?

Thanks,
Sean

y2ksw 04-26-2013 09:01 PM

Quote:

Originally Posted by pengrus (Post 2418677)
We created one simple text ad, and tried it one by one on all the ad locations. And the list above shows which ones working, which ones not working.

The developer even said this:

"Regarding those ad location template that is not working, we tested it on default vb and it doesn't work and it is not related to our theme. You can test it in default vBulletin style to check."

Does this mod require modification to the custom theme to add something to the theme template?

Thanks,
Sean

Not if you use the inbuilt ad_* locations. But if you want to fill banners in more specific places, you will have to edit the respective templates.

SPVB 04-27-2013 12:41 AM

I got the first ad (<!--@vbbanners:0@--> ) to show up - how do I add the rest of the banners to the code? I am lost!

y2ksw 04-28-2013 09:18 AM

Quote:

Originally Posted by SPVB (Post 2418779)
I got the first ad (<!--@vbbanners:0@--> ) to show up - how do I add the rest of the banners to the code? I am lost!

You would add more <!--@vbbanners:0@--> into your page until you show all the banners you wish to see in a single page. And, you would add N banners into the database, each of the different banners you would show in rotation.


All times are GMT. The time now is 01:01 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.02793 seconds
  • Memory Usage 1,752KB
  • 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
  • (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