vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| 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:
|
|
#2
| |||
| |||
|
#3
| ||||
| ||||
| Quote: |
|
#4
| ||||
| ||||
|
you need to float it to wrap. find: Code: <!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
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. |
|
#5
| ||||
| ||||
|
Hallo briansol, thank you very much. That works well. Martin |
|
#6
| |||
| |||
|
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 |
|
#7
| |||
| |||
|
Just remove the quote button for guests,
|
|
#8
| ||||
| ||||
|
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 --> |
|
#9
| |||
| |||
| how to do this ? I need the right code to remove/disable quote box only for guests. |
|
#10
| |||
| |||
| Quote:
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 ? |
|
#11
| ||||
| ||||
|
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 --> |
|
#12
| ||||
| ||||
| 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 |
|
#13
| |||
| |||
|
For some reason my Google ads does not show up but there is dedicated space for it?
|
|
#14
| |||
| |||
|
Few days back I received an emal from adsense support and they weren't very pleased with that placement.
|
|
#15
| |||
| |||
|
Oh, that is weird. Why as that? So you had to remove it?
|
| Thread Tools | |
| |
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 |