This item was featured on CodeCanyon
This item is by an Elite Author
GeertDD
- Author was Featured
- Belgium
- Bought between 10 and 49 items
- Elite Author
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 200 and 499 users
- Sold between 50 000 and 100 000 dollars
1,525
Purchases
Buyer Rating:
4.52 stars
4.52 average based on 302 ratings.
-
5 Star
21671%
-
4 Star
4615%
-
3 Star
289%
-
2 Star
51%
-
1 Star
72%
| Created | 19 July 09 |
| Last Update | 7 November 11 |
| Compatible Browsers | IE8, IE9, Firefox, Safari, Opera, Chrome |
| Software Version | PHP 5.x, MySQL 4.x, MySQL 5.x, jQuery |
| Files Included | JavaScript JS, HTML, CSS, PHP, SQL |
© All Rights Reserved GeertDD -
Contact Envato Support


Hi
I have classified ads MYSQL PHP 5+ websites, and all public pages of all our websites scripts are HTML. Can we use your scripts on our website?
ThumbsUp requires PHP. Including it in static HTML files won’t work, sorry.
Hello, I have some pre-purchased questions. 1) can we vote only up ? and hide the results from the users ? 2) can we set a limit of votes per user(per IP) ? So a user can vote only 3 times instead of just once.(most important part) Thanks
1) There’s a template for just voting up. If you want to hide the results at all times you could add some custom CSS for it.
2) You can set a timeout limit per IP, so a single IP can only vote once every x seconds. Limiting to a predefined number of votes per IP is not a built-in feature but you could add it yourself if you know a bit of PHP.
about question 2) is any chance to help me with that ? I know PHP but I don’t know how you have code it so I am not sure if I could manage to do that.
Something else I would like to ask is if the vote button can easily added to any design.
thanks
Sorry, can’t help much at the moment. You should look into the
catch_vote()method (all code is very well commented).You are free to change the design of the buttons. With a bit of CSS skills you can tweak them a lot. Just replacing the images is possible too: http://graphicriver.net/item/thumbsup-graphics/51644
please please when not can you make it because the thumbs up are very good
Thank you
ThumbsUp requires PHP in order to work, no way around it, sorry. Most webhosts do support PHP, though. Did you try changing your file extension from .html to .php?
Has anyone tried to use it in wordpress? Is it possible?
Thanks.
It is definitely possible. Many buyers have integrated it in WP. It is not a plugin, though. Basic PHP/HTML skills are needed.
How hard is it to integrate into Wordpress. I know a lil html and not much php
Should not be too hard. Just follow the regular installation instructions. You do need to know which of your theme files to edit, though.
Great script! I am having a problem with the voting confirmation using thumbs_up. When you click the button it registers your vote but it doesn’t say “thanks for your vote” you have to click it one more time for it to show up.
Hi, this is probably related to a failing ajax request. Please double-check the “url” setting in thumbsup/config.php. It should end with a slash. Also, make sure you only use a single (sub)domain, either with or without “www”.
Hello. Does this work in weebly?
I had to google for “weebly”.
It seems to be a hosted blog service. I’m quite sure you don’t have the freedom to install PHP scripts like ThumbsUp, sorry.
Great work! Congrats!
public static function load($name) { $cache=new cache; $row=cache->load('thumpup'.$name); $if(!$row){ // Are we loading by id or by name? $key = (is_int($name)) ? 'id' : 'name'; // Load the item $sth = ThumbsUp::db()->prepare('SELECT id, name, date, closed, votes_up, votes_down FROM '.ThumbsUp::config('database_table_prefix').'items WHERE '.$key.' = ?'); $sth->execute(array($name)); // Fetch the item record if it was found if ( ! $row = $sth->fetch(PDO::FETCH_OBJ)){ return FALSE; }else{ $cache->save('thumpup'.$name,$row,5000); } }There’s a method called “catch_vote” in the ThumbsUp code. You could trigger cache removal in there, I guess.
Hello,
is it possible to create poll like that on demo page fitst right, just with 5 questions instaed of two?
Thanks
No, sorry, the whole system is built around up/down votes. A two-option poll is as flexible as it’s gets unless you are willing to do rather large customizations in the code yourself.
I have a site that shows items… those are shown in dynamic pages, can each item get a vote system?
Sure. Just use dynamic ThumbsUp item names. You can use PHP variables in it. For example:
ThumbsUp::item('post_'.$var_with_id);perfect thanks
I can add multiples ThumbsUp in one single post in wordpress?
Ex.: Did you like the movie (ThumbsUp id:1); Want to watch the movie (ThumbsUp id:2); ... in single post.
Sure, as long as you give each ThumbsUp item a unique name. Note that you need to able to add PHP code into the post, or just add it to one of the theme files.
Hello, I have a pre-sale question. I have wordpress and Jarida theme and i wanted to place thumbsup in my posts but im not very experienced with php files besides plugins, I do use filezilla and know where files are located just im having a hard time following the installing instructions just a bit confusing,
Would it work on my web if i purchase it and how hard would it be to install it? Not really sure how to set up the database and all that =/