PPP Add Disclosure

PayPerPost Add Disclosure Plugin

Description

The most recent iteration of PayPerPost requires that bloggers add a piece of code to the header of their website. This is invisible to users, yet allows advertisers to do fancy things with their posts. If you don’t want to mess around with your template code, here is a plugin that will do it for you (and keep doing it even if you change your template)

Installation

1. Download the plugin file, unzip and place it in your plugin folder.
This makes the plugin available to WordPress and it should now appear in your Plugin page.

2. Activate the plugin
This “starts up” the plugin, making it available to your presentation files (you know, the ones that make up your theme). At this point, the plugin is active, and the disclosure code should be appearing on your page

3. You’re done!
That’s all that needs to be done!

Download

ppp_adddisclosure.zip

History

v0.1: Base release.

v2.0: PayPerPost’s latest release uses the same badge code for all users, which greatly simplifies the plugin. The code also now lives in the page footer, eliminating any perf problems putting it in the header may cause.

Websites using this plugin

I love it when people use my work, so I thought I’d add a list of links to websites using this plugin. If you’re not on the list, just add a comment and I’ll add you in!

I still convert coffee into code as a hobby, so if you'd like to get me a coffee, click here.

46 Readers Commented »

  1. hey hey, I’m trying it out! thanks heaps!

  2. i was able to download and activate it but for some reason, my entire site crashed. :(

  3. it woooooorks! thanks

  4. Hi Owen,

    Thank you very much for creating this plug-in. I have installed it and it’s working wonderfully.

    At first I thought it did not work but the problem was with PPP’s delay in updating my dashboard.

    This plug-in saved me the trouble of figuring where to place my code since I could not even find on my theme file.

    Thank you!

  5. hi there,

    PPP has updated with a new disclosure badge and I wonder if this would still work? thanks heaps!

  6. >>Aaron
    I’m about to install the plug in myself, but according to http://boards.payperpost.com/viewtopic.php?t=4645&highlight= , yes it does, you just need to update the code in the admin section for the plug in :>

  7. Gravatar

    owen on April 10th, 2007

    7

  8. Yup, can confirm it works, but you’ll need to update the “code” that PayPerPost give you. The good thing is that if you have multiple sites, now your “code” is identical on all of them.

  9. Thanks you, I was use it ^_*

  10. Ok…i edit the plugin in the plugin editor replace the badge with the bade PPP gave me. But why i still couldn’t see the badge? in my “website”? give me a reply ok? Thanks

  11. Gravatar

    owen on April 20th, 2007

    10

  12. @Mark: The plugin doesn’t actually add a “badge” to your website. Just a piece of code that the badge uses. If you view the source of your page you should see it at the bottom of the HTML

  13. Ok…so how could i add the badge to the bottom of my post since PPP required my post to include the badge code required? Thanks for you prompt reply anyway :D

  14. Gravatar

    owen on April 20th, 2007

    12

  15. Ah, that’s different. When PPP want you to add the disclosure badge, they will give you the code in the Op (same as when you need to insert an image).

    The code displays under your post (like this post: http://www.cutajar.net/owen/?p=150) for example, but only works if you have the Badge Code installed.

    So, in effect, this plugin just provides the prerequisite to get these posts, noting more.

  16. Ok, I’ve installed the plugin. Let’s see how it goes. Hope it works fine.

    Thanks for your work.

  17. Ok…i see the post you gave me. What happened is i was given an badge code for the post. I think it’s the grey thing in that post. How could i insert it? I have activate the plugin, but i edit it in plugin editor the code in between “badge code start” and Badge code end” with the code PPP give me. Though, it’s not showing at all in my wordpress. Am i on the right track?

  18. Owen, Thank you so much for this plugin, I was having the hardest time adding the code.

  19. Hey I love this plug in its awesome. I just added to my site. thanks for the add. I will add a blurb about this on my blog and link back to here. Thanks a bunch again@!

  20. I’m juts about to download and use it at http://1000milejourney.com, thanks. I just couldn’t figure out how to add it into the the php template by hand without getting up ‘template does not exist’ as an error message.

  21. Gravatar

    Owen on May 14th, 2007

    18

  22. Glad you guys are finding it useful

  23. In case u see me on yr MyBlogLog, I am lurking here to get your PPP disclosure plugin cos my new template with the uprgaded WP 2.2 gives me two red Xs (on two blogs) eventhough I had added it correctly. Now, I am trying the plugin to see if it will work. Thanks Owen!

  24. Owen,

    Thanks for the plug-in.

    Anything that makes life easier gets a big thumbs up, and this certainly fits the bill!

    Excellent work!

    Steve

  25. Hi, I added it to my 3 and the kids blogs. 5 blogs in all! Thanks!

  26. I’ve added it to my wordpress blog and so far it seems to be doing absolutely nothing.

    I put it in …wp-content/plugins and I went to the “plugins” page of the control panel and activated it, but when I reload my blog and ‘view source’ in firefix, there’s no sign of the disclosure badge.

    What have I missed?

  27. hi, thanks for the plugin. i have just installed it in my blog. :)

  28. I’m trying the plugin too! I search hope it works as i’ve been having a hard time getting the disclosure badge working.

  29. Hey, thank you so much for making this plugin! It works… like a piece of cake. Thanks again, so grateful. :)

  30. I just installed the plugin.. It looks like this: I’m not sure if it’s working. I checked my PPP account still red X.

    [b]function ppp_add_disclosure_badge() {

    echo (’‘);
    echo (”);
    echo (’‘);
    }

    add_action(’wp_footer’, ‘ppp_add_disclosure_badge’);
    ?>[/b]

  31. I’m having such a hard time gettin the badge to work in my newest blog. I tried adding it by hand and then came here for the Plugin. Still a red x over at PPP. Any input?

  32. Gravatar

    Owen on June 13th, 2007

    28

  33. Remember it can take up to 48 hours for PayPerPost to notice your badge is up there. You just have to be a bit patient.

  34. Thanks so much Owen, for creating this plugin. I will see if it shows up in a couple days on PPP in my blog area.

  35. Thanks Owen. I’ve been having trouble getting my badge to work. This plugin is a life saver. Or a blog saver : D

  36. Im going to use this Owen, Im having trouble to get the badge to work in my template. Will I overdo it if I do it manually and activate your plugin?

  37. Gravatar

    Owen on June 26th, 2007

    32

  38. @Aggie Shouldn’t be a problem. Give it a try.

  39. Thanks Owen, it’s working already :D Yay!

  40. Nice Ill try this one!!
    Thanks!!

  41. Hi Owen!
    Thank you for this plugin, ‘downloaded and activated it already on my site. Just waiting for it to appear.

    have a nice day!

  42. Hi, Owen. I have installed the plugin, and somehow it doesn’t seem work. Do you know the rootcause?

  43. I just added it to my blog iPentimento. Thanks very much!

  44. Hey Owen, need a little help. I’ve been given a new code for the stats testing. Looks like the only thing that’s changed is the tinurl but I’m having trouble finding it to replace it. Any suggestions?

  45. Gravatar

    Owen on October 4th, 2007

    39

  46. Hi Jade,

    If you go to your “Plugins” page and click the “Edit button” for the plugin (right next to the “Activate”), you can see the TinyURL and figure out where to change the code.

    Regards

    Owen

  47. That was easy. It takes a couple of days for PPP to recognize the badge, but it works just fine. Thank you. Piece of cake!

  48. Hello Owen,

    Thanks for this plugin. Made it really easy to install PPP tools.

    But i have a question, if i deactivate the plugin, does it mean that the code wont be working anymore?

    I am asking because i want to be out of google’s radar this coming PR update. :D

  49. Gravatar

    Owen on January 11th, 2008

    42

  50. @Vienna; Yup, if you deactivate it, it won’t show the code any more. I don’t know if it will change anything from Google’s perspective, but deactivating the plugin means that the PPP code won’t be added to your blog.

  51. Alright Owen, I’m back again. I’ve changed templates and it appears this template doesn’t have any footer coding. Is there something I can pop in there to get my disclosure back up and running?

  52. Owen,

    This sounds wonderful…but PPP is still not reading my code. I even upgraded to 2.5. Could it have anything to do with domain masking?

    Please help.

    Ellie

  53. thanks for great plugin. it’s really work on my blog.

  54. I need some help with my blog regarding on placing PPP tool…

    i have a question,… whats a plug-in foldeR?

    i am lost..

    can anyone help?

Leave a Comment

HTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Media Corner

2

3

4

5