Using Pockets For Banner Ads

3 minute read

December 5, 2013

Using Pockets For Banner Ads

Get Started With Pockets

Once you have pockets enabled, you will have a new menu item in your dashboard:

Pockets in Menu

On the Pocket settings page, you will see the following:

Pockets Settings

You can turn on “Show Pocket Locations” to see all the slots available on your forum. Only Administrators can see them, so it’s a great way to see where you want to add a pocket.


Adding A Pocket

Now you are ready to add a pocket. Click the “Add Pocket” button and you will be presented with the following page to create your pocket:


Here is some information about each part of the “Add Pocket” form:

Name: This is the name for your pocket. Give it a descriptive name to distinguish different pockets.

Body: Here is where you can add snippets of HTML or Javascript. This is where you could add your Adsense, Doubleclick or any Ad Network you want.

Page:  Use this to control which page your pocket will appear on.

Location:  This is the location of the actual pocket. So for example, discussion page or  the footer.

Repeat: This is how you can decide to have your ad show every third comment in a discussion (using index = 3) or just have an ad just before the footer.

Conditions: With conditions, you control pocket behaviour. For example, you can create a pocket with an ad that will only be seen on mobile devices.

Enable/Disable: You should always enable the pocket in “Test Mode” until you are happy with the way it looks. When a pocket is in test mode, only those with Pocket Admin rights will be able to see your content.
If you are using a Pockets directly in a theme, you should leave the pocket as “disabled”.

Final Word of Caution

Pockets are extremely powerful, so they should not be used lightly. The wrong code can break your forum, so always make sure to try things first in “Test Mode”. Please note: We do not support the code inside pockets.

Vanilla Forums offers a cloud based solution that allows you to create a completely themeable community to look exactly like your website. Try Vanilla Forums Cloud Solution free for 30-days


Share Your Thoughts

Your email address will not be published. Required fields are marked *

Adrian Speyer

Written by Adrian Speyer

Adrian Speyer is the Head of Community and Lead Evangelist for Vanilla by Higher Logic. Besides spending many years in digital marketing, Adrian has been building communities of all sizes for over 20 years.

Have an Article for Vanilla's Blog?

Send us an email to [email protected] with your topic idea and we'll circle back with our publishing guidelines.

Subscribe to the Community Corner Newsletter and get expert insight and analysis on how to get the most out of your online community every Friday.
[contact-form-7 id="5700" title="Newsletter Form"]

Request a Demo

Schedule a product demo now.

Contact Us