| | |
Adsense ads in showthread
![]() |
The founder of this site made it herself; you should just go to www.vbulletin.org and request for it there.
If you're using vBulletin 3, go into the Style Manager for the style you wish to edit. The change will be made in either the postbit or postbit_legacy template, depending upon which one you use. (User info on top vs. user info on left).
The very bottom of the template should say:
[php]<if condition="$show['spacer']"><if condition="!$post['islastshown']"></div></if>$spacer_close</if>
<!-- / post #$post[postid] -->[/php]
Directly above this, add:
[php]<if condition="$post[postcount]==1">
<!-- text advertising -->
Google AdSense here
<!-- / text advertising -->
</if>[/php]
Of course, it can be customized via HTML and CSS as I have done to have a background, etc.
The very bottom of the template should say:
[php]<if condition="$show['spacer']"><if condition="!$post['islastshown']"></div></if>$spacer_close</if>
<!-- / post #$post[postid] -->[/php]
Directly above this, add:
[php]<if condition="$post[postcount]==1">
<!-- text advertising -->
Google AdSense here
<!-- / text advertising -->
</if>[/php]
Of course, it can be customized via HTML and CSS as I have done to have a background, etc.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Jan 2005
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by cscgal
If you're using vBulletin 3, go into the Style Manager for the style you wish to edit. The change will be made in either the postbit or postbit_legacy template, depending upon which one you use. (User info on top vs. user info on left).
The very bottom of the template should say:
[php]<if condition="$show['spacer']"><if condition="!$post['islastshown']"></div></if>$spacer_close</if>
<!-- / post #$post[postid] -->[/php]
Directly above this, add:
[php]<if condition="$post[postcount]==1">
<!-- text advertising -->
Google AdSense here
<!-- / text advertising -->
</if>[/php]
Of course, it can be customized via HTML and CSS as I have done to have a background, etc.
<if condition="$post[postcount]==1 || 11 || 21">
No. It would be
<if condition="$post[postcount]==1 || $post[postcount]==11 || $post[postcount]==21">
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
This is a nice hack.
YourWirelesssHQ - Free Cell Phones+Free Shipping.
TV+Movie+Sports Bloggers Wanted - Email For More Info.
TV+Movie+Sports Bloggers Wanted - Email For More Info.
Thank you.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Feb 2005
Posts: 8
Reputation:
Solved Threads: 1
•
•
•
•
Originally Posted by cscgal
<if condition="$post[postcount]==1 || $post[postcount]==11 || $post[postcount]==21">
Instead of using adsense, how do you code it for banners?
thanks,
007
p.s. which link in this vbulletin control panel allows me add my signature?
i tried all of them but can't find it.
![]() |
Similar Threads
- What are the factors that influence adsense ads? (Pay-Per-Click Advertising)
- Change AdSense ads (Advertising Sales Strategies)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Highlighting search term puts HTML markup in code snippets
- Next Thread: Test thread :) Please ignore
| Thread Tools | Search this Thread |
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar glitch ie6 itsatag! kids layout login lulz negative newfeature poll post preview privatemessaging problem profanitytest profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search snippet socialgroups solvedthreads sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining






