WP Likes 3.0 – its not just likes!

In: tech

14 Jan 2010

Finally done with the 3rd major iteration of the WP Likes plugin. You can see it in action on this blog. Improvements all around and everything is smoother.

I will enlist a few-

  1. Renders in one line and more refined customization. No more ‘you and’ being appended everytime. Differentiates between people and a person.
  2. Translating or reusing the plugin never been so easy.
    like texts
  3. Compatible with popular WP Super Cache plugin. Automatically updates the cache for the post which is liked. Inform WP likes that WP Super Cache is enabled from the settings page and it will take care of rest.

I am testing the plugin right now, so far it has no problems  with WP 2.9.1. You too can try out the plugin from- http://downloads.wordpress.org/plugin/wp-likes.3.0.zip . I will mark this as a stable release after a day or two of testing and consequently your wordpress will ask for plugin upgrade.

[Update]: Release time!! This is working like a breeze. If you want further tighter integration(like in Wordpress MU) or even more customization, I am offering support at a very nominal fee. Send a mail to me[at]aakash[d0t]me if you need help. Next version will have improved sidebar widget and people tracking of some form.

[Update2]: This does restore the new default CSS. You might want to backup the old css for reference. And there are some alternate like button images in plugin images folder, you might want to try them out!

As always press like if you like it. Keep the bug reports and feedback coming.

170 people like this post.

48 Responses to WP Likes 3.0 – its not just likes!

Avatar

Wordpress Plugins » Blog Archive » WP Likes 3.0 – A Glimpse | Aakash Bapna's Blog

January 15th, 2010 at 3:30 am

[...] Read more: WP Likes 3.0 – A Glimpse | Aakash Bapna's Blog [...]

Avatar

Sriganesh

January 15th, 2010 at 8:00 am

Hi,
I am trying to use this feature as RSVP for event listing in my site.
It don’t seem to be working. It just fades down when I click the link.
Any help would be appreciated

Avatar

Aakash Bapna

January 15th, 2010 at 1:59 pm

There seems to be a site wide problem with your wordpress installation. On many pages it gives the dreaded “No input file specified. ” error. You can try the fix here- http://www.basilv.com/psd/blog/2009/resolving-php-no-input-file-specified-error-for-wordpress-on-iis

Avatar

Levani

January 16th, 2010 at 7:56 pm

How can I let people vote for the posts in every 24 hour?

Avatar

Craig Dearden

January 17th, 2010 at 12:46 am

Hello,

This doesn’t seem to be working on 2 of my blogs..
http://UKwins.info
and to test it – I tried on my personal blog – http://www.craigdearden.co.uk
as far as I can see there seems to be an issue with:
Line 267 of likes.php :
total_count?$settings->text[5]:”").”‘ >”;

Avatar

help

January 17th, 2010 at 12:48 am

how can i move this “like button” to the top off my page?

Avatar

Mike Abundo

January 17th, 2010 at 4:51 pm

I love the intelligent way you’ve made your plugin compatible with Super Cache — triggering a real cache update on every vote, instead of an expensive JavaScript call on every pageload. I hope more plugins emulate your efficient approach.

I can’t seem to enable manual insertion of the PHP function, however. Whenever I check the box and save settings, it just goes back to its unchecked state.

Avatar

Aakash Bapna

January 17th, 2010 at 8:56 pm

@Levani You want to disable likes on a post after 24 hours of publishing?
@Craig New update should fix this.

If you want to render WP likes on top. Go to settings page and get custom rendering code. Place it in the loop in theme file where you want it to render.

@Mike missed a line, fixed in latest 3.0.2 release.

Avatar

Mike Abundo

January 17th, 2010 at 9:17 pm

Thanks, Aakash! Downloading now. :)

Avatar

Elias Giertz

January 17th, 2010 at 10:10 pm

Hmm, this plugin is not really working the way it should for me. When I press “Like”, it says “You and people like this”. Without any number of people.

Oh, and this happens when noone actually have voted on the post.

Tips? :/

