The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i want the post with my adsense code to match the other posts. same size. how do i do that
my site ^check it there. post after the first post |
#2
|
||||
|
||||
![]()
did you add the code for "ads randomly in post" hack ?
|
#3
|
|||
|
|||
![]() |
#4
|
||||
|
||||
![]()
ah, well I would ask in that thread then
![]() That will give you the quickest results. cheers |
#5
|
|||
|
|||
![]()
someone already asked the same thing in that thread but never got a response
![]() i asked it too. doesnt seem like that mod is active these days though ![]() ![]() |
#6
|
|||
|
|||
![]()
Here, spiffed it up a bit, added the icon and border to more resemble a real post.
The added br tag will give all the posts more spacing between each post, but it will also break the ad off from the post. Code:
<br /> <!-- START ADSENSE REVENUE --> <if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,6,7)))"> <table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px" width="175"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="#">Focused.ORG</a> <else /> Focused.ORG </if> <br><br><script type="text/javascript"><!-- google_ad_client = "YOUR ADSENSE ID HERE!"; google_ad_width = 125; google_ad_height = 125; google_ad_format = "125x125_as_rimg"; google_cpa_choice = "CAAQ8OCIlAIaCP1TkEVpn_IYKITHrYMB"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </td> <if condition="$show['moderated']"> <td class="alt2" id=""> <else /> <td class="alt1" id=""> </if> <if condition="$show['messageicon'] OR $post['title']"> <div class="smallfont"> <img class="inlineimg" src="images/icons/icon1.gif" alt="GoogleAds" border="0" /> <if condition="$post['title']"><strong>Sponsored links</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> </if> <!-- message --> <div id="post_message_$post[postid]"> <if condition="$show['spacer']"> </if> <div align="left"> <script type="text/javascript"><!-- google_ad_client = "YOUR ADSENSE ID GOES HERE!"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "D0DFE4"; google_color_bg = "E2ECEF"; google_color_link = "85868F"; google_color_text = "85868F"; google_color_url = "85868F"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <if condition="$show['spacer']"> </if> </div> <!-- / message --> </td> </tr> </table><br> <!-- / post $post[postid] popup menu --> </div> </if> |
#7
|
|||
|
|||
![]()
all you added to the code was the <br />?
cause that didnt help all it did was make a space in between. like you said. but it didnt make it look like a regular post. just made it stand out even more =/ thanks for trying to help though. but not what i was looking for =/ |
#8
|
|||
|
|||
![]()
It works fine on my site and does EXACTLY as i stated in my post.
|
#9
|
|||
|
|||
![]()
wow. so what am i doing wrong? i didnt do anything wrong im pretty sure. did you add anything other than the <br /> tag?
oh seems like you did. nevermind. let me see if i can get this to work. thanks man! yea thanks a ton man. that did the job. i took the <br /> at the top and bottom off though to eliminate the extra space. but i like how its looking now ![]() |
#10
|
|||
|
|||
![]()
Your Welcome...
I didn't add the break at the bottom, only the one at the top. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|