In: tech
14 Jan 2010Finally 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-
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.
Hi, my name is Aakash Bapna. This is like my twitter. I write here whats happening in my world in somewhat more detail.
80 Responses to WP Likes 3.0 – its not just likes!
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 [...]
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
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
Levani
January 16th, 2010 at 7:56 pm
How can I let people vote for the posts in every 24 hour?
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]:”").”‘ >”;
help
January 17th, 2010 at 12:48 am
how can i move this “like button” to the top off my page?
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.
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.
Mike Abundo
January 17th, 2010 at 9:17 pm
Thanks, Aakash! Downloading now.
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? :/
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.
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
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
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
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 [...]
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
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
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
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!
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?
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?
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!!
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.
tony
January 30th, 2010 at 2:00 pm
I have checked the permission changed to 755 .. still doesn’t work !
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.
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 [...]
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
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?
JayT85
February 10th, 2010 at 6:24 pm
Is it possible to see who liked the post in the front end?
francescoc
February 10th, 2010 at 10:11 pm
widget doesn’t show any post… is there a minimum number of posts to publish?
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)!
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.
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/
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.
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?
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?
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!
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
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.
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!!
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
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
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.
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!
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.
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.
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.
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.
Martin Klima
March 12th, 2010 at 10:57 pm
The widget does not show up.. Don´t you know why? Thanks (I have the newest version 3.0.2)
Lukas
March 13th, 2010 at 12:52 am
Same here.
Installed the plugin, no errors. It doesn’t show up on my blog and I can’t find the settings page either!?!
Please help!
Lukas
March 13th, 2010 at 1:36 am
P.S. On the plugin page it says WP Likes is activated, when I check the files in the editor, it says its deactivated.
I’m still running WP 2.8.6. Might this be the problem?
Sandra
March 13th, 2010 at 6:32 pm
I’ve been looking EVERYWHERE for a wp-plugin like this–THANK YOU, THANK YOU, THANK YOU!!
Nicole Kwong
March 16th, 2010 at 8:45 pm
It would be great if you can also add dislike buttom beside the like buttom.I assume people sometime will dislike the post by some reasons.
Jonathan
March 20th, 2010 at 12:16 am
Great plugin, works fine in my website, but i got a question, if i want show in the home how many likes have each post, wich is the variable what need i call?
thanks great job.
Jerry
March 22nd, 2010 at 2:37 am
Hey, good work on this plugin. I’ve almost got it working the way I want it, and it will definitely be a good addition to my site. As I went through I ended up tweaking the code a bit and I thought I’d share with you what I did. Just a couple of changes makes the plugin more customizable without doing anything too drastic.
1) Support %NUM% and %NUM-1% in all six text strings. Then Laura above and others could make the text just show the total number, for instance. This actually made the code a lot simpler. (For backwards compatibility, maybe use %TOTAL% and %TOTAL-1% and let %NUM% continue to work the same way? Not sure about that.)
2) Rather than put bold tags around the numeral, put a span – for instance I wanted the number to be larger than the rest of the text. Piece of cake once the span was in.
3) Add a class “already_voted” to the outermost div when the user has already voted. This would allow people to customize every aspect of the display based on whether the user has voted. It would be best if the javascript added that class when the user votes as well.
4) It’s not a big deal, but down the road people may want double-quotes on all the html properties so their sites will validate against stricter standards.
I’d be happy to share my code tweaks with you if you are interested; I made the minimum changes necessary to get things working for me, but if you think it would be helpful please let me know.
Ilham
March 24th, 2010 at 7:07 am
Hi aakash,
My blog using Smells Like Facebook Themes, and I applied WP Likes to this themes, but the original ajax of the themes is error. I think, the jquery libs of the themes conflict with WP Likes. Would you to check the plugins combined with Smells Like Facebook themes ?
Thanks m8
Daganl
March 28th, 2010 at 1:14 am
Beautiful plugin, but is there any way to only show the “like” count? I want people to see the count only on the excerpt page, and only be able to like it once they go onto the actual post page.
Adam
April 5th, 2010 at 9:28 am
Aakash,
For some reason, the count is not showing next to the like post! the only status that shows is “you like this post” .
PLEASE HELP!
Aakash Bapna
April 8th, 2010 at 1:45 am
@Martin Klima, Lukas
If the widget doesn’t show up. You need to drag drop the widget into sidebar from the admin area->widgets page.
@Jonathan
The sidebar widget should help you in that case.
@Jerry
Thanks for your valuable suggestions. Will take care of these things in new version.
@Ilham
I need the exact javascript error that occurs with that theme to be able to help much more.
@Daganl
That is a good idea, will try to implement this in next release.
@Adam
Guess you got it working now
Intern: neue Sozialisierungsfunktionen - daburnas Logbuch
April 9th, 2010 at 5:09 pm
[...] zwar schon integriert, doch wird sie wenig angenommen. Daher gibt es nun einen einfachen “Like”-Button, ähnlich wie bei Facebook. Dort funktioniert das super, mal sehen, ob es auch hier [...]
Salem
April 15th, 2010 at 3:22 pm
If you can take a look at my blog, you see a “Like” underlined even before the line. Is there a way to remove the extra line through CSS? I tried everything but failed. Please help
Aakash Bapna
April 15th, 2010 at 10:45 pm
Add this line to CSS code to fix it-
.wp_likes a.like {text-decoration:none
}
Paul
April 21st, 2010 at 11:38 pm
Great plugin! Is there a way to control the order in which it appears after the post? On my blog it’s conflicting with FT Signature plugin – WP Like is appearing above the signature. I’d like to have the signature first and the Like after. Possible? Thanks!
ken brand
April 23rd, 2010 at 8:57 pm
What’s this error message mean?
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/brandcandid/brandcandid.com/wp-content/plugins/wp-likes/likes.php on line 118
Can’t get it to work.
Struck
April 24th, 2010 at 5:04 am
Is there any way to put WP likes on the same line as tags, comments (see link.)
Raj
April 30th, 2010 at 1:59 pm
Hi Akash! Nice work!
Can you tell me a way by which I can toggle the like and unlike buttons in the same position. What i mean to say is, when a person clicks on like button, the like button changes to unlike button (a different image). An user can click the unlike button if he wants to revert and the button again changes to like.
You have provided the unlike feature but I want the like and unlike buttons to toggle in the same position.
Tyler Stefanich
April 30th, 2010 at 9:38 pm
Hello I was wondering when you think the version of WP-likes will be out that you can sort posts by likes. I have a client that would love to have that on their site.
Rob
May 3rd, 2010 at 9:15 pm
Love the plug-in, but I’d like to be able to position it in my own custom div instead of it auto attaching itself to … maybe having an option to call where I’d want to put it?
Malte
May 11th, 2010 at 2:24 pm
Hey, that’s a great plugin, I love it! Thanks!
What I’d love to have in the next version is the chance to change the headline of the widget. I’m running a German Blog and I’d like to translate everything…
The idea from Raj to have toggling like/dislike buttons is great too.
Thanks again for the great job!
feng shui
May 13th, 2010 at 10:38 am
May you can create another plugin or built into the existing plugin showing no. of visitors. With that you can calculate the percentage of visitors who like the post. Just make this an option we can disable it.
So it can show something like this:
24 (45%) people like this post
Unlike
Visitors: 305
Just a suggestion.
Aaron Ten Clay
May 14th, 2010 at 3:52 pm
Great plugin! Using it on my site now. Thanks a bunch!
Serpa
May 17th, 2010 at 6:34 pm
hey, I just set up the plugin and everything is Ok, besides the Sidebar.
in the Dashboard -> widgets it says this :
“There are no options for this widget.”
Can you please tell me what I’m doing wrong here?
bloGeescht » Blog Archive » To flattr or not to flattr
May 28th, 2010 at 3:08 pm
[...] huelen ech de WP Likes Plugin net eraus, deen et dem Visiteur erméiglecht e Post ze “liken” andeem s en op de [...]
Nicholas
May 31st, 2010 at 6:50 am
Hi Aakash
i have installed your plugin but there might be something that not working , it only show ‘ you like this look’ instead of other options and others people cant vote because of this . mind to share with me whats wrong?
Aakash Bapna
June 1st, 2010 at 2:45 am
@Serpa what is your wordpress version?
@Nicholas guess its working on your blog now.
I had added the refined sorting capabilities, but just then facebook revealed its Likes for the web. I am thinking of a way to merge both, and have best of both worlds in the next release.
Radek
June 2nd, 2010 at 9:54 am
Hi Aakash
can I use your Like plugin for comments too? Can I change the like icon to something else?
Thank you
Radek
Simon
June 14th, 2010 at 11:31 pm
Aakash,
Great plugging, but like Salem commented on the 14/04 I too get the under lined like button before the text. I have added your fix to the bottom of the CSS but it has not fixed. Can you suggest how else I could fix this?
fra
June 25th, 2010 at 10:29 pm
hi
i just try to install the plugin on wp2.9.2 but it generated a fatal error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /membri/xxx/wp-content/plugins/wp-likes/likes.php on line 118
116| //class for rendering in various areas
117| class wp_likes_render{
118| public static function settings(){
can you suggest me how can i fix it?
thanks
–fra
Shadaliza
July 31st, 2010 at 11:47 am
Hi
I just upgraded to WP 3.01 and upgraded your plugin. It looks good, but when I click the like button on my website my vote is not added to the total.
I also installed it on my other website http://www.trueblood-online.com/ and there is works like a charm.
any suggestions?
thanks
Shadaliza
July 31st, 2010 at 12:05 pm
No sorry it doesn’t work on http://www.trueblood-online.com/. Same problem, the votes are not added to the total.