Avatar

Levani

January 18th, 2010 at 1:07 am

No, I’m runing simple photo contest where each post contains only one photo and try to use your plugin for voting photos. What I’m trying to do is to limit the number of vote to only one per day. When user clicks to the vote button he should be unable to vote again till the next day but than he should be able to vote for the post again.

Avatar

JD

January 18th, 2010 at 2:48 am

Ugh… I’ve been using your plugin for a while and although it’s great I must say that totally revamping the visualization in 3.0 is really annoying.

I completely see why you may want to give people the option to have different visualization styles but why not give the option to those of us who wanted to keep the old style black bar? Especially considering people (like myself) may have designed the visualization of our blog around that fact…

I really don’t mean to bash any of the hard work you’ve been doing here, as your plugin is great, but please please please, give us an updated version that either gives us a lot more control over the visualization aspects or allows us to use v2.0’s visualization

Alright now that all my bitching is out of the way can I just say in all earnestness good work and keep it up :)

Avatar

Akaj

January 18th, 2010 at 9:26 pm

I have a problem..I only see the thumb icon but I want to see text: Like aswell what I must do? thanks

Avatar

Xavi

January 19th, 2010 at 8:58 pm

Hi,
I setup this plugin, the like button seems to work but when somebody likes a post, the widget is not updated with the liked post.
So, my widget is still empty altough I keep un liking posts.
How can I get this working?
Thanks,
Xavi

Avatar

zielony bloger » Lubię to! Czyli na blogu jak na Facebooku

January 21st, 2010 at 9:52 am

[...] wtyczki WP Likes, Aakash Bapna wypuścił właśnie jej trzecią już wersję, kompletnie przepisana i [...]

Avatar

Aakash Bapna

January 22nd, 2010 at 5:18 am

@Elias Giertz I bet you forgot the %NUM% in texts
@Xavi Just checked your blog, I think its working fine there.

@Levani thats could be possible by setting a cookie.

@JD I can understand, but this was much needed. No more CSS restores now.

@Akaj the like image acts as a button. Text appears only when there are no likes. After that it should be self-explanatory

Avatar

Buddy

January 22nd, 2010 at 6:59 am

Any idea why I would get a fatal error when I activate? It does look like it is active but when i click on Like it does not seem to keep the counts. I have uninstalled it several time and re-installed but it still gets a Fatal error.

My host is SEO Hosting and my WP ver is the most current.

Thanks

Avatar

jojo;

January 23rd, 2010 at 7:11 pm

hello!

must say i am liking what i see abt the new features, and the new thumbs up icon!

however, the plugin stopped working recently.. i’m not sure if it’s because of the update or because i deleted a post the other day.. =/

nothing happens when i click on the Like link..

my blog’s at http://www.rumpledoodles.com :)

Avatar

max supera

January 25th, 2010 at 7:07 am

hi

this plugin looks great! only, it doesnt seem to function properly on my site. when i use %NUM% it doesnt show the number, it actually just shows the text “%NUM%”. it also is only showing “like” or “You like this post.” – not any of the other options. I am running php 5.2.6 on my server and wordpress 2.9.1.

I love your work and appreciate you help!! thank you!

Avatar

problemdog

January 25th, 2010 at 2:31 pm

hi, nice plugin and many thanks for your work – but it seems to break the new feature of wordpress that youtube video links are automagically converted into embedded videos. Once I enable the plugin they are turned back into links.
Anyone reported similar behaviour or is it specific to the P2 theme I use?

Avatar

dashou

January 26th, 2010 at 5:23 am

Great plugin, thanks a lot.

I need to display more one widget in my blog, how to do it?

Avatar

Tony

January 29th, 2010 at 4:54 am

hi there, i cant get this plugin to work, the button just fades when it is clicked, please help!! thanks!!

Avatar

Aakash Bapna

January 30th, 2010 at 4:40 am

@Buddy can you tell me what fatal error you are getting?

@Jojo I think its working fine on your blog :)

