The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
need some help with ads in postbit [3.7]
Hello.
I'm having a bit of trouble placing an advertisement in the first post of every thread properly. I'm trying to place a 300x250 square inside the first post of each thread, aligned to the right. Here is what I have done to my postbit: This is the ORIGINAL: Code:
<!-- message --> <div id="post_message_$post[postid]" class="post_message">$post[message]</div> <!-- / message --> Code:
<!-- message --> <if condition="(($post[postcount] % $vboptions[maxposts] == 1))"> <table class="tborder" cellpadding="0" cellspacing="1" border="0" width="302" align="right"> <tr> <td class="alt1"><center><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=300X250&cwpid=504309&cwwidth=300&cwheight=250&cwpnet=1&cwtagid=18849"></script></center></td> </tr> </table> </if> <div id="post_message_$post[postid]" class="post_message">$post[message]</div> <!-- / message --> Is there a way to make it so that it will "push" the quote, edit, etc. area down instead of making it go to the left of it? I found a site where they basically did the same thing (but with adsense) and it doesn't mess up the buttons there, so I know it's possible (http://www.modmymoto.com/forums/showthread.php?t=66756). Any suggestions are appreciated. Thanks! |
#2
|
||||
|
||||
Code:
<!-- message --> <div id="post_message_$post[postid]" class="post_message"> <if condition="(($post[postcount] % $vboptions[maxposts] == 1))"> <div style="float: right; margin: 3px; padding 3px;">PLACE AD CODE HERE </div> </if> $post[message]</div> <!-- / message --> Code:
$template_hook[postbit_signature_start] Code:
<div style="clear: both; height: 5%; border-width: 1px 0 0 0; border-style: solid; border-color: black; vertical-align: middle; padding: 5; margin: 5;"><br /> Code:
<!-- / controls --> Code:
</div> |
#3
|
|||
|
|||
Thank you. That's strange, though...because it looks like the website I posted has made it so the buttons do get pushed down somehow...oh well.
Thank you. Edit: THANK YOU! Your edited post worked like a charm! The only thing I changed is Code:
<div style="clear: both; height: 5%; border-width: 1px 0 0 0; border-style: solid; border-color: black; vertical-align: middle; padding: 5; margin: 5;"><br /> Code:
<div style="clear: both; height: 5%; border-width: 0px 0 0 0; border-style: solid; border-color: black; vertical-align: middle; padding: 5; margin: 5;"><br /> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|