Using Pockets For Banner Ads
Get Started With Pockets
Once you have pockets enabled, you will have a new menu item in your dashboard:
On the Pocket settings page, you will see the following:
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.
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