Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Removing the boxes within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. I added your code for Adsense after the first post then went to work playing with it. Here is an example: Foto Fanatix Now, I like the way it looks, but did try to remove the 'boxes' around the three


Reply
 
LinkBack Thread Tools
Old 11-18-2006, 05:20 PM   #1 (permalink)
Senior Member
 
G_Man's Avatar
 
Join Date: Oct 2006
Posts: 475
G_Man is on a distinguished road
iTrader: (0)
Removing the boxes

I added your code for Adsense after the first post then went to work playing with it.

Here is an example: Foto Fanatix

Now, I like the way it looks, but did try to remove the 'boxes' around the three ads. Not successfully after about 90 minutes of trying...

Here is my code:

Code:
<!-- / Code Monkey's Adsense Intregration -->

<if condition="$post[postcount] % $vboptions[maxposts] == 1">
    <div style="padding:6px 0px 0px 0px;margin-top:3px;">


    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="" width="100%" align="center">

<tr>
        <th class="thead" height="40px" align="left">Sponsored Links</th>
</tr>
    
    <tr>


   
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="" width="100%" align="center">
 
<td width="33%" align="center" valign="middle" class="alt1" >

<script type="text/javascript"><!--
google_ad_client = "pub-4635489561087125";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "1d1d1d";
google_color_bg = "1d1d1d";
google_color_link = "D5D5D5";
google_color_text = "D5D5D5";
google_color_url = "D5D5D5";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>


<td width="34%" align="center" valign="middle" class="alt1" border="0">

<script type="text/javascript"><!--
google_ad_client = "pub-4635489561087125";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "1d1d1d";
google_color_bg = "1d1d1d";
google_color_link = "D5D5D5";
google_color_text = "D5D5D5";
google_color_url = "D5D5D5";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>


<td width="33%" align="center" valign="middle" class="alt1" border="0">

<script type="text/javascript"><!--
google_ad_client = "pub-4635489561087125";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "1d1d1d";
google_color_bg = "1d1d1d";
google_color_link = "D5D5D5";
google_color_text = "D5D5D5";
google_color_url = "D5D5D5";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>



 
 </table>     

    </tr>
    </table>

    </div>
</if>


Now before you laugh, remember I have ZERO coding experience, please!!

So, how do I get rid of the boxes??

I tried border="" and border="0" and some other things that certainly didn't work!!
G_Man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 11-18-2006, 05:37 PM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
First of all. This is not a PHP related question so I have moved your thread. Why would you want to remove the table formating that matches the vBulletin look?

Anyway, just get rid of the table info and replace it with a div. But I think it looks better the way it is.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-18-2006, 05:55 PM   #3 (permalink)
Senior Member
 
G_Man's Avatar
 
Join Date: Oct 2006
Posts: 475
G_Man is on a distinguished road
iTrader: (0)
Quote:
Originally Posted by Code Monkey View Post
First of all. This is not a PHP related question so I have moved your thread. Why would you want to remove the table formating that matches the vBulletin look?

Anyway, just get rid of the table info and replace it with a div. But I think it looks better the way it is.

Thought this might not be the best spot, but as it was a 'general' coding question. . . .

I like the way it looks, I just couldn't seem to change it and thought this would be good to know for future reference.

Thanks for the education, CM.
G_Man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: ,





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 02:39 PM.
Online Users 42
Registered 2
Guests 40
Members 3364
Active Members 219
Threads 1687
Posts 7143
Top poster: Code Monkey (2203)
Welcome to our newest member, abstrakt
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images