=== WP ULike ===
Contributors: alimir
Donate link: https://m.do.co/c/13ad5bc24738
Author: Ali Mirzaei
Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin, buddypress like system, buddypress votes, comment like system, voting button, wordpress, buddypress, statistics, stats likes, bbpress, bbPress like, WP-Translations, forums, community, credit, points, mycred, users, ultimate member
Requires at least: 3.5.0
Tested up to: 4.9.8
Stable tag: 3.5.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WP ULike enables you to add Ajax Like button into your WP and allowing your visitors to Like/unLike the posts, comments, activities & topics.

== Description ==

If you’re looking for one of the best and fastest ways to add like and dislike functionality to your WordPress website, then the WP ULike plugin is for you! WP ULike is a FREE WordPress plugin that will allow your website visitors to engage with your wide range of content types including posts, forum topics and replies, comments and activity updates.

Also WP ULike’s amazing statistics tools help you to track your content effectiveness with a real-time report system and detailed statistics. What’s more, WP ULike have a wide variety of options available to customize your plugin. It will allow you to customize your like button in your favorite style.

= More Information =
*   Visit Our [Home Page](https://wpulike.com/).
*   Donate Us [By Make a Cloud](https://m.do.co/c/13ad5bc24738).
*   See Online [Demo](http://preview.alimir.ir/wp-ulike-plugin).
*   Fork Us In [Github](https://github.com/Alimir/wp-ulike).

= Features =
*   Clean Design + Pretty styles.
*   Full myCRED Points Support.
*   Flexible google rich snippets support. (Microdata)
*   Full Statistics tools with many widgets.
*   Supporting UltimateMember & BuddyPress Profiles.
*  	Likers World Map & Top Likers Widget.
*   Ajax feature to update the data without reloading.
*   Visitors do not have to register or log in to use the Like Button.
*   Compatible with WP version 3.5 & above.
*   Added automatically with filtering options (no Code required).
*   Different logging method options.
*   Notifications System. (Custom toast messages after each activity)
*   Shortcode support.
*   Support custom templates with separate variables.
*   Comment likes support.
*   Supporting the date in localized format. (date_i18n)
*   Full likes logs support.
*   BuddyPress add activity & notifications support.
*   Simple user like box with avatar support.
*   Custom Like-UnLike Texts fields.
*   Simple custom style with color picker settings.
*   Advanced Widgets With Custom Tools. (Most Liked Posts,Comments,Users,Topics,...)
*   Powerful configuration panel.
*   Support RTL & language file.
*   And so on...

= Translations =
WP ULike has been translated into the following languages:

*   English (United States)
*   Persian (Iran)
*   French (France)
*   Chinese (China)
*   Chinese (Taiwan)
*   Dutch (Netherlands)
*   Arabic
*   Portuguese (Brazil)
*   Turkish (Turkey)
*   Greek
*   Russian (Russia)
*   Spanish (Spain)
*   German (Germany)
*   Japanese
*   Romanian (Romania)
*   Slovak (Slovakia)
*   Czech (Czech Republic)
*   Hebrew (Israel)
*   Italian (Italy)
*   Polish (Poland)
*   Finnish
*   Hungarian (Hungary)
*   Lithuanian (Lithuania)
*   Indonesian (Indonesia)
*   Khmer
*   Norwegian Bokmal (Norway)
*   Portuguese (Portugal)
*   Swedish (Sweden)
*   Danish (Denmark)
*   Estonian
*   Korean (Korea)
*   Vietnamese
*   Basque
*   Bosnian (Bosnia and Herzegovina)
*   English (United Kingdom)

Want to add a new language to WP ULike? Well! You can contribute via [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wp-ulike).

= About Author =
*   My personal website: [Ali Mirzaei](http://about.alimir.ir)
*   Follow me on [Facebook](https://www.facebook.com/alimir1993)
*   Catch me on twitter as @alimirir
*   And Connect me on [Linkedin](https://ir.linkedin.com/in/alimirir)

== Installation ==

= From your WordPress dashboard =

1. Visit 'Plugins > Add New'
2. Search for 'WP ULike'
3. Activate 'WP ULike' from your Plugins page. (You will be greeted with a Welcome page.)

= From WordPress.org =

1. Download 'WP ULike'.
2. Upload the 'WP ULike' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
3. Activate 'WP ULike' from your Plugins page. (You will be greeted with a Welcome page.)

= Once Activated =

1. Visit 'WP ULike > Settings' and take a moment to match ULike's settings to your expectations. We pick the most common configuration by default, but every taste is different.
2. Visit 'WP ULike > Statistics' and observe your likes stats with useful statistics tools such as "Line charts", "Pie Chart", "World Map" and "Summary Details".
3. If you have already installed myCRED plugin, Visit 'myCRED > hooks' and enable 'wp ulike' hook to award / deducts points from users who Like/Unlike any content of WordPress, bbPress, BuddyPress and etc.

== Screenshots ==

1. Screenshot 1
2. Screenshot 2
3. Screenshot 3
4. Screenshot 4

== Frequently Asked Questions ==

= How To Use this plugin? =
Just install the plugin and activate "automatic display" in plugin configuration panel. (WP ULike has four auto options for posts, comments, buddypress activities & bbPress Topics.)
Also you can use of the following function and shortcode for your posts:
*   Function:
`if(function_exists('wp_ulike')) wp_ulike('get');`
*   Shortcode:
`[wp_ulike]`

= How To Change The Counter Format? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-change-the-counter-format)

= How To Change Schema Type? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-change-schema-type)

= How To Add Extra Microdata? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-add-extra-microdata)

= How To Remove All Schema Data Except Of aggregateRating? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-remove-all-schema-data-except-of-aggregaterating)

= How To Remove "0" Count If There Are No Likes? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-remove-0-count-if-there-are-no-likes)

= How To Change The Login Alert Template? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-change-the-login-alert-template)

= How To Get Post Likes Number? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-get-post-likes-number)

