REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 14 Votes - 4.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Ad Manager
Sep 11, 2008, 02:26 AM (This post was last modified: Jan 19, 2010 02:47 PM by labrocca.)
Post: #1
My Ad Manager
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.1.4
Plugin Mybb Compatibility: 1.4x
Plugin File Edits: None
Plugin File Uploads: 1
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 file from the zip

root/inc/plugins/my_ad_manager.php

2. Login to your admincp and 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.

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.mybbcentral.com

Enjoy.

EDIT: If you run version 1.0 of this plugin uninstall and install version 1.1. There was a problem in display on index. I used a new method and everything seems to work well. Please report bugs in this thread so I can fix them immediately. Also subscribe to this thread if you want updates.

UPDATE: Version 1.1.2 is now released. If you run 1.1.1 or 1.1 then simply overwrite the new file. There is an exemption for the inline ads that doesn't work. It's a one line fix and doesn't require a uninstall or deactivation. Please update.

UPDATE: Version 1.1.3 is released. There seems to be an issue with mybb 1.4.2 and it not recognizing the plugin already installed. This is the fix. To update simply overwrite the plugin file /inc/plugins/my_ad_manager.php to update.

UPDATE: Version 1.1.4 is released. A bug existed where default templates were not edited only custom ones.

UPDATE: Version 1.1.5 is released. Fixed install bug for SID and GID being NULL. Fixed bug where isdefault was "no" instead of "0". If you have this installed already no need to update.


Attached File(s) Thumbnail(s)
   

.zip  My_Ad_Manager_v1.1.5.zip (Size: 27.61 KB / Downloads: 107)

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Sep 11, 2008, 02:44 AM
Post: #2
RE: My Ad Manager
Works perfect. Even with my screwed up theme. Very impressed. I had tried several other add plugins and all failed in some level.
Most likely due to my theme being screwey... But this works perfect... Thankyou so so much Laborocca.

Dont ask me for plugins. Here or on FTW. Or i will inform Labrocca!
[Image: index.php]
[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 03:05 AM
Post: #3
RE: My Ad Manager
Great!

Can we like install it on the master forum of a multiforum, then advertistments would be like appear on all the forums being hosted..
Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 04:54 AM
Post: #4
RE: My Ad Manager
(Sep 11, 2008 03:05 AM)OceanLove Wrote:  Great!

Can we like install it on the master forum of a multiforum, then advertistments would be like appear on all the forums being hosted..

I cant say for 100% but as you can choose which forums you want them to be shown in i would think yes.. But like i said im not 100%.

Dont ask me for plugins. Here or on FTW. Or i will inform Labrocca!
[Image: index.php]
[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 10:27 AM
Post: #5
RE: My Ad Manager
(Sep 11, 2008 03:05 AM)OceanLove Wrote:  Great!

Can we like install it on the master forum of a multiforum, then advertistments would be like appear on all the forums being hosted..

I have no idea how the multiforum is doing it's seperations and it's plugin system. You need to ask that author.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 10:35 AM
Post: #6
RE: My Ad Manager
I think is better than ads before post plugin...
thanks

[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Sep 11, 2008, 12:32 PM
Post: #7
RE: My Ad Manager
(Sep 11, 2008 10:35 AM)Sk8TeR Wrote:  I think is better than ads before post plugin...
thanks

It's MUCH better as it offers 4 zones plus group and forum id exempts.

It also will install without problems on ANY theme. No other ad plugin can boast that.

More to come as I also add revenue sharing options to this.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 01:16 PM (This post was last modified: Sep 11, 2008 01:17 PM by CoDPlay3r.)
Post: #8
RE: My Ad Manager
Sweet, I'll probably install this later on today.

And yeah the rev. share would be a great addition Smile

*EDIT* In regards to the rev. share it would great if you could specify specific users or usergroups rather than enable it for everyone.
Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 01:58 PM
Post: #9
RE: My Ad Manager
(Sep 11, 2008 01:16 PM)CoDPlay3r Wrote:  *EDIT* In regards to the rev. share it would great if you could specify specific users or usergroups rather than enable it for everyone.

Of course. Smile

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 11, 2008, 02:31 PM
Post: #10
RE: My Ad Manager
Awesome, I've been waiting for this as well. Great job, it is working quite decently on my forum.

Thanks and very much appreciated. Big Grin

[Image: logo.gif]
Xtemulation Forums
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Ads not showing up in Ad Manager trilobyte- 10 465 Nov 20, 2009 07:17 PM
Last Post: dyrer
  Just noticed something in Ad Manager Joshua Mayer 3 799 Mar 14, 2009 02:37 PM
Last Post: labrocca

Forum Jump:



icon buffet