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)

DonLKSAB 04-10-2013 05:43 PM

Actually i have the Classifieds to.
And according to the developer it shoud work. The standard VB banners work fine.
Everything from the header and so on is used in Photopost.

If not.
Doers anyone know of a simple random banner mod? I need one banner with like 6 random images...

Videx 04-10-2013 06:19 PM

Quote:

Originally Posted by DonLKSAB (Post 2415569)
The standard VB banners work fine.

Oh, sorry I missed that. You may want to start over again or at least link to your last post so we don't have to go digging for it.

Obvious question if a standard banner works: What type of banners are you trying that don't work? Flash or something? And can we assume when you say "standard banners work" you also mean RBS works fine outside Photopost? If not you need to get that fixed first. Make sure there's no compatibility problems with other mods (e.g. VBAdvanced).

DonLKSAB 04-10-2013 06:30 PM

I have no banners what so ever from RBS in Photopost.
But RBS is working fine in my form and CMS.
However, If you look at the photopost guys website he is using the VB adverticement stuff and that works for him.
So its not only using the vb styles.
Thats why i hope it would be possible to get RBS working in Photopost without a big effort.

bada_bing 04-10-2013 08:09 PM

Quote:

Originally Posted by bzcomputers (Post 2415396)


HTML Code:

<table>
<tr>
<td style="min-width:XXXpx">@vbbanners:0@</td><td style="min-width:XXXpx">@vbbanners:0@</td>
</tr>
</table>


Then just set "XXX" to whatever minimum width you want the banners to be. You can also add additional styling such as "max-width", or "width", then possibly "padding" etc. to get the exact look and spacing you want.

OK I ended up with this code however when I reduce the size of my browser the banners dont adjust themself to the size of the foum so they overlap the edge of the forum. Any idea what I need to add to have the banners resize as I reduce the size of the browser window

HTML Code:

<html>
        <head>
                <title>Support Our Sponsors</title>
        </head>
        <body>
                <table align="center" style="height: 60px; width: 640px;" summary="On your next purchage concider choosing our Sponsors">
                        <caption dir="rtl" style="text-align: justify;">
                                <cite><span style="font-size:12px;"><span style="color: rgb(0, 0, 0);"><strong style=""><a href="http://www.mysite.com/forums/vendor/list-by-alpha" style="" target="_self">Support Our Sponsors</a>&nbsp; &nbsp;<a href="http://www.mysire.com/forums/vendor/register" style="" target="_self">Become a Sponsor</a></strong></span></span></cite></caption>
                        <tbody>
                                <tr>
                                        <td style="min-width: 460px; text-align: center;">
                                                @vbbanners:0@&nbsp;</td>
                                        <td style="min-width: 460px; text-align: center;">
                                                @vbbanners:0@</td>
                                </tr>
                        </tbody>
                </table>
                <p style="text-align: center;">
                       
        </body>
</html>


bada_bing 04-10-2013 08:19 PM

Quote:

Originally Posted by DonLKSAB (Post 2415578)
I have no banners what so ever from RBS in Photopost.
But RBS is working fine in my form and CMS.
However, If you look at the photopost guys website he is using the VB adverticement stuff and that works for him.
So its not only using the vb styles.
Thats why i hope it would be possible to get RBS working in Photopost without a big effort.

Yes that is my exact same problem.. I have photopost intergration and its enheriting the headers and footer from VB except the banners from RBS wont display only shows this @vbbanners:0@ where the banner should be

y2ksw 04-11-2013 09:21 AM

Quote:

Originally Posted by DonLKSAB (Post 2415563)
So. Anyone solved the Photopost issue?
I desperatly need it and are willing to pay for a solution.
y2ksw any chanse i could pay you to have a look at it?

I fear this would become a pretty complicated hack, also from what I have read right now about photopost. Most probably it would become a source code modification in order to render the banners.

If however "other" banners work, try to use the unsupported iframe solution, which would enable you to show at least the banners as if they were working ... please see here: https://vborg.vbsupport.ru/showpost....&postcount=989

This is however not a true banner rotating solution and you will also have to do some coding.

If you want me to do this, please take in account that I probably will not have time until mid August this year.

DonLKSAB 04-11-2013 11:05 AM

And it works!
Thanks y2kw!

y2ksw 04-11-2013 01:42 PM

It's always nice to hear that something works :)

bada_bing 04-11-2013 03:23 PM

I have an issue using when adding the banner code to the Ad Location Templates-ad_navbar_below the banners show up fine except in the wrong location. If I click on a thread the banner is located below the thread title and not under the navbar.

It looks like this

--------------Navbar----------------------
--------------Thread Title--------------
--------------Banner---------------------

I want this

--------------Navbar----------------------
--------------Banner---------------------
--------------Thread Title--------------

y2ksw 04-12-2013 07:52 AM

Quote:

Originally Posted by bada_bing (Post 2415733)
I have an issue using when adding the banner code to the Ad Location Templates-ad_navbar_below the banners show up fine except in the wrong location. If I click on a thread the banner is located below the thread title and not under the navbar.

It looks like this

--------------Navbar----------------------
--------------Thread Title--------------
--------------Banner---------------------

I want this

--------------Navbar----------------------
--------------Banner---------------------
--------------Thread Title--------------

Most probably you will have to modify the header template directly instead of the ad_* templates.


All times are GMT. The time now is 12:16 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.04401 seconds
  • Memory Usage 1,761KB
  • 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_html_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