= How To Get Comment Likes Number? =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-get-comment-likes-number)

= How To Sort Most Liked Posts?  =
Documentation : [Github](https://github.com/alimir/wp-ulike#how-to-sort-most-liked-posts)

= How Can I Create Custom Template In Users Liked Box?  =
* We have provided some variables in setting panel. You can use them in textarea and then save the new options.
* Attention: `%START_WHILE%` And `%END_WHILE%` variables are very important and you should use them out of the frequent string. (Such as `<li></li>` tags sample in default template)

= Receive HTTP ERROR 500 on WP ULike > Statistics   =
* Increasing Your WordPress Memory Limit in wp-config.php to fix this error. It is located in your WordPress site's root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
* Next, you need to paste this code in wp-config.php file just before the line that says "That's all, stop editing! Happy blogging."
<code>
define( 'WP_MEMORY_LIMIT', '256M' );
</code>

== Changelog ==

= 3.5.2 =
* Fixed: An important issue with buddypress comments.
* Added: Class name issue on likers box.
* Upgraded: "WordpressUlike" js functionality.
* Added: some improvements on general functions.

= 3.5.1 =
* Fixed: The buddypress notifications issue.
* Added: A new option to disable popover on likers box and make it inline display.
* Added: Some changes to improve statistics page and make it more faster.
* Added: some improvements on ajax process of logs page.
* Replaced: The <a> tag with <button> for accessible with the keyboard.
* Fixed: An issue with button display on buddypress comments.
* Fixed: Some styling issues.

= 3.5.0 =
* Added: New statistics system powered by vueJS.
* Added: Ajax loading for likers box with better optimization.
* Added: Huge optimization on admin core functionalities with reducing resource consumption.
* Upgraded: The log pages templates.
* Fixed: Some issues in button styles.
* Fixed: Some issues in ulike js functionality.
* Fixed: An issue with supporting ulike in ultimatememeber.
* Fixed: Colorpicker issue in admin settings by replacing the wpColorPicker with spectrum plugin.

= 3.4 =
* Added: A new style for likers box with pophover effect.
* Added: New stylesheet for all buttons.
* Added: a new option for custom button_type.
* Fixed: All of the reported bugs.
* Fixed: The issue of IP6 convertion.
* Upgraded: The database structure.
* Optimized: The stylesheet issues.
* Optimized: Some issues with data process.

= 3.3.1 =
* Fixed: An old issue with database structure.
* Fixed: An important bug with logging methods.

= 3.3 =
* Added: AJAX refresh for likers box.
* Added: Anonymize IP option for GDPR compliance.
* Updated: Core functionalities.
* Updated: Settings panel.
* Fixed: Some important bugs.

= 3.2 =
* Added: A new lightweight notification system.
* Added: A better AJAX response in front-end process
* Fixed: Some important bugs.
* Fixed: An issue with update_postmeta_cache.

= 3.1 =
* Added: A huge optimization in all of the core functionalities.
* Added: A new file structure in plugins assets.
* Added: wrapper_class attribute in template functions.
* Fixed: All reported bugs.
* Fixed: Custom style issues.

= 3.0 =
* Added: New option to remove the plugin's css and js file on certain pages.
* Added: New attributes support in wp ulike shortcode for all types.
* Added: Many optimization & improvements in wp ulike core.
* Added: New triggers on ulike process.
* Added: Some new hooks in voting templates.
* Updated: Statistics scripts to the latest versions.
* Modified: The statistics functionality with better optimizations.
* Modified: ULike Widget functionality and make it more flexible and optimized.
* Modified: Some old documents.
* Fixed: Some issues in options default values.
* Fixed: An issue with enqueue_script in logs page.

= 2.9.1 =
* Fixed: SVN issue with new admin assets

= 2.9 =
* Added: New visual options in admin area.
* Added: New constants for better optimization and more flexibility.
* Added: New front-end SASS modules.
* Added: New back-end SASS modules.
* Fixed: Some issues with myCred points.
* Fixed: Some issues on admin.php.
* Fixed: eregi bug in pagination class.
* Modified: The wp-ulike's core functionality.
* Modified: The get_liked_users (The Likers Box) functionality with better query selection.
* Replaced: The log page's images with new icons.

= 2.8.1 =
* Added: Parse args functionality on wp ulike inputs.
* Added: New filters (wp_ulike_respond_for_) on the json respond.
* Fixed: Upgrading 'WordpressUlike' datasheets when new DOM has been inserted. (It was a bug on buddypress)
* Fixed: Fix some JS syntax errors.
* Fixed: Infinite loading problem in buddypress comments.

= 2.8 =
* Added: Robeen (Animated Heart) template. (New Theme)
* Added: New hooks for better front-end/back-end development.
* Added: New library for AJAX functionalities.
* Added: New hooks support for default settings.
* Added: New response functionality with JSON.
* Updated: 'wp_ulike' core class functionality.
* Updated: FAQ documentation.
* Removed: Old script files and enqueue new wp-ulike script.
* Removed: Old version of 'mysql2date' function.

= 2.7 =
* Added: Flexible google rich snippets for posts. (Add rich snippet for likes in form of schema.org)
* Added: 'wp_ulike_count_box_template' filter to customize count box template.
* Added: 'wp_ulike_login_alert_template' filter to customize login alert message.
* Added: 'wp_ulike_bp_notifications_template' filter to customize buddypress notification message.
* Added: New admin font icons for dashboard area.
* Removed: svg-source.php file.
* Updated: WP ULike URI.
* Updated: Some elements of "About WP ULike" area.
* Updated: Persian language file.

= 2.6 =
* Added: Most liked (posts,comments,activities,topics) widgets on statistics panel.
* Fixed: Several bugs in GeoIP Location system.
* Updated: jQVMap library.
* Updated: Back-end sources.
* Updated: composer.json file.

= 2.5.1 =
* Added: "Likes" option in BuddyPress activity filter.
* Added: Support of %COMMENT_PERMALINK% variable in buddypress comment activity option.
* Fixed: bbPress bug with buddypress notifications. (Blank notification problem)
* Fixed: Some other small bugs.

= 2.5 =
* Added: Buddypress custom notifications. (Sends out notifications when you get a like from someone)
* Added: A new function to get the number of likes on a single comment (wp_ulike_get_comment_likes)
* Added: composer.json file.
* Fixed: a small bug of "bp_get_auhtor_id" function in "wp_ulike_myCRED" class.
* Updated: FAQ documents.
* Updated: Language Files.

= 2.4.2 =
* Added: Dashborad Bubble Notifications. (Last Likes Counter)
* Updated: wp-ulike-scripts.js method.
* Removed: Cookie structure on "logged by user" method for some tests.
* Fixed: Pagination class name problem.

= 2.4.1 =
* Added: Notifications System. (Custom toast messages after each activity)
* Fixed: bbPress replys bug.
* Fixed: Settings UI tabs crash.
* Updated: Portuguese Language File.
* Updated: Dutch Language File.
* Updated: Chinese Language File.
* Updated: Russian Language File.
* Updated: Greek Language File.
* Updated: Persian Language File.

= 2.4 =
* Added: Buddypress comments support in activity stream.
* Added: Widget period option. (All, Year, Month, Week, Yesterday, Today).
* Fixed: Small bug with bbPress replys.
* Fixed: bbPress ulike widget bug with reply title.
* Fixed: Activities widget problem in multisite mode.
* Fixed: Custom style settings for RTL mode.
* Fixed: Buddypress widget options. (such as title trim and content permalink)
* Changed: Languages text domain from 'alimir' to 'wp-ulike'. (Important for translators)
* Changed: Widget functions input to array.
* Removed: 'wp_ulike_get_version' function and replced it with WP_ULIKE_VERSION constant.
* Removed: wp-ulike-rtl.css file and mixed it with wp-ulike.css
* Updated: French Language File.
* Updated: Portuguese  Language File.
* Updated: About Page Information.

= 2.3 =
* Added: Full myCRED Support. (Special Thanks to the Gabriel Lemarie)
* Added: "Recent Posts/Comments Liked" tab in the UltimateMember profile menu.
* Added: Supporting User Profile URL. (for: BuddyPress & UltimateMember)
* Added: Likers World Map.
* Added: Theme Select option for the like button. (With the new "heart" style)
* Added: Top Likers Summary in the statistics page.
* Added: New CSS styles. (Don't forget to clear your browser cache)
* Added: New Widget Options. (Style, Title Trim, Show Thumbnail/Avatar, Profile URL, ...)
* Added: Unlike icon/text option.
* Added: Custom CSS option.
* Added: Most Liked Topics Widget.
* Fixes: HTML code support in the settings pages. (Such as using font-awesome in the like button)
* Fixes: Removing the user avatar in the likers box. (after the unlike)
* Fixes: Small Bugs.
* Removed: Text After Like/Unlike Option. (+ Return to the initial)
* Updated: Persian language file. (Thanks Me :))

= 2.2 =
* Added: bbPress Likes Support + All Options & Statistics Tools.
* Added: New JQuery process with optimized methods. (wp-ulike-scripts.js)
* Added: Minified Script/CSS files.
* Added: Delete ULike Logs/Data Buttons In The Settings Page.
* Added: Portuguese (Brazil) Language File.
* Added: Turkish (Turkey) Language File.
* Added: Greek Language File.
* Added: Russian (Russia) Language File.
* Added: Spanish (Spain) Language File.
* Added: German (Germany) Language File.
* Added: Japanese Language File.
* Added: Romanian (Romania) Language File.
* Added: Slovak (Slovakia) Language File.
* Added: Czech (Czech Republic) Language File.
* Added: Hebrew (Israel) Language File.
* Added: Italian (Italy) Language File.
* Added: Polish (Poland) Language File.
* Added: Finnish Language File.
* Added: Hungarian (Hungary) Language File.
* Added: Lithuanian (Lithuania) Language File.
* Added: Indonesian (Indonesia) Language File.
* Added: Khmer Language File. Language File.
* Added: Norwegian Bokmal (Norway) Language File.
* Added: Portuguese (Portugal) Language File.
* Added: Swedish (Sweden) Language File.
* Added: Danish (Denmark) Language File.
* Added: Estonian Language File.
* Added: Korean (Korea) Language File.
* Added: Vietnamese Language File.
* Added: Basque Language File.
* Added: Bosnian (Bosnia and Herzegovina) Language File.
* Fixes: Small Bugs.
* Updated: French Language File. (Thanks WP-Translations)
* Updated: Persian language file. (Thanks Me :))

