vBulletin Search Engine Optimization
This is a discussion on How to get adsense on right side of first post ? within the Google Adsense, YPN, & Other Ad Networks forums, part of the Monetizing category; How to add adsense square box 336 x 280 pixel size on right side of first post ? I am ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| How to get adsense on right side of first post ?
How to add adsense square box 336 x 280 pixel size on right side of first post ? I am using this code. Code: <!-- message --> <if condition="!is_member_of($bbuserinfo, 2, 5, 6)"> <if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])"> <span style="margin: 2px; float: right; width: 336px; height: 280px;"> <script type="text/javascript"><!-- google_ad_client = "pub-121212121212121212"; /* Style 2 - Box 1 */ google_ad_slot = "121212121212"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </span> </if> </if> <div id="post_message_$post[postid]"> <!-- google_ad_section_start --> $post[message]</div> <!-- google_ad_section_end --> <!-- / message --> My quote box is messed up. Please help me fix this ASAP. Last edited by Future; 05-13-2008 at 08:20 AM. |
|
#2
| |||
| |||
|
Quote box in above image appears only when there are couple of lines in first post, if there are many lines in first post quote box is aligned properly. What should be done ? |
|
#3
| ||||
| ||||
|
-hello, better you take divs Quote:
|
|
#4
| |||
| |||
|
thank you for the reply, I am unable to understand your code above, can you kindly include the code above in my first post and re-post the same with required changes ? Did you meant to use <div> tag instead of <span> ? and move <div id="post_message_$post[postid]"> before <if> condition ? |
|
#5
| ||||
| ||||
|
Yes, I mean div-tags If you take a look at our forum you will see, that the code work very well. Only guests can see the code in the thread. Trainingsmaßnahme |
|
#6
| |||
| |||
|
I did what you asked above.. but it still wont work. this is my entire postbit code. Code: <!-- message --> <div id="post_message_$post[postid]"> <if condition="!is_member_of($bbuserinfo, 2,5,6)"> <if condition="(($post[postcount] % $vboptions[maxposts] == 1))"> <div style="float: right; margin: 0 0 5px 5px;"> <script type="text/javascript"><!-- google_ad_client = "pub-34534534534516"; /* 123123*/ google_ad_slot = "123123123000"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </if> </if> <!-- google_ad_section_start --> $post[message]</div> <!-- google_ad_section_end --> <!-- / message --> |
|
#7
| |||
| |||
|
bumping back, anyone from vbseo team can help me out here ?
|
|
#8
| ||||
| ||||
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Side Column Help | BamaStangGuy | Template Modifications | 0 | 10-17-2007 01:04 AM |
| Adsense last post on page | beastybob | Google Adsense, YPN, & Other Ad Networks | 34 | 10-01-2007 05:53 PM |
| "Email this Page" and Google Adsense in post. | dealcrasher | Custom Rewrite Rules | 0 | 05-26-2007 02:20 PM |
| Adsense 1st Post - Firefox Issue | sfc | Google Adsense, YPN, & Other Ad Networks | 1 | 04-30-2007 03:20 PM |
| a side benefit: stats sure are more useful now | Island | vBSEO Reviews | 1 | 03-10-2007 12:18 AM |