« b2evolution PluginsMost Commented Posts plugin »

b2media

01/16/06 | by [mail] | Categories: b2evolution

b2media Plugin in actionPurpose
This plugin gives you an easy way to add images and links for Amazon.com products to your posts. If you get an Amazon Associates ID and enter it in the plugin settings, then you earn a referral fee if someone clicks your link, then buys the product. Mostly, this is just a nice way to add an image to a post or to maintain a blog in your sidebar that shows what movies you're watching.

Installation
Requires b2evolution 1.7 or later

  1. Download this file: _b2media.plugin.txt.
  2. Replace the .txt from the filename with .php and upload it to your b2evolution plugins folder.
  3. In the backoffice, go to Settings > Plugins and find b2media in the list. Click "install".

Usage
The plugin adds a sub-tab to the Tools tab in the b2evolution backoffice. You can search for Amazon products there, but that won't give you the option to add images into a blog post. To get that you need to go to the Write tab, then click on the button below the writing area that says "Amazon". This will pop up a window that looks very similar to the Tools sub-tab, but now when you search, each result has a button labeled "img". Click on that button to add the code to your post.

Amazon Associates Program
You can use the backoffice plugin settings to change the Associate ID that is added into the links. If you want to make a little money with this, then sign up for the Amazon Associates program (it's free), then log into your blog backoffice, go to Settings > Plugins > b2media and replace my ID with yours. If you're not interested in any of that, just leave my ID in there. You may end up adding a few cents toward my daughter's college education.

Sideblog
I like to use this plugin to create a section in my sidebar showing what movies, music and video games I'm consuming. I call it my mediablog. It's actually a separate blog in b2evolution that can be viewed on its own or included in the sidebar of my main blog. If you want to do something like this, then copy the code from this file and add it into your skin. Remember to replace the fives with the number that matches your mediablog.

Misc info
This plugin is based on Jaap's Free Amazon Script. I first released it as a hack for b2evolution 0.9.0.12. Installing it involved putting four files in two different directories. And it still didn't look or work that good. The plugin version is one file and it matches the look and feel of the b2evolution backoffice. I also fixed some bugs.

Permalink

6 comments

Danny,

When I installed this, the button does not show up and I get an apply of never for it:

b2Media 50 never Add Amazon links and images


[Member]  http://hundiejo.com01/21/06 @ 01:26
[Member]  http://www.brendoman.com/01/21/06 @ 08:42

Dan, It’s broken. When I click to download it says (No input file specified.)


webjoker [Visitor]  09/15/06 @ 07:09
[Member]  http://www.brendoman.com/09/18/06 @ 14:24

Hi Danny:

Does this work with 2.x versions of B2?


Scribbly [Visitor]  12/14/07 @ 05:05

I’ve used similar for Ebay. They are handy and worth a small cost.


Club Penguin Secrets [Visitor]http://club-penguin-secrets.com12/10/09 @ 00:10


Form is loading...