Thank You Counter Button WordPress Plugin

thank you counter button wordpress plugin

thank you counter button

This is the visitor’s “Thank you” or “I like it” clicks counter. Every time a new visitor clicks the “Thank you” button one point is added to the total “thanks” counter for this post. Plugin uses AJAX to send data to the server and get it back. So no page reload is required. The plugin stores its counters in its own MySQL table. Only one “thanks” for the same IP-address can be permitted. Plugin can skip all further “Thank you” clicks from that IP-address once it is automatically registered. Total quant of thanks is displayed on the button just to the right from the click invitation text. Invitation text is ‘Thank You’ by default, but it can be changed at the plugin Settings page. Plugin has wide range of options to customize its behaviour and presentation. Live preview will help to select more suitable style.

Plugin has Statistics data table which shows posts list with total thanks quant for every post and time of the latest thank. Rows in the table can be filtered by posting month, category, can be sorted by thanks quant or time of latest thank in the descending or ascending order. Selected post can be viewed or edit directly from this table.

Admin dashboard and sidebar widgets with list of latest thanked or the largests thanked posts (between 3 and 15) are available. Total quant of thanks can be shown. Use widgets control panels to change settings according to your preferences.

The set of shortcodes and content filters is available for this plugin.

Thank You Counter Button has been granted the “Editor’s Pick Award” by FamousWhy.com Thank You Counter Button Famous Software Award.
Version 1.8.1 is available.
download
Thank You Counter Button at FamousWhy.com

Quick Links

FAQ

Installation procedure:

Attention! This plugin will work properly for that WordPress installation only which has “CREATE” permission on its MySQL database. “Create” permission is needed as plugin creates two own DB tables to work with.
1. Deactivate plugin if you have the previous version installed.
2. Extract “thanks-you-counter-button.1.x.x.zip” file archive content to the “/wp-content/plugins/thanks-you-counter-button” directory.
3. Activate “Thank You Counter Button” plugin via ‘Plugins’ menu in WordPress admin back-end.
4. Go to the “Settings”-”Thanks CB” menu item and check/change your preferences to customize how this plugin will work for you.
5. Use “Tools – TYCB Statistics” menu item to analyze how many thanks you get per post, who and from where left them.
6. Use “Appearance – Widgets” menu item to add “Thank You Counter Button” plugin’s widgets to your site.

Settings page

Thank you counter button settings page

