Archive for the ‘Plugins’ category

Plugin Conflict: WP Welcome Email Editor -> Mingle

March 15th, 2010

Mingle LogoJust a quick one this evening. A user has recently noticed that the Wordpress plugin called Mingle conflicts with my plugin WP Welcome Email Editor. It, for some reason, causes Wordpress to call it’s own version of the wp_new_user_notification function before my plugin, or any other for that matter, can declare theirs.

The remedy is simple, fix Mingle. In the absence of that you can fix it using the following method:

  1. Open mingle.php
  2. After the PHP comment for the plugin at the top add the following code
    add_action('init', 'mngl_init');
    function mngl_init() {
  3. Right at the bottom of the code before the closing ?>, add the following:
    }
  4. Save the file and then plugins like mine will work with it without causing a conflict.

If either the Mingle author fixes the problem or anyone has a better way of sorting this then please do let me know and I will update this post to let others know.

Please make sure you back up the mingle.php file before making these changes. Just in case ;) Please also be aware that if you update the Mingle plugin then you need to put this code in again to maintain the fix.

SB Twitter Plugin

November 21st, 2009

Let’s get this straight, I hate Twitter with a vengence on account of it being a pointless waste of time. However, I can see that some people enjoy using it and also want to share their exciting lives with other people.

I have just had the need to develop a very basic plugin to put a Twitter widget (not a Wordpress widget) on a website. I didn’t see the point in forcing the user to put masses of code onto their page each time they wanted to include the widget so created a shortcode to do the same job.

I have rather imaginatively called it SB Twitter and it allows the user of a shortcode to put the Twitter flash widget onto a post or a page.

Usage

[sb_twitter name="you_user_name"]

You can optionally include width=”" and/or height=”" to manipulate the size of the box.

Download

The download file contains a readme which essentially says to upload the file to your plugins directory, activate it and use the shortcode provided.

SB Twitter (2.29 KB)

Screenshots

Example output of SB Twitter plugin

SB Pay Me

July 22nd, 2009

No that isn’t a request although feel free if you like :)

SB Pay Me is a new plugin that I have written along the same lines as those ‘Donate’ plugins you see everywhere. Well I decided that plugins like ‘Buy Me Beer’ and other similar donation type things weren’t really very professional so I wrote my own.

Features

The SB Pay Me plugin is designed to use the Wordpress shortcode API (using rather predictibly sb_pay_me as a hook) to provide a very simple to integrate payment form. It is fully templated so you can very easily decide how you want it to look. I have integrated a couple of Paypal images by default but you can add your own with no problems what so ever. The currency, payment amount and description are all configurable. The latter two can be setup to be edited by the user on your site instead of sending them to Paypal and getting them to do it there. The admin interface is fully commented and straightforward to allow even the most basic of users to be able to user it.

Example

Send Money
Just a working example of the plugin.
Amount GBP
Payment For

Screenshots

Default Template

Default Template

Modified Template

Modified Template

Admin Page

Admin Page

Download
I intend to release the plugin into the extend directory but at the time of writing it was down. Use this link to get the most recent version: SB Pay Me (10.27 KB)