vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - MARCO1 Banner Ads System (https://vborg.vbsupport.ru/showthread.php?t=210956)

MrsZippy 08-06-2009 04:55 PM

great mod, got it working a treat on our forum http://www.zippyracing.co.uk/forum/index.php.

As you can see i've figured out how to change the size & number of ads showing, is there an update due sometime to allow extra rows / more than 4 ads or is this something i will have to add manually too?

MikesSite 08-06-2009 05:03 PM

Can somebody please tell me how to assign this to only 1 particular section of the forum? Thanks

safakuygur 08-06-2009 05:15 PM

very nice thanks

dr nick 08-07-2009 01:34 PM

How do you change it to just one banner?

adoxtater 08-24-2009 06:17 AM

EDIT: Figured it out. Here's how to make it a single banner. But it still has a weird border around the banner I'm trying to figure out how to get rid of......

Comment out the lines you don't need in the product XML file as shown below like I did to mine. Notice I also changed my banner size from the default 150x50px to 728x90px. This is all I did and it works great. Just edit this and import it as normal.


Code:

      <td class="alt2">
      <p align="center">
    <a  href="{$vboptions['MARCO1_Siteurl']}" target="_blank" >
    <img border="0" img title="{$vboptions['MARCO1_Siteinfo']}"  src="{$vboptions['MARCO1_Sitepic']}" width="728" height="90"></a></p></td>
<!--      <td class="alt1">
<!--      <p align="center">
<!--            <p align="center">
<!--    <a  href="{$vboptions['MARCO1_Siteurl2']}" target="_blank" >
<!--    <img border="0" img title="{$vboptions['MARCO1_Siteinfo2']}"  src="{$vboptions['MARCO1_Sitepic2']}" width="150" height="50"></a></p></td>
<!--      <td class="alt1">
<!--      <p align="center">
<!--                  <p align="center">
<!--    <a  href="{$vboptions['MARCO1_Siteurl3']}" target="_blank" >
<!--    <img border="0" img title="{$vboptions['MARCO1_Siteinfo3']}"  src="{$vboptions['MARCO1_Sitepic3']}" width="150" height="50"></a></p></td>
<!--      <td class="alt1">
<!--      <p align="center">
<!--                  <p align="center">
<!--    <a  href="{$vboptions['MARCO1_Siteurl4']}" target="_blank" >
<!--    <img border="0" img title="{$vboptions['MARCO1_Siteinfo4']}"  src="{$vboptions['MARCO1_Sitepic4']}" width="150" height="50"></a></p></td>
      </table>


atcspaul 08-24-2009 01:14 PM

what size image in each box or is that up to us? nice mod

Silencer Groans 09-12-2009 02:00 PM

ممتاز يا ماركو

nes7ob.com 10-26-2009 07:11 PM

Nice

Gav-n-Tn 10-26-2009 07:35 PM

Quote:

Originally Posted by MrsZippy (Post 1862684)
great mod, got it working a treat on our forum http://www.zippyracing.co.uk/forum/index.php.

As you can see i've figured out how to change the size & number of ads showing, is there an update due sometime to allow extra rows / more than 4 ads or is this something i will have to add manually too?

I'd like more information on how you done that. I went to your site and I like it.

pantani 11-03-2009 05:16 PM

Thanks nice one, installed

MrsZippy 11-03-2009 10:03 PM

Quote:

Originally Posted by Gav-n-Tn (Post 1906572)
I'd like more information on how you done that. I went to your site and I like it.

Trial and error lol

Here is a copy of the template file i have edited:
PHP Code:

<br>
<
div align="center">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="1" width="100%" style="border-collapse: collapse">
<
thead>
    <
tr>
       
<if 
condition="$vboptions[MARCO1_border]">
 <
td class="tcat" colspan="4" align="center" height="20">
<
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('MARCO1_system')"><img id="collapseimg_MARCO1_system" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_MARCO1_system].gif" alt="" border="0" /></a>$vboptions[MARCO1_Forum_name] </td
<
tbody id="collapseobj_MARCO1_system" style="$vbcollapse[collapseobj_MARCO1_system]">
                </if>
            
    </
tr>
</
thead>
<
tr>
                
      <
td class="alt2">
      <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo']}"  src="{$vboptions['MARCO1_Sitepic']}height="65"></a></p></td>
      <
td class="alt1">
      <
p align="center">
            <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl2']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo2']}"  src="{$vboptions['MARCO1_Sitepic2']}height="65"></a></p></td>
<
td class="alt2">
      <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl3']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo3']}"  src="{$vboptions['MARCO1_Sitepic3']}height="65"></a></p></td>      
       </
table>
</
div>
<
br

Just edit these sections for image sizes and to add/remove sections
PHP Code:

<td class="alt2">
      <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo']}"  src="{$vboptions['MARCO1_Sitepic']}height="65"></a></p></td>
      <
td class="alt1">
      <
p align="center">
            <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl2']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo2']}"  src="{$vboptions['MARCO1_Sitepic2']}height="65"></a></p></td>
<
td class="alt2">
      <
p align="center">
    <
a  href="{$vboptions['MARCO1_Siteurl3']}target="_blank" >
    <
img border="0" img title="{$vboptions['MARCO1_Siteinfo3']}"  src="{$vboptions['MARCO1_Sitepic3']}height="65"></a></p></td>      
       </
table

I haven't gotten around to adding another row yet but that will come.

Jo

ZuFett 11-06-2009 07:38 PM

I want put the box under my top-10-stats but i dont find the "$MARCO1_Banner_Ads" in my FORUMHOME or FORUMDISPLAYS. I installed TMS but there isnt a option for this Add-On.
Someone can help me?

ProfitTheKing 11-06-2009 09:05 PM

Anyway to put this below the forums instead on top?

ZEHH 11-08-2009 07:23 PM

Muito legal esse mod Marco, está de parabéns !!

vtck 01-24-2010 02:59 AM

What if I want to display banner on html or php pages that is not vb? Can it be done? How to do it?

Rideharder 01-30-2010 12:03 AM

thanks works good www.speedaholic.net

Rideharder 01-30-2010 11:36 PM

did not work good in Firefoxs.. Removed..:(


All times are GMT. The time now is 07:26 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.01166 seconds
  • Memory Usage 1,798KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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