vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

How do I get google adsense to right on top?

This is a discussion on How do I get google adsense to right on top? within the Google Adsense, YPN, & Other Ad Networks forums, part of the Monetizing category; How do I get google adsense to right on top? Below code that I use. With that code adsense is ...

Go Back   vBulletin SEO Forums > Monetizing > Google Adsense, YPN, & Other Ad Networks

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 03-05-2008, 01:00 PM
mabe38's Avatar
Senior Member
 
Real Name: Martin Behrsing
Join Date: Jan 2008
Posts: 101
How do I get google adsense to right on top?

How do I get google adsense to right on top?

Below code that I use. With that code adsense is always at the bottom right. (see here: http://www.elo-forum.org/news-diskus...erechtigt.html )It should be right on top and the text should wrapped around it. Like this:
Who is your best friend on UNP ?

Thank you
Martin

Quote:
<!-- Google -->
<if condition="($post[postcount]==1) and ($show['guest'])">
<div align="right">
google-script
</div>
</if>
<if condition="($post[postcount]==1) and ($show['guest'])">
<div align="right">
<font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://www.elo-forum.org/register.php" target="_parent">Einloggen
oder registrieren, um diese Werbung nicht zu sehen.</a></font>
</div>
</if>
<br />
<!-- / google -->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 03-05-2008, 01:53 PM
Senior Member
Big Board Administrator
 
Real Name: Dhillon
Join Date: Apr 2006
Location: Chandigarh/Glasgow
Posts: 290
This is what I am using.

Adsense Inside the Post - vBulletin.org Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 03-05-2008, 02:11 PM
mabe38's Avatar
Senior Member
 
Real Name: Martin Behrsing
Join Date: Jan 2008
Posts: 101
Quote:
Originally Posted by Notorious View Post
Sorry. It has the same effect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 03-05-2008, 03:14 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,536
you need to float it to wrap.

find:
Code:
<!-- message -->
        <div id="post_message_$post[postid]">$post[message]</div>
        <!-- / message -->
in postbit or postbit_legacy (which ever you are using)

replace with:

Code:
<!-- message -->
        <div id="post_message_$post[postid]">
<if condition="($post[postcount]==1) and ($show['guest'])">
<div style="float: right; margin: 0 0 5px 5px;">
////////google code here/////////////
</div>
</if>
$post[message]
</div>
        <!-- / message -->

Last edited by briansol; 05-16-2008 at 01:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 03-05-2008, 03:27 PM
mabe38's Avatar
Senior Member
 
Real Name: Martin Behrsing
Join Date: Jan 2008
Posts: 101
Hallo briansol,

thank you very much. That works well.

Martin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 05-17-2008, 07:25 AM
Senior Member
Big Board Administrator
 
Real Name: Future
Join Date: Mar 2006
Posts: 440
I still have the same issue if there are more then 20 lines quote button appears properly but if there are 2 or 5 lines in first post my message is messed :/

http://www.vbseo.com/attachments/f16...st-adsense.jpg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 05-17-2008, 07:37 AM
Senior Member
Big Board Administrator
 
Real Name: Dhillon
Join Date: Apr 2006
Location: Chandigarh/Glasgow
Posts: 290
Just remove the quote button for guests,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 05-17-2008, 05:03 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,536
try:

<!-- message -->
<div id="post_message_$post[postid]">
<if condition="($post[postcount]==1) and ($show['guest'])">
<div style="float: right; margin: 0 0 5px 5px;">
////////google code here/////////////
</div>
</if>
$post[message]
<br style="clear: both;" />
</div>
<!-- / message -->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 05-22-2008, 04:35 AM
Senior Member
Big Board Administrator
 
Real Name: Future
Join Date: Mar 2006
Posts: 440
Quote:
Originally Posted by Notorious View Post
Just remove the quote button for guests,
how to do this ?
I need the right code to remove/disable quote box only for guests.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 05-22-2008, 04:39 AM
Senior Member
Big Board Administrator
 
Real Name: Future
Join Date: Mar 2006
Posts: 440
Quote:
Originally Posted by briansol View Post
try:

<!-- message -->
<div id="post_message_$post[postid]">
<if condition="($post[postcount]==1) and ($show['guest'])">
<div style="float: right; margin: 0 0 5px 5px;">
////////google code here/////////////
</div>
</if>
$post[message]
<br style="clear: both;" />
</div>
<!-- / message -->
Thank you Sir,
Its working fine now.. can you explain why it was not working earlier ?

Can you also let me know how can i add another square box to right side of second post please ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 05-22-2008, 03:46 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,536
I added the clear fix.
that pushes content below a float to the next line, as floats are 'out of context' so to speak.

to ad another to the second post, do the same thing.... but change postcount == 2




<!-- message -->
<div id="post_message_$post[postid]">
<if condition="($post[postcount]==1) and ($show['guest'])">
<div style="float: right; margin: 0 0 5px 5px;">
////////google code here/////////////
</div>
</if>
<if condition="($post[postcount]==2) and ($show['guest'])">
<div style="float: right; margin: 0 0 5px 5px;">
////////2nd code here/////////////
</div>
</if>
$post[message]
<br style="clear: both;" />
</div>
<!-- / message -->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 05-22-2008, 04:49 PM
Ace Shattock's Avatar
vBSEO Staff
vBSEO Total Customer SupportCommunity Builder
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 2,923
Quote:
Originally Posted by Future View Post
Thank you Sir,
Its working fine now.. can you explain why it was not working earlier ?

Can you also let me know how can i add another square box to right side of second post please ?
Reporting posts to get Staff to help you with a question is frowned-upon Future, please only use the Report Post feature for what it is designed for in the future.
__________________
Ace Shattock / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 10-29-2008, 09:15 AM
Junior Member
 
Real Name: Mark Marksson
Join Date: Jun 2008
Posts: 23
For some reason my Google ads does not show up but there is dedicated space for it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #14  
Old 10-29-2008, 09:22 AM
Senior Member
Big Board Administrator
 
Real Name: Dhillon
Join Date: Apr 2006
Location: Chandigarh/Glasgow
Posts: 290
Few days back I received an emal from adsense support and they weren't very pleased with that placement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #15  
Old 10-29-2008, 09:23 AM
Junior Member
 
Real Name: Mark Marksson
Join Date: Jun 2008
Posts: 23
Oh, that is weird. Why as that? So you had to remove it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Better than Google Adsense vBSEO Blogger Member Blogs 0 02-09-2008 07:40 AM
Google Adsense Exitilus Google Adsense, YPN, & Other Ad Networks 3 02-10-2007 03:54 PM
google adsense hc.... Google Adsense, YPN, & Other Ad Networks 37 01-06-2006 03:51 PM
Google adsense need help/questions hc.... Google Adsense, YPN, & Other Ad Networks 3 12-06-2005 10:52 PM


All times are GMT -4. The time now is 05:02 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.