= 2.1 =
* Added: New statistics design with screen options.
* Added: New "Auto Display Position" setting in the budypress activities.
* Added: Days pick option in the statistics page.
* Added: "Screen Options" in the logs page.
* Added: Help screen tabs in the settings page.
* Added: Ajax button to remove the items from log pages.
* Added: supporting the date (date_i18n) in localized format. (Statistics Pages)
* Added: Arabic Language File. (Thanks to Ahmad Ahwazi)
* Fixes: Button visibility problem in the BuddyPress ajax loading.
* Fixes: Toggle switch problem in admin area.
* Fixes: Second parameter warning in json_encode()
* Fixes: Small Bugs
* Updated: Persian language file. (Thanks Me :))

= 2.0 =
* Added: New Statistics Page with many useful tools ("Line Charts", "Pie Chart", "Summary Stats" ) :)
* Added: New Class-based programming  :)
* Added: Custom text option for BP Add Activity (Posts/Comments).
* Added: Custom template setting for the "Users Like Box".
* Added: New option to setting the "Number Of Users" in liked box.
* Added: "Last Posts Liked By Current User" widget.
* Added: "Most liked activities" widget.
* Added: Logs menu links in the statistics page.
* Added: New option for the "only registered users" with selecting login type.
* Modified: Widgets in one packet.
* Modified: "Most Liked Users" widget to get data from all the tables (posts/comments/activities).
* Removed: Some old functions (Such as wp_ulike_reutrn_userID, get_status functions, get_user_data functions, ...)
* Updated: Plugin FAQ page.
* Updated: Persian language file. (Thanks Me :))

