CodeCanyon

ThumbsUp

  • Has been a member for 0-1 years

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?

GeertDD

ThumbsUp requires PHP. Including it in static HTML files won’t work, sorry.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

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

GeertDD

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.

Default-user

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

GeertDD

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

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

:confusedsad: iam stoopid i had buy it but it is immpossible to put in the HTml side. Is this true??

please please when not can you make it because the thumbs up are very good

Thank you

GeertDD

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?

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Has anyone tried to use it in wordpress? Is it possible?

Thanks.

GeertDD

It is definitely possible. Many buyers have integrated it in WP. It is not a plugin, though. Basic PHP/HTML skills are needed.

  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
  • United States

How hard is it to integrate into Wordpress. I know a lil html and not much php

GeertDD

Should not be too hard. Just follow the regular installation instructions. You do need to know which of your theme files to edit, though.

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

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.

GeertDD

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”.

  • Has been a member for 0-1 years

Hello. Does this work in weebly?

GeertDD

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.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
FireEyes Purchased

Great work! Congrats!

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
banmidou Purchased
Hi GeerDD, i want to use cache option with thumpup. In load() function of thumpup, i using cache to save and load data from database. But, i need to delete cache to load new data when we cacth a vote or delete, can you give me some guide when and where i need to delete cache in thumpup. Thanks and best regards.
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);
                    }

        }
GeertDD

There’s a method called “catch_vote” in the ThumbsUp code. You could trigger cache removal in there, I guess.

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years

Hello,

is it possible to create poll like that on demo page fitst right, just with 5 questions instaed of two?

Thanks

GeertDD

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.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

I have a site that shows items… those are shown in dynamic pages, can each item get a vote system?

GeertDD

Sure. Just use dynamic ThumbsUp item names. You can use PHP variables in it. For example:

ThumbsUp::item('post_'.$var_with_id);
Default-user

perfect thanks

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Russian Federation

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.

GeertDD

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.

  • Bought between 10 and 49 items
  • Has been a member for 0-1 years
  • United States

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 =/

by
by
by
by
by