Thank You Counter Button WordPress Plugin

thank you counter button wordpress plugin

thank you counter button

Version 1.7.4 is available. This is the visitor’s “Thank you” or “I like it” click 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.
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.

Settings tab

settings page part 1

settings page part 1

  • 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.
settings page part 2

settings page part 2

  • 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 tab

Thank You-Statistics

Thank You-Statistics

At Statistics tab you can check how many thanks and when were left by your blog visitors. Filtering by post dates, categories and sorting by thanks quant, date-time, paging are available.
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

  • Kate

    Great Plugin, very easy to use, adds a fun function to blogs. No Problems – At All!
    Many thx

  • Pingback: Wordpress Plugins - Thank You Counter Button WordPress Plugin | ShinePHP.com

  • Pingback: Thank You Counter Button WordPress Plugin | ShinePHP.com | bllogger

  • http://blogviet.info/ Tinh

    Hi, it does not show up properly as it is here at my blog, you can see at http://blogviet.info/2009/10/binh-chon-blog-vie...

  • shinephp

    Hi, did you deactivate plugin already? I don't see 'thanks' button on your page at all and I don't see it in your page source code. Please provide me more information about your problem. I'm ready to investigate it and make the fix if needed.

  • Tinh

    yes, it show a very ugly, not showing the whole thank you word, that is why i deactivated it.

    1. It shows a half banner, just show “thank” without “you” in FF, I am using Thesis theme.

    2. In IE8, it show double banners

    Best
    T

  • shinephp

    I have not access to the Thesis theme. Can you please download the updated 1.0.01 version of this plugin (I fixed shortcode [thankyou] checking in the code) and put that shortcode [thankyou] to the one of your old posts? Do not forget to select 'shortcode' position at the plugin Settings page. It will not touch any other post except that one. And I can look on the reason of the problem in your theme environment then. Please include in your next comment the link to such post.

  • http://equipajedemano.info/ Omi

    Thank you for this nice plugin, it works like a charm!

    Please contact me if you want to translate the plugin into spanish.

    Regards

  • http://www.anakui.com/ iLm@N

    dear author,
    I think it's a plugin of a great idea.. because it mimics Facebook's “like this” behavior, and it will enhanced the appreciation for post's author (I manage multi-author blog: http://www.anakui.com)

    I have a question about this plugin. You said the one click is related to one IP-address. But how if a visitor come from a connection which is gated by a proxy server? it's on my university's internet connection, and it has only two public IP that come out the proxy server.

    does your plugin detect those different persons who come from proxy server?

    thank you very much, I appreciate this plugin very much :)

  • shinephp

    Thank you for the good words about this plugin. About your question:
    1st: you can turn off IP-address checking if you have some problem with it.
    2nd: Currently I try to get the unique IP-adress of the visitor machine if such exists in the data accessible to the PHP script. You can check the source code for thanks_getVisitorIP() function at thankyou-ajax.php file. Public IP address (REMOTE_ADDR) is checking in the last, before it HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR are checking. I have not access to the proxy environment. So if you post me some information how this IP-checking functionality works for your site when you contact it from a proxy connection it will be very appreciated.

  • shinephp

    Thanks. I will definitely ask you for the help with translation into spanish as I prepare the .pot file for this. During visit to your site today I discovered the reason to make 1.0.02 release with AJAX answer processing enhancement, so please update the plugin to the latest version to fix it.

  • Everton Macedo

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
    Timestamp: Fri, 9 Oct 2009 19:51:58 UTC

    Message: Object doesn’t support this property or method
    Line: 24
    Char: 4
    Code: 0
    URI: http://blog.7comm.corp/wp-content/plugins/tagspace/colorpick/tagcolors.js?ver=2.8.4

    What happness?

  • http://equipajedemano.info/ Omi

    With this new 1.0.02 release that ugly piece of code doesn't appears anymore when voting, well done!

    I will wait for that .pot file, just mail me when it's ready.

  • http://shinephp.com Vladimir Garagulya

    It seems you have a problem with another TagSpace plugin http://blog.7comm.corp/wp-content/plugins/tagspace/colorpick/tagcolors.js?ver=2.8.4
    After activating TagSpace on clear WordPress 2.8.4 installation (all other plugins were deactivated) I have got the JavaScript error message “$ is not a function” in the admin dashboard from the same as you “tagcolor.js” file.

  • Pingback: Five Super-Useful WordPress Plugins | google android os blog

  • http://equipajedemano.info/ Omi

    With this new 1.0.02 release that ugly piece of code doesn't appears anymore when voting, well done!

    I will wait for that .pot file, just mail me when it's ready.

  • Pingback: Thank You Counter Button | Eklenti.net > Wordpress Eklentileri

  • http://theluckyladybug-giveaways.blogspot.com/ Cheryl F. {The Lucky Ladybug}

    This looks promising, but would be even better with additional color choices — or the option to add our own. Font preferences would also be a nice touch!

  • http://shinephp.com Vladimir Garagulya

    I agree. Thanks. I will add it to the next version.

  • http://theluckyladybug-giveaways.blogspot.com/ Cheryl F. {The Lucky Ladybug}

    Sounds great! I look forward to your update :)

  • http://theluckyladybug-giveaways.blogspot.com/ Cheryl F. {The Lucky Ladybug}

    *Thanks* for the update with new button choices! It looks great!!

  • http://shinephp.com Vladimir Garagulya

    I’m glad that you like it.

  • http://equipajedemano.info/ Omi

    Great improvements Vladimir, well done!

    Glad to be helpful.

  • http://shinephp.com Vladimir Garagulya

    Thanks!

  • http://tunes.vinilosrip.org/ VinylTunes

    Hey, great Plug-in!!
    can you make that the button only show in a selected/s category/s? would be perfect!!!

    Thank you,

  • http://shinephp.com Vladimir Garagulya

    Thanks for the suggestion. I will add this functionality to the next update.

  • http://ripwrz.com/ Family Guy

    Hey,

    I can`t get the manual option to work, there was a missing “echo” in thankyou.php i think.
    <option value=”manual”>

    I edited it and still can`t get Manual option to work. I use to call the button…

    Thank you.

  • http://shinephp.com Vladimir Garagulya

    Yes, you are right, there is one missing “echo”. You have to use instead, because of thanks_button() function only returns html code for the button as the string. How to use it (make echo or concatenate it with other content, etc.) is your decision as the theme developer. I will include this explanation into the plugin description text.P.S. You have to call thanks_button() inside the posts loop of course as it needs $post->ID to work correctly.

  • http://equipajedemano.info/ Omi

    Hi Vladimir,

    Maybe you bored? Don’t worry, I have some (potential) work for you ;-)

    I thought a vote management section would be great (now it’s a little bit tricky to know your votes if you have a lot of post). From there the blog admin may know the more thanked post. Even, the plugin may use its own counters to show the info into a widget or also create a page or a weekly (periodicity adjustable) automatic post which show the most thanked post by users (this, of course, must be displayed only if the admin wants to do so).

    You can take a look into the WP-PostRatings admin zone to know what I’m talking about.

    We will keep in touch by mail.

    All the best,
    Omi

  • http://shinephp.com Vladimir Garagulya

    I think about some similar additions to the plugin admin back-end. Thank you for the confirmation of that such additions will be useful for the plugin users. Some widgets based on the ‘thank you’ counters can be attractive to the blog visitors. I will definitely make it.

  • Kostya

    Локализация на русском не работает… может надо в настройках или в файле где-то указать, что русский?

  • http://shinephp.com Vladimir Garagulya

    Спасибо. Под Windows работало, а под Unix, где разница между регистром букв в именах файлов имеет значение, я не проверил. Благодаря данному сигналу, ошибка в именах файлов русской локализации найдена и исправлена.
    Для исправления нужно либо переименовать файлы thankyou-ru_Ru.mo, thankyou-ru_Ru.po в thankyou-ru_RU.mo, thankyou-ru_RU.po, либо загрузить пакет установки плагина версии 1.1.01 с wordpress.org ещё раз – я уже выложил файлы с правильными именами.
    The mistake in Russian localization file names was found. It must be ‘ru_RU’ instead of ‘ru_Ru’ as it was first. Error is corrected. Files for Russian localization with valid names were uploaded to wordpress.org

  • Anonymous

    hi’i habe instilled the plagin and it is very nice but, i got this message:Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at …/dasisp.com/WP/wp-admin/admin-header.php:18) in …/dasisp.com/WP/wp-content/plugins/thanks-you-counter-button/thankyou.php on line 54What do i have to do?Thank you,Isaac

  • http://shinephp.com Vladimir Garagulya

    It is the first message about problem with sessions. Please try this solution:Add this code to the beginning of wp-config.php file, just after <?php on the next line inserted: if (!session_id()) { session_start(); }Source of the first solution is http://www.frank-verhoeven.com/using-session-in…If that will not help then you possibly have some plugins with blank lines before first “” tags which send headers before thankyou.php does it. So you need to find which plugin cause that and delete blank lines from it. Try to deactivate all plugins but thank-you-counter-button one and check if that warning still exists. If it doesn’t exists, try to activate other plugins one by one and check if you have that warning. When warning will appear, delete blank lines at the begin or at the end of that plugin file which causes the warning, before tags.Source of the second solution is http://tech.nabtron.com/wordpress-plugin-error-...
    Regards,Vladimir.

  • http://www.massagegeek.com/blog Lynn

    Hello, I am getting the following error message that blocks my blog from loading:
    error: Table ‘xmassagegeek-wp.wp_thanks_counters’ doesn’t exist

    Any suggestions? Did I miss something?
    Thanks,
    Lynn

  • http://shinephp.com Vladimir Garagulya

    Hello Lynn!Is it the first installation of this plugin or the version update?It seems that TYCB plugin is not installed correctly. It creates its MySQL tables during activation. If wp_thanks_counters table doesn’t exists that something is wrong with MySQL permissions possibly.Has mysql db user under which your blog works table creation rights in your MySQL database? Or with other words is your WordPress installed under the same MySQL user as it uses for usual work?Finally, to exclude the similar situations in future (if the problem is in the plugin code) I’m ready to investigate the problem at your site. I will need ftp accsess and user with blog admin rights for that. Of course, all that work will be done for free.Regards,Vladimir.

  • ruben

    I love the plug in but is there a way to only limit the plug to only one page or post?

  • http://shinephp.com Vladimir Garagulya

    You can make it two ways:
    1) uncheck ‘before’, ‘after’ options, check ‘shortcode’ option and put shortcode [thankyou] to the post where you wish to show this button.
    2) use categories exclusion feature. Possibly make new category like ‘thank you’ and check all categories except that.
    Let me know please if you have a trouble with realization. May be I will add ‘one click’ option for your situation specially.

  • ruben

    that did it THANKS :)

  • http://www.massagegeek.com/blog Lynn

    Thank you, Vladimir. This was a first installation. After I wrote to you, I moved my website to a different host. In addition to all the original benefits for changing, the move has solved the MySQL problem as well. So, no help needed.

  • Marko

    Hey,
    is it possible to add statistics about thanks submitted in WP pages?

  • http://shinephp.com Vladimir Garagulya

    Hello Marko,
    Yes it is possible. It seems I forgot about static WP pages :) . I included this fix in my work plan. Thank you.

  • http://shinephp.com Vladimir Garagulya

    It is fixed since the version 1.6. It shows WP pages data in the statistics forms and widgets.

  • http://www.mantronic-software.de/ steve

    Hi there
    nice button!
    But I wanna change the tooltiptext of the button (need german).
    Please insert a new textfield in the settings…
    thanks
    Steve

  • http://shinephp.com Vladimir Garagulya

    Hi Steve!Thank you for using this plugin. If you need just a translation I propose you another variant. Let’s use WordPress general localization/translation feature. Just copy./wp-content/plugins/thanks-you-counter-button/lang/thankyou.pot file into thankyou-de_DE.po fileThen open thankyou-de_DE.po in the poEdit program (http://www.poedit.net/), make German translation, save your changes. Upload thankyou-de_DE.po and thankyou-de_DE.mo files to plugin folder at your site. That’s all – you have full German translation for the TYCB plugin. If you kindly send translated thankyou-de_DE.po file to me I include it into the TYCB plugin package together with thanks for translation and link to your site in plugin readme.txt file and plugin page at shinephp.com. Regards,Vladimir.

  • http://lyricstranslations.com/ Spring

    Is it possible the plugin doesn't work too well with WP 2.9?
    I keep getting “Not available” message when I try to view statistics details for particular pages

  • http://shinephp.com Vladimir Garagulya

    Thanks for the message. Let me recheck this part of code. Do you use the last 1.6 version of TYCB plugin? Do you see such message for the some posts too or for the WP pages only?

  • http://shinephp.com Vladimir Garagulya

    I made some tests. Statistics details feature works valid for my WP 2.9.1 installation, for posts and pages equally. So I need more information in order to identify the reason of your problem.One of the possible reasons is:If you have “Check IP-address” option unchecked plugin doesn’t store button clicker IP information. As so you can have quant of button clicks (thanks) for the paticular page, but see “Not available” message when trying to see statistics details for it as you have no thanks IP information in the database for that page.

  • shinephp

    Hi dear 'Thank You Counter Button' plugin users!
    I met the situation when 'Thank You Counter Button' plugin marked as broken for WP version 2.9.1 (5 negative marks opposite 2 positive marks) at wordpress.org. It is possible that some users have troubles with plugin. What I want to say that I still have no any information from them, what is wrong with plugin, what bed experience they have. No one go to here and write specifically what is the problem in order to I can fix it.
    If you have the good experience with this plugin, please support it, register at wordpress.org and click 'Works' button with Compatibility widget at the http://wordpress.org/extend/plugins/thanks-you-… page.
    The lack of response from the plugin users is the real problem. With more than 4 thousands downloads and positive comments here two persons only (including me) clicked 'Works' button for this plugin at http://wordpress.org/extend/plugins/thanks-you-… page. The picture is shown by Compatibility widget is not objective truth now. Let's correct it together.
    Thank you,
    Vladimir.

  • Tom

    Not working.
    Waste of time. I lost my blog.