MyBB Central
Inline Ads - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Archives (http://www.mybbcentral.com/forum-33.html)
+--- Forum: Mybb 1.2x Series Topics (http://www.mybbcentral.com/forum-4.html)
+---- Forum: Mybb 1.2x Plugins and Hacks (http://www.mybbcentral.com/forum-9.html)
+---- Thread: Inline Ads (/thread-11.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Inline Ads - labrocca - Nov 08, 2006

This mod works great. It is fully tested for 1.2 of mybb. The only negative is if you want to change your seperator you will need to edit the code inside of inline_ads.php (very easy 1 line).

Features:
no core file changes and only 1 automated template change
you can align the inline ads left, right, or center
Ability to turn on and off in board settings
3 ways to place the code (after first post only, after X posts, after first post plus every X posts)
Ability to exempt groups and forum id's from ads. (version 2 addition)

Instructions:
1. Save the attached file inline_ads.php and upload to your inc/plugins/ directory.
2. Activate plugin within your admincp.
3. Change settings in admincp under "Board Settings". You should see a "Inline Ads" setting group near the bottom. There you can add your full adsense code (ypn, chitika or any html code) and change other parameters.


Contact me if you need help and I will do my best to assist you. I may also update this for Google Adsense Revenue Sharing.

Enjoy.


RE: Inline Ads - ozirr - Nov 12, 2006

Thanks so Much LabroccaWink


RE: Inline Ads - labrocca - Nov 13, 2006

Not a problem. Thanks.


RE: Inline Ads - bluetooth - Dec 07, 2006

Yep thank you very much Jes, this is an excellent plugin, very easy to use, I have used it on 2 sites already!


RE: Inline Ads - XxAnimusxX - Dec 29, 2006

well, i searched for this a long time,
now i can finance my board-traffic! ^_^


RE: Inline Ads - dappadizzle - Mar 03, 2007

thank you


RE: Inline Ads - Imad Jomaa - Mar 13, 2007

really nice.


RE: Inline Ads - markrday - Mar 14, 2007

top little mod Wink


RE: Inline Ads - markrday - Mar 14, 2007

will this also take hidden code i.e site trackers and countersWink


RE: Inline Ads - labrocca - Mar 14, 2007

markrday Wrote:will this also take hidden code i.e site trackers and countersWink

It should really take any code you have actually except php of course. Javascript, html, and xhtml should all work.

Let me know if you have problems.

btw if you want to add a site tracker or counter..I suggest using my new google analytics plugin and changing the code to suit your needs. If you need to PM me the code you wish implemented and I can easily edit the file for you.