REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inline Ads
#1
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.


Attached Files
.zip   Less than 1 minute ago">inline_ads_v2.zip (Size: 9.48 KB / Downloads: 192)
#2
Thanks so Much LabroccaWink
#3
Not a problem. Thanks.
#4
Yep thank you very much Jes, this is an excellent plugin, very easy to use, I have used it on 2 sites already!
#5
well, i searched for this a long time,
now i can finance my board-traffic! ^_^
#6
thank you
#7
really nice.
[Image: dynno.png]
^Get the same sig image for your Tweets Dynno.com
#8
top little mod Wink
#9
Wink 
will this also take hidden code i.e site trackers and countersWink
#10
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.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Inline Ads problem Xtreme2damax 3 3,484 Jun 22, 2008, 12:09 PM
Last Post: LeX-
  Inline Ads ohliam 2 2,993 Jun 15, 2008, 01:45 PM
Last Post: ohliam
  Inline Thread Popup Problem Xtreme2damax 2 3,326 May 24, 2008, 05:19 PM
Last Post: Xtreme2damax

Forum Jump:


Users browsing this thread: 1 Guest(s)