@max i think php is escaping the %NUM% on your installation, need to dig this more

@problemdog I will install that theme and test

@Dashou what ya mean?

@tony there seems to be an error in executing php script at backend, please check server logs for error thrown. It may be caused by wrong folder permissions.

Avatar

tony

January 30th, 2010 at 2:00 pm

I have checked the permission changed to 755 .. still doesn’t work !

Avatar

Luca

February 4th, 2010 at 8:18 pm

Have some troubles to get it working, maybe its Hypercache. Just wanted to ask if anyone else has trouble with this constellation. Else I will try again later and share my findings here.

Great plugin btw.

Avatar

chorwacki tłumaczenia » Lubię to! Czyli na blogu jak na Facebooku

February 9th, 2010 at 7:33 pm

[...] wtyczki WP Likes, Aakash Bapna wypuścił właśnie jej trzecią już wersję, kompletnie przepisana i [...]

Avatar

Sakae

February 10th, 2010 at 8:32 am

Howdy! I tried to install this plugin on my website, but have no success, since it shows me this (fatal) error:

Fatal error: Call to undefined function wp_cache_clear_cache() in /home/******/public_html/wp-content/plugins/wp-likes/likes.php on line 69

I’m using Wordpress 2.9.1

Avatar

Sakae

February 10th, 2010 at 8:50 am

Ok, nevermind, besides the fatal error, it’s working great (except that I can’t deactivate, but I don’t care it for now…).

But I want to put the button at another place of my post, in the header. How do I do that?

Avatar

JayT85

February 10th, 2010 at 6:24 pm

Is it possible to see who liked the post in the front end?

Avatar

francescoc

February 10th, 2010 at 10:11 pm

widget doesn’t show any post… is there a minimum number of posts to publish?

Avatar

francescoc

February 12th, 2010 at 12:16 am

ok..solved.
the sidebar widget works when you add new posts (after setting up the plugin and widget)!

Avatar

Bjarne // Mums Studio

February 16th, 2010 at 10:55 pm

Hi!

Great plugin… But I miss the opportunity to sort by Likes. Let’s say I want to be able to make a loop that sorts certain posts according to the number of Likes.

Avatar

Richard

February 19th, 2010 at 1:17 pm

I am trying to clone this plugin (I need 2 vote areas on my site) So far I have changed all cases of ‘like, LIKE, Like’ to ‘want, WANT, Want’ in all the files and names. The cloned plugin appears to work with the original installed also. Makes all tables and options and sets cookie. The only part that doesn’t work is the widget. It does not show any top ‘want’ posts.

Are there any other changes I need to prevent any conflicts?
many thanks/

Avatar

Aakash Bapna

February 19th, 2010 at 7:02 pm

@Sakae caught that bug. Will fix it soon
@JayT85 No, I want to make it as less obtrusive as possible, hence no prompting for emails/name and no identity disclosure.

@Bjarne I did that for one guy in his custom setup. Will push this soon to all in next release. It will be like you create a new page, put WP likes shortcode and it will show latest top liked posts from the blog.

@Richard it will show posts in widgets only when there are 2 or more likes. I need to view the page to get an exact idea of what’s happening.

Avatar

Bjarne // Mums Studio

February 19th, 2010 at 8:37 pm

Hey Aakash,

Sounds great! I’m just thinking now, would it be possible to make an default WP post query, and instead of sort by date, etc., just sort by Likes?

Avatar

Richard

February 19th, 2010 at 8:55 pm

Hi Aakash, thanks for your reply. My site is not live yet, but I’ll send you a link by email. Mmm, is WP-likes sensitive to IP ? I created different users and cleared cookies and cache to make votes. Would that be enough, or is IP part of the vote blocking?

Avatar

francescoc

February 22nd, 2010 at 8:57 pm

Hi Aakash,
is there a way to show post author instead of post title in the widget?

Great plugin!

Avatar

Teo

February 23rd, 2010 at 1:13 am

