Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adsense Plugin


  • jezza101
    Participant

    @jezza101

    Hi all, just a quick post to plug my new advert unit plugin. It’s a common idea but I couldn’t see a bbpress 2 version so thought I’d have a go. The plugin allows you to insert an advert unit into your threads. Currently the ad will appear after the first post, and can optionally be hidden from logged in users.

    I have a few ideas on how to improve it and tidy it up, but happy to consider other requests time permitting.

    You can download it from WP here.

    Would love to hear from anyone using it and see it running on other sites…

Viewing 4 replies - 1 through 4 (of 4 total)

  • ntmedia
    Participant

    @ntmedia

    Hey jezza, great Plugin – just what im looking for and it works perfect.

    But I have an little issue especially with my theme, because i also added the KKLike-Button at the end of every reply so user can like each of them. This button is added after the content and as you manipulate the content to insert the adsense-code the Like-Button is now shown after the adsense-code. Hope you understand my bad english! :) Any ideas to fix it?


    jezza101
    Participant

    @jezza101

    I think it would be a case of changing the order of the two filters? So when you apply a filter you have to set the priority:

    http://codex.wordpress.org/Function_Reference/add_filter

    If you change the priority of the filter on that plugin to be less than the filter on mine it might then work in the right order.

    Which plugin are you using? Is it this: http://wordpress.org/extend/plugins/kk-i-like-it/

    I can have a look if I can get the right plugin to test…


    ntmedia
    Participant

    @ntmedia

    Yes, that`s the right plugin, but i insert the code manuelly at loop-single-reply.php of bbpress right after the reply-content is called.

    Thanks for your help


    jezza101
    Participant

    @jezza101

    Just a small bump to say this plugin is updated. As before, let me know if you have ideas to make this better.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.