= 1.9 =
* Added: New logging method options.
* Added: Option for auto display position.
* Added: Most liked comments widget.
* Added: Option to return initial like button after unlike.
* Added: unlike ability for the guest users.
* Added: Comment text column to the comments logs page.
* Added: supporting the date (date_i18n) in localized format. (Logs Pages)
* Added: New changes in to the logs pages.
* Fixed: ToolTip problem with BuddyPress activities in the chrome browser.
* Updated: Plugin FAQ page.
* Updated: Persian language file. (Thanks Me :))
* Updated: Chinese language file. (Thanks cmhello)
* Updated: Dutch language file. (Thanks Joey)

= 1.8 =
* Added: New setting system with separate tabs.
* Added: Option to upload button icon.
* Added: Option to upload loading animation.
* Added: Dutch (nl_NL) language. (Thanks Joey)
* Added: Avatar size option for the users liked box.
* Modified: New names for some functions.
* Modified: plugin dislike setting to unlike.
* Updated: Persian language file.
* Updated: Chinese language file.

= 1.7 =
* Added: Buddypress likes support.
* Added: Post likes logs.
* Added: Comment likes logs.
* Added: Buddypress likes logs.
* Added: pagination for the logs pages.
* Added: FAQ document on wordpress.org
* Added: get post likes function.
* Modified: New setting menu.
* Updated: language files.

