Lýsing
Emo Vote let’s you encourage your users by letting them express their feelings by „emoting“ rather than voting.
Emoting is a fairly simple activity, just press the button that describes your feeling towards the post you
just read.
Thanks to Mindpark and especially Joakim Jardenberg
for sponsoring the development of this plugin. Without you this plugin wouldn’t exist.
A few features listed below:
- Choose your own labels for each button.
- Drag ‘n drop the buttons in your own order.
- Choose a unqiue question for each post, using WordPress custom fields, see FAQ for details.
- The buttons are fully customizeable using CSS.
- „Emote“ by RSS.
- Sidebar widget.
- Emo Vote uses the same localization technique as the well-known function
comments_popup_link()
. Just replace the parameters according to your current locale,<?php emo_vote_display('No votes','One vote','% votes'); ?>
.
Skjámyndir
Uppsetning
- Download the plugin zip file.
- Unzip.
- Upload the
emo-vote/
folder to your/wp-content/plugins/
directory. - Activate the plugin through the Plugins menu in WordPress.
- Navigate to Settings > Emo Vote and customize it as you wish.
- Place
<?php if (function_exists('emo_vote_display')) emo_vote_display('No votes', '1 vote', '% votes'); ?>
(localize the strings be replacing the parameters according to your current locale) in your template, for instance inindex.php
andsingle.php
.
SOS
- I want to encourage my users even more by adding a question or statement before the emoting options
-
This is possible using WordPress built-in custom fields. Add a field with the name
emo-vote
and choose value.
The value can be unique for each post. - The buttons looks like crappy blue squares in Internet Explorer 6
-
How about upgrading your browser? Just kidding, some unlucky ones are still stuck with IE6.
I would recommend TwinHelix’s PNGFix.
Placeiepngfix.htc
andblank.gif
files in your webroot and addbehavior: url(/iepngfix.htc);
to the #input_0-#input_4 elements
inside youremo-vote.css
file. - I don’t get any callback after emoting
-
Some might experience a lack of callback after emoting. In other words, the new values aren’t sent back as they should.
The callback is using the PHP functionjson_encode()
to easily parse the callback with JavaScript. JSON was first introduced
in PHP 5.2. Check your current installed version of PHP and ask your host kindly to upgrade if you’re using an older version than 5.2. - The sidebar widget isn’t up-to-date
-
The info shown in the widget is begin cached for 15 minutes to reduce the number of SQL-queries.
So there’s no need to panic.
Umsagnir
There are no reviews for this plugin.
Þátttakendur & höfundar
“Emo Vote” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.
HöfundarTranslate “Emo Vote” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.