How to Add infolinks to vBulletin Forums

by Shabbir on April 23, 2012

infolinks vbulletin1 How to Add infolinks to vBulletin Forums

infolinks Ads in vBulletin

Infolinks works best on content rich pages. So I prefer to have infolinks ads confined to the post content of threads and inside the blog posts of vBulletin Blog. Let us see how we can add infolinks into vBulletin with the following options.

  • Show infolinks ads only on content pages.
  • Show infolinks only in content area of threads and posts and not in navigational and other area of a page.
  • Optionally show infolinks ads only to Guests.

Controlled Ad Placement tags

Controlled ad placement can be implemented by adding <!–INFOLINKS_OFF–> and <!–INFOLINKS_ON–> HTML comments to the content pages. There is no limit on how many times you can place the ON and OFF comments. So let us add the comments near the content.

Edit postbit template (If you are using the postbit_legacy template edit the postbit_legacy template).

Find

$post[message]

And add Infolinks controlled html comments tag before and after the message

<!--INFOLINKS_ON-->$post[message]<!--INFOLINKS_OFF-->

If you are using vBBlog product in your vBulletin 3 you may need to add controlled ad placement to the following 4 templates as well.

  1. blog_entry
  2. blog_entry_featured
  3. blog_entry_profile
  4. blog_show_entry

In each of those 4 templates search for

$blog[message]

And add the ad control convertion comments before and after the message

<!--INFOLINKS_ON-->$blog[message]<!--INFOLINKS_OFF-->

Ad tags

Grab Infolinks ad code and place them in the SHOWTHREAD template just before the closing BODY tag. The infolinks ad code looks like

infolinks code 600x85 How to Add infolinks to vBulletin Forums

If you have vBulletin 3 Blog as an add-on, you will need to place the above code in the BLOG template like SHOWTHREAD template just before the closing body tag.

Only For Guests

If you want to show ads only to guests and not to members you can restrict the ad code with a conditional if statement.

<if condition="!$show[member]">

infolinks code 600x85 How to Add infolinks to vBulletin Forums

</if>

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.

{ 3 comments… read them below or add one }

Pamela April 25, 2012 at 11:41 am

Hi, this is Pamela from Infolinks. Thanks for sharing your knowledge on this! For any questions you might have, email us at support@infolinks.com.

Happy blogging!
Pamela :)

Reply

Gautam April 23, 2012 at 3:55 pm

How infolinks ads are shown on article pages?

Reply

Shabbir April 23, 2012 at 3:58 pm

This is for vBulletin 3 and not for vBulletin 4. For vbulletin 4 there are few plugins like http://www.vbulletin.org/forum/showthread.php?t=256015

Reply

Leave a Comment

Previous post:

Next post: