I'm currently setup with my ads on the right side of the thread content but I want them to be under the content of the threads
How do I change location of my adsense
Collapse
X
-
-
I know which template to edit I just dont know how to give the "the under content direction code" -
You would probably write some CSS to do it? Probably need to clear:both . Do you have a link to the page where it shows? And an image of what you want it to look like? If so, I can probably write some CSS for it.
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
Comment
-
I want to do that for the first and last posts
this is what I have for that one shown above
<vb:if condition="$adsense_pub_id AND CONTENT_PAGE">
<vb:if condition="!$bbuserinfo['userid']">
<div style= width:600px; height:0px; margin-left:10px">
<script type="text/javascript"><!--
google_ad_client = "pub-1525888074385876";
/* 468x60, created 6/7/10 */
google_ad_slot = "7540443810";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>Comment
-
First thing you need to do is make your html correct:
HTML Code:<div style="width:600px; height:0px; margin-left:10px">
But, I think you will have to actually edit the template to move it. In the postbit_legacy template, just move it. Find:
Code:{vb:raw ad_location.thread_first_post_content}
Code:<blockquote class="postcontent restore "> {vb:raw post.message} </blockquote> [B] <vb:if condition="$post['isfirstshown']"> {vb:raw ad_location.thread_first_post_content} </vb:if>[/B] </div>
Finding this line:
Code:<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
Code:<div class="content">
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
I tried it and it didnt work not sure if I did it right though, and little confused - I found the
{vb:raw ad_location.thread_first_post_content}
then I put the added bold under it..
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.thread_first_post_content}
</vb:if>
</div>
then I replaced the last partComment
-
FYI
you know that my default adsense is in the templete ad_showthread_firstpost_start is it supposed to be the ad_thread_first_post_contentComment
-
Last thing when I put my code in the this template its not working properly it's not showing up in my last posts ad_thread_last_post_contentComment
-
Did you move the code or just add the same code below the post? Also, I assumed you were adding the ads via the Advertising tab - are you not?
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
Yea I just coped the code and placed it under, --- no I wasn't using the ad tab because it was giving me limited options --- Here is a URL at digital point this is what I want it to look like
Comment
-
Probably the best place to get some help modifying your template and writing the CSS to get it to look that way would be on vbulletin.org, the modification site.
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
Comment
Related Topics
Collapse
-
by luismCan anyone guide me or get me started on how to place an ad module on the threads?
For example, see the link of where I would like an ad to appear on the right side (the rectangle type).....-
Channel: Support Issues & Questions
-
-
by LetzrideHi there,
I am trying to implement Google Adsense into my conversation content like I see on so many forums - I would like my ad to be randomly injected into one of the posts for non registered...-
Channel: vB Cloud Support & Troubleshooting.
-
-
by dammieHi,
I found in the site builder the option to place ads in the first post.
I added the Adsense code and activated but nog ads are seen yet.
All the other places...-
Channel: vB Cloud Support & Troubleshooting.
-
Comment