vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Advertisements Enhancer + TOS Compatibility (https://vborg.vbsupport.ru/showthread.php?t=110701)

GeorgeNewbie 04-24-2006 04:30 PM

is there a way to put more than one sponsor in and have them side by side...i tried but they sit ontop of one another?

nelto 04-25-2006 11:43 AM

Im kinda of a newb around and I was looking to hsi.

I didnt found any type of instroctions on how to set this up.
Can any one hlep me out here?

RsX 04-27-2006 03:07 AM

Place it in your Header template

RsX 04-27-2006 03:11 AM

Quote:

Originally Posted by GeorgeNewbie
is there a way to put more than one sponsor in and have them side by side...i tried but they sit ontop of one another?

Modify this part of the code:


Code:

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td align="left" width="728" class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ad_head')"><img id="collapseimg_ad_head" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_ad_head].gif" alt="" border="0" /></a>
Sponsored Links</td></tr>
<tbody id="collapseobj_ad_head" style="$vbcollapse[collapseobj_ad_head]">
<tr><td class="alt1" colspan="2" ><span class="smallfont"><center>

 <!-- CODE HERE -->

</center></span></td></tr>
</tbody>
</table>

<br />


to look like this:


Code:

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td align="left" width="728" class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ad_head')"><img id="collapseimg_ad_head" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_ad_head].gif" alt="" border="0" /></a>
Sponsored Links</td></tr>
<tbody id="collapseobj_ad_head" style="$vbcollapse[collapseobj_ad_head]">
<tr><td class="alt1" colspan="2" ><span class="smallfont"><center>

 <!-- CODE OF BANNER 1 HERE -->

</center></span></td></tr>
</tbody>
</table>



<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td align="left" width="728" class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ad_head2')"><img id="collapseimg_ad_head2" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_ad_head2].gif" alt="" border="0" /></a>
Sponsored Links</td></tr>
<tbody id="collapseobj_ad_head2" style="$vbcollapse[collapseobj_ad_head2]">
<tr><td class="alt1" colspan="2" ><span class="smallfont"><center>

 <!-- CODE OF BANNER 2 HERE -->

</center></span></td></tr>
</tbody>
</table>

<br />


wobbly 06-25-2006 01:07 PM

Installed thx,

Is there anyway to make the ads just viewable to certain usergroups at all?

Tulsa 06-25-2006 02:54 PM

Replace the usergroup #'s that you want to be able to see the ad with the 1 2 3 4 etc..

<if condition="is_member_of($bbuserinfo, array(1, 2, 3, 4))">

Insert the code your controlling

</if>

Dannyboy1 06-29-2006 01:35 PM

Here is my question, can I remove Adsense ads only from specific folders with this script? I need to do that :)

Get Shorty 07-01-2006 08:47 PM

Simple to change... Great idea!

Clicked install...

Get Shorty 07-02-2006 12:12 AM

:\

I'm using this for my Adsense banners. Anytime someone clicks on a banner, the following error shows up:

This page contains the following errors:

error on line 1 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.




Any thoughts? I just pasted my adsense code in the specified area.


edit
Nevermind. It just doesn't seem to work in Safari. It works perfectly in IE and Firefox. :)

Cosimo 07-05-2006 10:29 PM

Great work :)

Installed it currently on my vb3.6.0b4


All times are GMT. The time now is 02:25 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.01117 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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