vBulletin Blog Does not Display Ads From Ad Templates

by Shabbir on November 13, 2009

in CMS

I upgraded MBAGuys.net to latest vBulletin. vBulletin Blog is 2.0.2 is currently the latest vBBlog and I expected the bugs to be removed but I still saw the same bug which was there quite sometime back. So let's see what it is and how you can fix it.

Bug Description

If you want to display ads before or after your blog post you need to add the code in the template "ad_blog_showentry_after" but if you do that it would not display your ads.

Solution

The reason ads are not displayed is because the ad template name and ad variable name used in the concerned template are different.

Edit the template blog_show_entry
The first line $ad_location[ad_blog_entry_before]
Change it to the following
$ad_location[ad_blog_showentry_before]

Right somewhere in the middle of blog_show_entry find
$ad_location[ad_blog_entry_after]
Change it to the following
$ad_location[ad_blog_showentry_after]

Doing this would enable you to place ads before or after the blog post.

Enjoy :D

Share:
  • Digg
  • Facebook
  • StumbleUpon
  • Technorati
  • Twitter
Other Related Posts:
  1. vBulletin or xenForo
  2. phpBB Vs vBulletin and why vBulletin?
  3. Integrate AWeber with vBulletin Registration
  4. Clarification of New License Terms for vBulletin
  5. Stop vBulletin Spam Part II

Want More Tips on How to Make Money Online?
Enter your Name and Email below to subscribe and start 1 month free course now.

Name:
Email:
You would require to confirm your email address before we send you any updates. We respect your privacy as much as you do.
Powered by Aweber
blog comments powered by Disqus

Previous post:

Next post:

    About the Author

  • author photo

    My Name is Shabbir Bhimani and I am developer by profession in the field of applications, web and database. Currently doing full time online marketing and like to share my experiences on how you can make money online @ CodeItWell.com. Read more ...


    See how you can get in touch with me.