MasterWish WordPress Plugin

I am pleased to announce the arrival of the MasterWish WordPress plugin! Anyone that has an account on MasterWish and runs a WordPress blog can aggregate their publicly viewable lists. For an example of how I have it set up, check here.

Get the MasterWish WordPress plugin v1.1!

Setup Instructions:
Installing the Plugin:

1. Download and unzip wp-masterwish.zip

2. Place masterwish.php in your wp-content/plugins directory
3. Log in to your WordPress admin panel and activate the plugin, then visit the MasterWish submenu of the options tab.
4. Enter your MasterWish username and click ‘Update Options’
5. If you want a default list to be selected, select a list from the List drop-down menu and click ‘Update Options.’
6. Create a new Template for your wishlist in your wp-content/themes directory.

In the body section of that template, we suggest you place the following function calls:

<h2><a href=”<?php masterwish_list_url($_GET[‘list_id’]); ?>”><?php masterwish_list_title($_GET[‘list_id’]); ?></a></h2>
<strong>My Lists</strong>: <?php masterwish_lists(”,'[‘,’] ‘); ?><br/><br/>
<?php masterwish_get_list(); ?>

7. Create a new Page in WordPress and set its template to the template you just created in the previous step!

MasterWish Plugin Functions:

  • masterwish_get_list

    retrieves items from a list

    Usage:

    masterwish_get_list({list_id},{display_images},{maxresults},{random});

    list_id is the wishlist id number that is being browsed. Leaving this with a blank string ” pulls the default list set in the MasterWish Plugin’s options tab.
    display_images specifies whether the item images are displayed. Default is false. Available options: (true/false).
    maxresults is the maximum number of items you want displayed in a given list. Setting this value to 0 displays all items in a list.
    random shuffles your item list around.

  • masterwish_list_title

    retrieves the current list title

    Usage:

    masterwish_list_title({list_id},{return},{before},{after});

    list_id is the wishlist id number that is being browsed. Leaving this with a blank string ” pulls the default list set in the MasterWish Plugin’s options tab.
    return specifies whether you want the title returned or echoed. Default value is false, available options (true/false).
    before is what you want prepended to the wishlist title.
    after is what you want appended to the wishlist title.

  • masterwish_list_url

    retrieves the current list url

    Usage:

    masterwish_list_url({list_id},{return});

    list_id is the wishlist id number that is being browsed. Leaving this with a blank string ” pulls the default list set in the MasterWish Plugin’s options tab.
    return specifies whether you want the title returned or printed on the screen. Default value is false, available options (true/false).

  • masterwish_lists

    retrieves the user’s publicly viewable lists

    Usage:

    masterwish_lists({list_id},{before},{after},{return});

    list_id is the wishlist id number that is being browsed. Leaving this with a blank string ” pulls the default list set in the MasterWish Plugin’s options tab.
    before is what you want prepended to each wishlist title.
    after is what you want appended to each wishlist title.

    return specifies whether you want the lists returned or printed on the screen. Default value is false, available options (true/false).


Comments

16 responses to “MasterWish WordPress Plugin”

  1. Hello!

    I installed WordPress on my server, and set up a site. It’s a relly nice piece of software. However, I am missing a piece of functionality, and

    couldn’t find a suitable answer for it. Mayou you know a plugin I could use?I need to automatically inserts ads in my posts.And not AdSense ads, but rather HTML snippets defined by me (affiliate links, etc). Let’s say I would insert a tag in my post:
    — ad here —
    and the plugin would automatically replace it with some HTML code, when the post is displayed on my site.I really don’t need any fancy configuration options etc, just the basic replace functionality.
    Do you know a plugin that can handle this?

  2. Well, you can check http://codex.wordpress.org/Plugins for some plugins that may help you…I can’t think of any. What I think would work is this: Simply turn off the rich text editor (go to the administration section under “Users > Your Profile” and scroll to the bottom and uncheck the box.

    When you create a post, insert the HTML snippet you want for your ad and WordPress will no longer remove the HTML tags you use.

    Now, if you are asking about inserting having an image with a link to an affiliate URL, thats pretty easy to do. All you need to do is insert the code for image into your post: {img src=”blahblah.gif”/} then put the link tag around it, so it’d look like so:

    {a href=”affiliate_url.html”}{img src=”blahblah.gif”/}{/a}

    (replacing curly braces with “< " and ">“, of course)

  3. What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

  4. Hi! I’ve just installed this plugin, and it seems to work fine. However I would like to show images in my wish list and have changed the function to:

    function masterwish_get_list($list_id=”,$display_images=true,$maxresults=0,$random=false)

    However it doesn’t show the images? Is there anything else I need to change?

    wishlist url: http://princessportal.com/my-wish-list/

    Thanks!
    Skye

  5. […] MasterWish WordPress Plugin v1.5 Released! March 8, 2007 | In: Professional, Development | [ Digg it! | Add to del.icio.us ] […]

  6. […] MasterWish WordPress Plugin kann man seine öffentlich sichtbaren Listen von MasterWish […]

  7. […] BorkWeb » MasterWish WordPress Plugin […]

  8. […] MasterWish WordPress Plugin te permite agregar tus listas visibles de MasterWish públicamente. […]

  9. […] Flash XML Blogroll is a WordPress Flash-based dynamic Blogroll / News Ticker. MasterWish WordPress Plugin allows you to aggregate your publicly viewable lists from […]

  10. […] Flash XML Blogroll is a WordPress Flash-based dynamic Blogroll / News Ticker. MasterWish WordPress Plugin allows you to aggregate your publicly viewable lists from […]

  11. […] MasterWish WordPress Plugin allows you to aggregate your publicly viewable lists from MasterWish. […]

  12. […] MasterWish WordPress Plugin allows you to aggregate your publicly viewable lists from MasterWish. […]

  13. Well, you can check http://codex.wordpress.org/Plugins for some plugins that may help you…I can’t think of any. What I think would work is this: Simply turn off the rich text editor (go to the administration section under “Users > Your Profile” and scroll to the bottom and uncheck the box.
    When you create a post, insert the HTML snippet you want for your ad and WordPress will no longer remove the HTML tags you use.
    Now, if you are asking about inserting having an image with a link to an affiliate URL, thats pretty easy to do. All you need to do is insert the code for image into your post: {img src=”blahblah.gif”/} then put the link tag around it, so it’d look like so:
    {a href=”affiliate_url.html”}{img src=”blahblah.gif”/}{/a}
    (replacing curly braces with “< ” and “>“, of course)

    @lil wyte I am wanting to do the exact same thing, did you ever get an answer to this? You asked: (I need to automatically insert ads in my posts. And not AdSense ads, but rather HTML snippets defined by me (affiliate links, etc).

    @Matt. I don’t want to do this manually but rather have it “automatically” happen whenever I make a post. Can you or anyone help me with this?
    I don’t really need a plugin, the file I need to call is php. I just need to know which file to edit and where to place the call.

    Thanks,
    Jas.

  14. Offers registry cleaners for fix registry errors in windows operating system.

  15. I am using WishList for a private Class reunion site. Our 43 reunion is coming up soon. We are getting loads af photographs that are too small to see in our template. There used to be a script that allowed you to upload full size photos to your site. Only a small thumbnail would show, but when you clicked on the thumbnail the picture would go to full screen size. It would be fantastic for some of the se large group shots. Any suggestions? Thank you ahead of time.

  16. john jackson Avatar
    john jackson

    I get the following Error Message on my WordPress page:

    MasterWish – Master List
    My Lists: [Master List]

    Fatal error: Class ‘Snoopy’ not found in /home2/useyours/public_html/landpartie/wp/wp-content/plugins/masterwish.php on line 131

    Any ideas? Thank you!