ClipperSoft Support Forums

Full Version: How To : How can I show mySimpleAds ads in VBulletin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using MySimpleAds in the VBulletin Forum:

This was tested on vBulletin 3.5.4.

1. Login to the Admin Control Panel

2. Open the Plugin System Menu and Select 'Add New Plugin'

3. Select the hook location (such as 'forumhome_start')

4. Insert the PHP code in the text box as follows:

ob_start();
INSERT AD CODE HERE (WITHOUT THE $mybanner = ob_get_contents();
ob_end_clean();

Making necessary changes to the include_once directory path and using the
desired show_ad or show_ad_group number and code

5. Mark the plugin as active.

6. Make sure the VBulletin Plugin System is active (click the link in the Plugin Manager
that tells VBulletin to active the Plugin System)

7. Save the plugin

8. Open up the Styles & Templates Menu and select 'Style Manager'

9. In the pull down list, select 'Edit Templates'

10. Find the appropriate location to insert the code, such as 'Forum Home Templates/ForumHome'.

11. Double-Click the location, such as ForumHome

12. In the editor paste $GLOBALS[mybanner] in the desired location

13. Save the template change

Your done.
Reference URL's