vBulletin Blog Does not Display Ads From Ad Templates

by Shabbir on November 13, 2009

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 icon biggrin vBulletin Blog Does not Display Ads From Ad Templates

Sign up for Free Course on Ways to Make Money Online?

Don't wanna sign up but prefer posts delivered to your Inbox?

But if you are not planning to subscribe through Email. Try subscribing to RSS.

{ 0 comments… add one now }

Leave a Comment

Spam protection by WP Captcha-Free

Previous post:

Next post: