Current time: 05-20-2012, 09:44 AM Hello There, Guest! (LoginRegister)




MySubscriptions, Donation Bar, MyDownloads, MyAchievements and support for our free and paid plugins. All that for $7!

Advertise Here!
Are you looking to advertise on this forum? Please read this announcement thread.

Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Advertisements 2.0.3
08-12-2010, 01:24 AM (This post was last modified: 12-26-2011 06:05 AM by Pirata Nervo.)
Post: #1
My Advertisements 2.0.3
Everyone can download this plugin but only subscribers can reply to this thread and get support. Click here to subscribe.

Description
My Advertisements is the most powerful advertisements manager for MyBB as of now.

It allows administrators to create multiple zones and place the zone codes wherever they want in templates.

They can then assign multiple advertisements to each zone and they'll be randomly displayed to the users. You can also set which users cannot see each advertisement.

This advertisements manager logs views and clicks for each advertisement (clicks are logged via JavaScript so in case the user has JavaScript disabled, the click will not be logged) - this way there are no redirects which may not look good to your users.

By default, there are three zones:
* Header
* Footer
* Postbit

These cannot be deleted and are automatically added to the templates.

Screenshots - initial version
[Image: screenshot3ljf.th.png]
[Image: screenshot2iwc.th.png]
[Image: screenshot1zmy.th.png]

(the users listed are subscribers here but either have sent a direct payment to my paypal account or have a free subscription)

Instructions/Upgrading/Installing
Read the readme file.

Change Log
* 2.0.3
Uses one less query per post (only runs once per thread view instead of per post post).
Added an option to enable or desable the "query / advertisement" on postbit, please read comments above the following line found at the top of /inc/plugins/myadvertisements.php: define("MYADS_DIF_POST", 0);

* 2.0.2
Fixed compatibility issue with other plugins.

* 2.0.1
Fixed problem in exempt groups added in 2.0

* 2.0
Added an option to disable advertisements.
Fixed a bug that would allow users to increase clicks without actually clicking.

* 1.9.2
Fixed JavaScript warning, thanks to http://community.mybb.com/user-37662.html

* 1.9.1
Fully compatible with XThreads now: http://mybbhacks.zingaburga.com/showthre...33#pid5133

* 1.9
Fixed a bug in the postbit zone that was not entirely fixed in 1.8. (I hope this plugin is bug free now!)

* 1.8
Fixed a bug introduced in 1.7, regarding the postbit advertisements.
Fixed a bug in post previews, PM's and announcements where the postbit zone code would be shown.

(for older changes please read readme.txt)

Notes
Note 1: Make sure you ACTIVATE the My Advertisements task from the Admin CP too! - IMPORTANT -

Note 2: please read comments above the following line found at the top of /inc/plugins/myadvertisements.php
define("MYADS_DIF_POST", 0);

Download
Plugin is attached to this post.

If you find any bugs, please report them please. (if you're not a subscriber, fee free to PM me for bug reports, not for support)


Attached File(s)
.zip  My Advertisements 1.91.zip (Size: 178.44 KB / Downloads: 248)
.zip  My Advertisements 1.92.zip (Size: 178.49 KB / Downloads: 639)
.zip  My Advertisements 2.0.zip (Size: 179.17 KB / Downloads: 111)
.zip  My Advertisements 2.0.1.zip (Size: 179.28 KB / Downloads: 93)
.zip  My Advertisements 2.0.2.zip (Size: 179.43 KB / Downloads: 79)
.zip  My Advertisements 2.0.3.zip (Size: 180 KB / Downloads: 302)

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

08-23-2010, 11:09 AM
Post: #2
RE: My Advertisements 1.6
Thanks for new version, but there is a little bug.

Line 665 in plugin file:
PHP Code:
    $query $db->simple_select('myadvertisements_zones''*''zid!=3'); 

Why zone 3 is bypassed? This solution make visible zone 3 code for every usergroup, without placing ads code.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2010, 10:32 PM
Post: #3
RE: My Advertisements 1.6
zid is being by passed in that function because that function is not part of the postbit and it's useless to do the same for zone 3 twice

[Image: s.png]
Find all posts by this user
Quote this message in a reply
09-03-2010, 11:40 PM
Post: #4
RE: My Advertisements 1.6
Some suggestions for the postbit ad space. Tongue

Feature: Show ads every X posts.
Find all posts by this user
Quote this message in a reply

09-03-2010, 11:54 PM
Post: #5
RE: My Advertisements 1.6
(09-03-2010 11:40 PM)darkly Wrote:  Some suggestions for the postbit ad space. Tongue

Feature: Show ads every X posts.

I believe that already exists

[Image: s.png]
Find all posts by this user
Quote this message in a reply
09-04-2010, 12:02 AM
Post: #6
RE: My Advertisements 1.6
Awesome!
Keep up the good job!


[Image: glas.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-04-2010, 01:07 AM
Post: #7
RE: My Advertisements 1.6
(09-03-2010 11:54 PM)Pirata Nervo Wrote:  
(09-03-2010 11:40 PM)darkly Wrote:  Some suggestions for the postbit ad space. Tongue

Feature: Show ads every X posts.

I believe that already exists

There is? Going to explore it. lol
Find all posts by this user
Quote this message in a reply

09-12-2010, 12:17 AM
Post: #8
RE: My Advertisements 1.6
This is a great problem but has some bugs i think ?!

When i hide ads from admins they don't see any ads banner but they see this
{myadvertisements[zone_3]} Confused
Find all posts by this user
Quote this message in a reply
09-12-2010, 12:49 AM (This post was last modified: 09-12-2010 12:49 AM by Pirata Nervo.)
Post: #9
RE: My Advertisements 1.6
That _should_ only happen in private messages and announcements. Will be fixed in the next version

[Image: s.png]
Find all posts by this user
Quote this message in a reply
09-12-2010, 10:35 PM
Post: #10
RE: My Advertisements 1.6
I installed the plugin on my forum........activated it........ read the documentation........but still have no clue as to how to make the banners show up. I apologize for my lack of skill.
I had an ad rotator on there similar to this one.....but it went away with the upgrade to 1.6.
Here is the addy to the forum.
http://www.dedduck.com/forum/index.php
Find all posts by this user
Quote this message in a reply

Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)