= 1.6 =
* Added: Comment likes support.
* Added: BuddyPress activity support.
* Updated: language files.

= 1.5 =
* Added: Number format option to convert numbers of Likes with string (kilobyte) format.
* Updated: Persian language.

= 1.4 =
* Added: Shortcode support.

= 1.3 =
* Added: Custom style with color picker setting. (for button and counter box)
* Added: Chinese Tradition (zh_TW) language. (Thanks to Arefly)
* Updated: Persian language.

= 1.2 =
* Added: most liked users widget.
* Added: Chinese (ZH_CN) language. (Thanks to Changmeng Hu)

= 1.1 =
* Added: loading spinner.
* Added: new database table.
* Added: user dislike support.
* Added: Simple "user avatar box" at the bottom of every post.
* Fixes: plugin security and authentication.
* Updated: language files.

= 1.0 =
* The initial version

== Upgrade Notice ==

= 3.5.2 =
Attention Please! In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update.

= 3.5.1 =
Attention Please! In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update.

= 3.4 =
Attention Please! In this release, many changes have been made to the structure of the styles, and may result in the loss of your past custom styles. These changes are surely designed to improve the performance of the plugin, so it's best to update your system with these changes and then clear your server cache.

= 3.3 =
Attention Please! In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update.

= 3.2 =
Attention Please! In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update.

= 3.1 =
Are you ready for a huge update? WP ULike has become ever more powerful...

= 2.8 =
Attention Please!! In this version, we have made a new script library (wp-ulike.js), variables, templates, and functionalities. Besides, we have removed old ones, which may destroy your previous changes. That is very important to clear your browser cache and reset your customization with our new class names after updating the plugin. If you have a development version, please take some time to review our new changes.

= 2.5 =
In this version, we have made a new option for buddypress custom notifications with some bug fixes. Attention! This new option does not work with bbPress -V2.6.

= 2.4.2 =
In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update.

= 2.4.1 =
Hello. Approximately 1 year, We haven't had any update! :( The reason for this delay was my military service. I apologize for this delay and unanswered support requests in wordpress forums and sented emails.

= 2.4 =
Hey Guys. Approximately 5 months, We haven't had any update! Yeah It's a long time :( The reason for this delay was my misery business and busy time of working on my final thesis in university. I apologize for this delay and unanswered support requests in wordpress forums and sented emails. Finally, I found a free time to working on "WP ULike" & some other of my plugins and answer the support requests. The first release of this work is WP ULike 2.4 with some new options and bug fixes. Hope to enjoy this version and I really excited to working on the premium version of WP ULike with many amazing abilitites as soon as possible. Best regards, Alimir.

= 2.3 =
In this version, we made some changes in the plugin scripts (wp-ulike-scripts.js)! So, please clear your browser cache after the plugin update. Also, After the plugin update If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.

= 2.2 =
In this version, we made some changes in the plugin scripts (wp-ulike-scripts.js)! So, please clear your browser cache after the plugin update. Also, After the plugin update If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.

= 2.1 =
In this version, we made some changes in the plugin scripts! So, please clear your browser cache after the plugin update.

= 2.0 =
In this version, we have mixed widgets in one packet. So you should upgrade your last widgets with new one. Have fun :)

= 1.8 =
In this version, we have made many changes on plugin functions and settings. So if you lose your last settings, try to add them again. :)

= 1.7 =
After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.

= 1.6 =
After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.

= 1.0 =
The initial version