Thank You Counter Button Settings page

  • Display -
    Display button at Pages: if it is checked, then shows counter button at the WordPress Pages. If this checkbox is not checked then button is not shown on the Pages.
    Display button at Home page: if this checkbox is checked then counter button is shown for every post at the Home page.
    If both Display checkboxes is not checked then counter button is shown for the single post pages only.
    Do not show button for selected categories: check this checbox and select in opened categories list categories for which you don’t want to show ‘Thank You’ Button.
  • Position in the Post text – these controls allow you to customize the place where click counter button to show in relation to the post content: before, after, shortcode and manual.
    Before: Do you wish to place ‘Thank You’ button before post text? Check ‘Before’. Additional option ‘At first page of multipaged posts only’ will appear on the screen then. If you write multi-paged posts, you have the next variants: 1) show button at every page, 2) show button at the 1st page of multi-paged post only. That second checkbox to the right from ‘Before’ one serves for that purpose.
    After: The same is valid for the ‘After’ checkbox with the difference only that second checkbox is ‘At last page of multipaged posts only’.
    Shortcode [thankyou]: You can place it in any place inside the post content and you will see thanks counter button there.
    Manual: This option allows to hard code counter button somewhere in your blog theme – place thanks_button() function call for that in one of your theme files. For example,

     <?php echo thanks_button('Thank You', true); ?>

    thanks_button() function returns html code for the button as the string. How to use it (make echo or concatenate it with other content, etc.), it is your decision as the theme developer. You can to call thanks_button() inside the posts loop with second parameter set to false to use $post->ID for its work. It works inside of pages too. If second parameter set to true then you get global for the whole site thanks counter with ID=0.

  • Button Caption – it is ‘Thank You’ by default. You can put you favorite words here, e.g. ‘I Like It’, etc. and it will show that text at the counter button.
  • Button Styling
    Add style to div: put CSS code to align button properly (left, right or center). Save settings and see how it will be looked right here at the div style preview section at the bottom of the Settings page.
    button div style preview

    button div style preview


    to the caption font: add CSS for the font family, size, weight selection. You can put font color manually into CSS input field or use the nice color picker, just click on the color circle icon. After you finish edit CSS code click anywhere on screen beyond CSS input field and you will see the visual change as the result of your input immediately.
  • SizeNormal is 120 px width and 40 px height button, Compact is 100x26px button. Change in this option dynamically changes button images which are shown below.
  • Form and Color – You can select from the several predefined colors and forms variants for your blog thanks button. Select one which the most suitable for your theme colors.
  • Custom button image URL – turn on this check box if you prefer to use your own button image. Input the full URL into correspondent text input field, input height and width for your button also.
  • Check IP-address – If this checkbox is turned on then only one point can be added from the unique IP-address if additionally ‘forever’ time limit option is selected. If ‘Only for this period’ time limit option is selected than visitor from that IP can vote again after time in seconds you input will be elapsed.
    If ‘Check IP-address’ checkbox is turned off then IP-address is not controled and visitor can click the button and raise its counter without any limits.
  • Add shortcuts to the buttons for settings quick access – if turned on (checked) shows three shortcuts links (icons) to the right from the “Thank You” button:
    1) Settings “Settings” – lead you to the “Settings page of the TYCB plugin”;
    2) detailed statistics “View statistics details for the post” – shows table with last 35 IP-addresses from which visitors who clicked “Thank You” button came from. Every IP address is linked to the service page where you can see Country, Region and City of that IP (or any custom input IP) address;
    3) hide shorcuts “Hide this shorcuts” – hides shortcuts icons from the all visible “Thank You” buttons. In order show those shortcuts again you need to check (turn on) corresponding checkbox at the plugin Settings page

data reset buttons ‘Return to Defaults’ button from the Misc section allows automatically return all options to its default values. ‘Reset Counters’ button allows to clear all counters for all posts with all click history together. Be carefull when press this button, you can lose the valuable data if you will act without care.

Statistics page

Click “Tools – TYCB Statistics” menu item to open “Thank You Counter Button” plugin Statistics page. There you can check how many thanks and when they were left by your blog visitors. Filtering by post dates, categories and sorting by thanks quant, date-time, paging are available. One click GEO IP (where your visitor from) service from shinephp.com is available at statistics details page.

Thank You Counter Button Statistics page

Thank You Counter Button Statistics page

Post Detailed Stat

Post Detailed Stat


With click on the IP-address or the special link under it You can see, from which IP “thanks” for that post were left and from what country, region, city that IP came from.


Widgets

thank you counter button admin dashboard widget

thank you counter button admin dashboard widget


With widgets you can see yourself (admin dashboard widget) and show to your blog visitors (look on the sidebar widgets to the right) current information about the most thanked or latest thanked post, including the total quant of thanks information.

Admin dashboard widget control panel can be opened by click on the “Configure” link at the right top corner of the widget title bar.
Sidebar widget can be configured via standard WordPress widget configuration panel at the widgets sidebar. Use own CSS (insert it into your theme style.css file) to customize widget appearance and make it more attractive. Available widget CSS classes (thanks_quant_for_post, thanks_total_quant_label, thanks_total_quant_value) are shown at the image below:

Thanks Widget CSS

Thanks Widget CSS

download
It is continued on the next page

Guaranteed pass exam with help of latest testking 642-812 exam tutorials including testking 70-640 questions and testking 70-642 answers.

Pages: 1 2