I keep getting a javascript-error saying ‘wp_likes’ is undefined when clicking on either “like” or “unlike” I haven’t made any changes since installation. Anyone can help me in this matter? I would be very grateful.
Cheers

Avatar

Aakash Bapna

February 24th, 2010 at 7:06 am

@Bjarne no because it uses a separate table for likes, it would complex the things.

@Richard IP is also a part of vote blocking right now

@francescoc for that you will have to change the sql query inside the sidebar function and add a join to the user’s table.

@Teo its happening because wp_header() function is not invoked in your theme file. please add add a call to ‘wp_header();’ in your header.php template file.

Avatar

francescoc

February 24th, 2010 at 10:45 pm

@aakash thank you altough it’s aramaic! i’ll try it!
another question:
is there a way to monitor the day by day points earned by each post?
for example i need to know how many points had the Xpost on 23rd Feb

thanx!!

Avatar

Xavi

February 25th, 2010 at 5:02 am

Thanks so much for the plugin, it’s really good.
Your blog design is also quite cool, very clean and pleasent.

You might wanna add “Do not like” button next to the “like” button maybe, just as an idea.

Feel free to visit http://www.yazarbozuntusu.com

Thanks
Xavi

Avatar

fillidill

February 27th, 2010 at 10:20 pm

Is it possible to make this dependent on who is logged in and not IP? Would it be hard to modify? I would love to have this on the community I’m building.

Wonderful plugin none the less

Avatar

Linhbergh

March 1st, 2010 at 3:44 pm

Hi Aakash,

I’m getting this Fatal Error upon activating the plugin.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/wp-likes/likes.php on line 118

I would love to use this plugin!!! Thank you for all your hard work, I and the rest of the WP community very much appreciate it.

Avatar

Jessica

March 2nd, 2010 at 4:09 am

I like the script, but I’m having trouble getting it to work. When I click, the icon just fades, but does nothing else. My folder permission is set to 755.

Thanks for the help!

Avatar

Veron

March 2nd, 2010 at 10:20 pm

Very cool and useful plugin!

Is there a function that would display a list of Gravatars (for registered users) who have “liked” the post? Figured this would add a social element to the blog.

Avatar

F

March 4th, 2010 at 4:58 pm

Hi Aakash, good work thanks. Have you tested this with MU 2.9.2 yet? Activation problems plus button does not seem to render. Just to let you know. F.

Avatar

Laura

March 8th, 2010 at 12:03 am

If I want to change this to just have the number of votes, is this possible? So now matter whether it was you or someone else, anytime a vote was added it would just increment the number by one. It seems like if I try to change that in the settings, I would get the number without my vote since I don’t see a way to add the “You” vote to the total.

Avatar

Aakash Bapna

March 8th, 2010 at 7:18 am

@francescoc all that can be easily done from phpmyadmin and little sql.

@Xavi Donot like isn’t coming anytime soon..

@fillidill changed the behavior in new version

@Linhbergh you need to be on php 5.x version for this plugin, please make a switch from your hosting c-panel

@Jessica Can you check if there is any php error in your logs ?

@Veron Thats exactly what I am working on.. I am half done, just not getting the time to finish it. But it would be out next week or so.

@F It used to work with older WP MU since I last checked. What activation errors anyways..

@Laura Nope, can’t be done through settings.Will have to change a few lines of php code for it.

Comment Form

About this blog

Hi, my name is Aakash Bapna. This is like my twitter. I write here whats happening in my world in somewhat more detail.

Photostream

    Snacks at beach cafetech in trainsunrise from middle of bay

Recent Comments

  • vishank goel: hi, m interested in web designing and was wondering if there’s any free hosting services...
  • Aakash Bapna: @francescoc all that can be easily done from phpmyadmin and little sql. @Xavi Donot like isn’t...
  • Aakash Bapna: It takes a lot of time for an OS to mature.. See where android was last year. By the time this symbian...
  • Laura: If I want to change this to just have the number of votes, is this possible? So now matter whether it was you...
  • markomarko: I love your plugin! So simple but so usefull