MEMEdex Polls Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
The MEMEdex Wordpress plugin allows you to add MEMEdex polls to your Wordpress posts by adding a short tag to your post where you want the poll to appear. Your users can vote on polls you create from within your site without ever leaving your Wordpress blog (in fact, they don’t even have to leave the page!). When users vote, their results get tallied by MEMEdex, and the results of the poll are displayed. All of this uses version 1.0 of the MEMEdex API, but all you need to know is how to use the Wordpress tag.
New for version 1.2: You will now find a MEMEdex Poll tab under the Write menu item. You can create polls from here, and the plugin will return the full tag you need to copy and paste into your polls. This is the simplest, fastest way to use the plugin.
Version 1.3 fixes a compatibility issue with PHP4. If you are using PHP4, you will not be able to create polls directly inside Wordpress. You will need to create your polls at MEMEdex.
To embed a poll in a post:
Just add a tag to your post in the form:
[memedex: PARAMS]
Where PARAMS is a # delimited list of paramters specifying how the poll should be rendered. You can have 0, 2, 3 or 4 paramters (but most people will use 2), and they must be in the correct order.
- The first paramter must be the REQUEST TYPE, specifying how MEMEdex should find a poll for you. See the list below for values that work here. If the tag is used with no parameters, random is the default.
- The second paramter narrows down the first paramter. So if you entered username for paramter 1, you would enter the username you want to retrieve a poll from. For pollid, enter the id of the poll you want to display. Similarly for category or keyword.
- Specify the width of the flash object (best left as the default)
- Specify the height of the flash object (best left as the default)
For example, if you created a poll at memedex.com with the id 476777, you would embed it in your post using the following tag:
[memedex: pollid#476777]
If you wanted to retrieve a random poll that user stromdotcom created, use the following tag:
[memedex: username#stromdotcom]
If you just want to embed any old random poll, use the simplest form of the tag:
[memedex:]
Possible values for the request_type field are:
- username
- pollid
- category
- keyword
- random
Note: the category request_type expects request_value to be an integer. You can get a list of integer category codes at http://www.memedex.com/categories.php
The width and height parameters (params 3 and 4) are uncommon, but they allow you to specify a custom widht and height for the flash object. They are not recommended, however, because the flash doesn’t look that great in anything but the default size.
To embed a poll in your theme:
You can also add a poll to your theme file, for example, in the sidebar. To do this, use the template tag:
<?php get_memedex_embed_poll(); ?>
The template tag supports the same parameters as the post tag, in the same order. So to grab a random poll from MEMEdex user stromdotcom, use the following tag:
<?php get_memedex_embed_poll("username", "stromdotcom"); ?>
Screenshots
No screenshots provided