My Ad Manager v1.2

Discussion in 'MyBB Discussions' started by JustinM, Feb 4, 2012.

  1. JustinM

    JustinM Regular Member

    Joined:
    Feb 4, 2012
    Messages:
    7
    Likes Received:
    1
    Credit goes to Jessie Labrocca as known as Omniscient.

    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).

    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.

    ai.imgur.com_Nu6SC.gif
     

    Attached Files:

  2. karoshio

    karoshio Regular Member

    Joined:
    May 22, 2011
    Messages:
    158
    Likes Received:
    42
    EDIT: I was wrong, I think.

    Nice share.
     
  3. ridwan sameer

    ridwan sameer Regular Member

    Joined:
    Feb 2, 2012
    Messages:
    31
    Likes Received:
    3
    I thought this wasnt updated to 1.6
    Guess i was wrong, one of the better ad managers for MyBB
     

Share This Page