Irish SEO,  Marketing & Webmaster Discussion

 
Affiliates get Paid On Results, Click Here!

Making the second post in vbulletin topic an advert. Problem!

This is a discussion on Making the second post in vbulletin topic an advert. Problem! within the Coding Help forums, part of the Webmaster Help category; Hello, On one of my websites, Immigrant.ie - Living and working in Ireland - Immigration - Powered by vBulletin I've ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-03-2007, 02:18 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default Making the second post in vbulletin topic an advert. Problem!

Hello,

On one of my websites, Immigrant.ie - Living and working in Ireland - Immigration - Powered by vBulletin I've made the second post in my topics a google advert.

You can see an example here: Immigrantion to Ireland - Page 2 - Immigrant.ie - Living and working in Ireland - Immigration

The problem is that the last (the bottom) quick reply icon now no longer works. I'm assuming this is because the inserted advert is messing up the counter or something like that.

I added the advert by editing the postbit template.

Does anyone know of a (free) working solution for this?

The bottom of my postbit looks like this -

PHP Code:
<!-- / post $post[postidpopup menu -->
 
 
<if 
condition="$show['spacer']">
 </
div>
 
$spacer_close
</if>
<!-- / 
post #$post[postid] -->
<if condition="!$GLOBALS['FIRSTPOSTID']"
$spacer_open 
<div style="padding:0px 0px $stylevar[cellpadding]px 0px"
<
table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"
<
tr
    <
td class="alt1" align="center"
<
br />
<
script type="text/javascript"><!--
google_ad_client "pub-5837688024799585";
google_ad_width 728;
google_ad_height 90;
google_ad_format "728x90_as";
google_ad_type "text_image";
//2007-03-20: Immi
google_ad_channel "2321808298";
google_color_border "FFFFFF";
google_color_bg "FFFFFF";
google_color_link "0000FF";
google_color_text "000000";
google_color_url "0000FF";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br />
</if> 
    </td> 
</tr> 
</table> 
</div> 
$spacer_close 
</if> 
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 30-03-2007, 01:19 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,578
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

There are several threads on vbulletin.org on integrating adsense into vbulletin in varying positions - including making it really prominent for guest users.
I'd recommend having a poke around over there
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 30-03-2007, 01:42 PM
paul's Avatar
ninja SEO
Recent Blog: That SEO contest
 
Join Date: Dec 2006
Location: .de
Posts: 1,120
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
paul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud of
Default

you can always reset the template and start again... I know I have to do that from time to time.
__________________
my sites :
irish poker / irish jobs / seo faq / advertise jobs free / green card / skiing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-04-2007, 12:33 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default

Solved this, in case anyone's interested -

PHP Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
 <
div align="center">
  <
div class="page" style="width:100%; text-align:left">
   <
div style="padding:0px 25px 0px 25px">
    <
div id="edit1204" style="padding:0px 0px 6px 0px">
<
div style="padding:0px 0px $stylevar[cellpadding]px 0px"
<
table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <
tr>
        <
td class="alt1" align="center">
        <
br />
<
script type="text/javascript"><!--
google_ad_client "pub-5837688024799585";
google_ad_width 728;
google_ad_height 90;
google_ad_format "728x90_as";
google_ad_type "text_image";
//2007-03-20: Immi
google_ad_channel "2321808298";
google_color_border "FFFFFF";
google_color_bg "FFFFFF";
google_color_link "0000FF";
google_color_text "000000";
google_color_url "0000FF";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br />
        </td>
    </tr>
    </table>
    </div>
</div></div></div></div>
</if> 
- placed at the very bottom of postbit.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
advert, making, post, problem, topic, vbulletin

Thread Tools
Display Modes

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

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


Sponsored links

Paid On Results


All times are GMT +1. The time now is 04:32 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0