Tags: wordpress plugin

  • chetan

    Vladimir, I just came back thinking about that. That must be the easy as of now. I’ll see if there is something online when it comes W3 total cache and your plugin. Thanks again!

  • Yevgeniy

    Hi, Very interesting plugin, I am also interesting in a few buttons displayed on one page with different counters.
     
    For now I look for a way to place several buttons on for example Home page with excerpts, or post page linked to several attachment pages. Is it possible to specify for each button its own ID like ($post->id) or ($image->id) or maybe there is other way to achieve it? Thanks for any ideas,

  • http://shinephp.com Vladimir Garagulya

    Hi,
    Look at shinephp.com home page. Every post exerpt has its onw button with its own counter. If you search something similar to it, that’s possible without problem. Just turn on ‘display button at Home page’ checkbox at the plugin Settings page.
    But if you wish to include a set of buttons with different counters into one post, that’s not possible with current version, just included into future development plan :) .

  • Yevgeniy

    Vladimir thanks for fast reply. I’ll wait the update. Since I need just 2 different buttons on post page I’ll try to clone the plugin (changing function names, variables etc.) and use 2 plugins with 2 db tables, 2 option pages etc., may be this is not best way, but hope it will work).Thanks

  • Krishnajaswanth

    can i have this button for only one single post ?

  • http://shinephp.com Vladimir Garagulya

    Yes, you can.
    Unselect all button position checkboxes on plugin’s Settings page except ‘shortcode’ and insert [thankyou] shortcode into the post, where you wish to use this button.

  • Allie

    I am looking for a plugin like yours that includes the username in statistics for who thanked instead of just ip. 

  • http://shinephp.com Vladimir Garagulya

    Thanks for feature request. I will add user name to the stat data in the nearest future.

  • Anonymous

    Hi! Very nice plugin and i’m planning to use it. Is it possible to redirect to some other page when you click the button? And can i show the count number in the redirected page and the button doesn’t show the count number at all?

  • http://shinephp.com Vladimir Garagulya

    Hello, thank. No, redirection after click is not possible in the current version. It’s not the 1st request of such feature. I will consider your suggestion, really for the next update.
    But, it will not be ready soon. I will try to make my best to release it till March.

  • http://shinephp.com Vladimir Garagulya

    Hi,

     Somebody asked a feature to place more buttons/counters into the same post in this thread already. I plan to realize that.
    Sorry, I couldn’t take commercial order now. But, if you wish to accelerate this feature development, you can make the donation. It will stimulate me to not postpone next release for months, definitely :) .

  • Roberto Moura

    Hi! Congrats! This is a great plugin! Vladimir I need a help. 1. I set manual and put on loop.php and single.php. On single.php its ok but on loop.php does not work. I cant even click. http://www.memoideas.com

  • http://shinephp.com Vladimir Garagulya

    Hi! Thanks.
    Check if you places button function call exactly inside post loop at loop.php, not beyond it. In other case button will not work, as it uses current post ID for internal purposes.

  • Xhowiexo

    Possible to display all usernames under the button, who have klicked thanks button?

    [thankyou button]

    Have thanked: username1, username2, username3,….

  • http://shinephp.com Vladimir Garagulya

    Nothing impossible. Plugin should start to store logged-in user names who clicked button for that.
    It could be OK for 3-5 clicks. But what do you plan to show if you have 100 or 200+ clicks? Limit users list to last 5 or what?

  • Xhowiexo

    Thank you for your quick answer Vladimir. Thanks button in PHPBB shows just all names one after one. For me it would be fine too, if all will be displayed. Maybe its possible add a pagination, accordion or add an admin setting how much users like to be displayed.
    One more desire vladimir. Can you modify the widget for me too? I need display it like this:
    Last thanks:
    [user] for post [post]
    [user] for post [post]

    Total thanks: xxxx

  • http://twitter.com/europedog EURODOG
  • Treehill

    Take a look at this… 
    http://proba.nkg-zagreb.hr/novosti/moj-otok-silba/

    I used this plugin before, and everything worked correctly…it seems that in above link jquery is not working, or?
    Any ideas?

  • http://shinephp.com Vladimir Garagulya

    I clicked on button, nothing was happend.  But counter was increased by 1, when I reloaded the page. Thus JQuery works, as I use JQuery AJAX request to send ‘thanks’ to server. 
    Do you use some pages cashing plugin? May be problem sits there…