MyBB Central

Full Version: My Ad Manager v1.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
By downloading and using this software you agree to the terms of this license:
http://www.mybbcentral.com/license.php

Plugin Name: My Ad Manager
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.2
Plugin Mybb Compatibility: 1.6x
Plugin File Edits: None
Plugin File Uploads: 2
Plugin Description: This will create 4 ad zones.

Ad Zones:
1. Headerinlude - This if perfect for inline ad systems like Kontera where you need to add script tags inside head.
2. Top Ad - This is in the header template underneath the navigation bar.
3. Inline Ads - These are ads between posts.
4. Footer Ad - This is in the footer template above the bottom navigation bar.

Each display zone also has a class defined for css control. You will need to alter your theme to add the following classes only if you want to alter them this way.

Zone CSS Classes:
1. Header = headerad{}
2. Inline = inlinead{}
3. Footer = footerad{}

This plugin allows for exemptions by group or forum id for EACH zone.

Installation

1. Upload the files from the zip

root/inc/plugins/my_ad_manager.php
root/inc/languages/english/my_ad_manager.lang.php

2. Login to your admincp and INSTALL & ACTIVATE the plugin (My Ad Manager) in the plugin manager.

3. You will see a new setting group inside admincp settings called "My Ad Manager".

4. Change the settings to suit your needs. By default all ads are off.

Change Log
Version 1.2:
-Added full language support.
-Added INSTALL/UNINSTALL functions.
-MyBB 1.6.5 functionality.

TROUBLESHOOTING
=======================

If ads are not being displayed inline (between posts) try this.
At the very end of both the postbit and posbit_classic template add this:

{$post['inline_ad']}

Also check your settings to make sure everything is enabled. Check that settings.php is writable (chmod 666).


DEMO: http://www.hackforums.net


UPGRADING
=======================

If you are using a version of this plugin created before My Ad Manager v1.2, you will need to DEACTIVATE the one you are currently using and INSTALL & ACTIVATE the current version.

Enjoy.
Thank you so much for this. My upgraded members thank you I guarantee it. Smile
nice advertisement plugin
This works great.
Thank you so much, works amazing.
Is it possible to restrict only non-premium users can see the ads and premium users don't see them
(Feb 03, 2012, 02:03 AM)skindu26 Wrote: [ -> ]Is it possible to restrict only non-premium users can see the ads and premium users don't see them

Yes. It's a setting for exempt groups.
I'm not sure why but this won't exclude groups for me, i've excluded my upgraded members but ads still show for them.

Any tips?
Ignore me, looks like its working....
Awesome plugin Smile Thanks for this.
Works great! Nice plugin!
Pages: 1 2 3 4 5 6 7