=== WP ULike ===
Contributors: alimir
Donate link: http://alimir.ir
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
Tested up to: 4.8
Stable tag: 2.7
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 ==
WP ULike is a WordPress plugin that also supports BuddyPress, bbPress and a number of other plugins. It aims to be a comprehensive "Like" system for your site and enables site users to like a wide range of content types, including posts, forum topics and replies, comments and activity updates. It's very simple to use and supports many options and full Statistics tools. Also, All are free :)
= More Information =
* Visit Our [Home Page](http://wp-ulike.alimir.ir/).
* See Online [Demo](http://preview.alimir.ir/wp-ulike-plugin).
* Fork Us In [Github](https://github.com/Alimir/wp-ulike).
= Features =
* Clean Design.
* Full myCRED Points Support.
* Full Statistics tools.
* 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? =
Just add a filter on `wp_ulike_format_number`. e.g. If you want to remove `+` character, you need to make use of the sample code below:
Please login to your account! :)
add_filter('wp_ulike_format_number','wp_ulike_new_format_number',10,3);
function wp_ulike_new_format_number($value, $num, $plus){
if ($num >= 1000 && get_option('wp_ulike_format_number') == '1'):
$value = round($num/1000, 2) . 'K';
else:
$value = $num;
endif;
return $value;
}
= How To Change Schema Type? =
* The default schema type is 'CreativeWork', if you want to change it to 'Article', you need to make use of the `wp_ulike_posts_add_attr` filter as shown in the sample code below:
add_filter('wp_ulike_posts_add_attr', 'wp_ulike_change_posts_microdata_itemtype', 10);
function wp_ulike_change_posts_microdata_itemtype() {
return 'itemscope itemtype="http://schema.org/Article"';
}
= How To Add Extra Microdata? =
* Make use of the `wp_ulike_extra_structured_data` filter as shown in the sample code below:
add_filter('wp_ulike_extra_structured_data', 'wp_ulike_add_extra_structured_data', 10);
function wp_ulike_add_extra_structured_data(){
$post_meta = '';
return $post_meta;
}
= How To Remove All Schema Data Except Of aggregateRating? =
* Make use of the `wp_ulike_remove_microdata_post_meta` & 'wp_ulike_posts_add_attr' filters as shown in the sample code below:
add_filter('wp_ulike_remove_microdata_post_meta', '__return_true', 10);
add_filter('wp_ulike_posts_add_attr', '__return_null', 10);
= How To Remove "0" Count If There Are No Likes? =
* Make use of the `wp_ulike_count_box_template` filter as shown in the sample code below:
= How To Change The Login Alert Template? =
* Make use of the `wp_ulike_login_alert_template` filter as shown in the sample code below:
add_filter('wp_ulike_login_alert_template', 'wp_ulike_change_login_alert_template', 10);
function wp_ulike_change_login_alert_template(){
return '
= How To Get Post Likes Number? =
* Make use of the following function in WP Loop:
if (function_exists('wp_ulike_get_post_likes')):
echo wp_ulike_get_post_likes(get_the_ID());
endif;
= How To Get Comment Likes Number? =
* Make use of the following function in your comments loop:
if (function_exists('wp_ulike_get_comment_likes')):
echo wp_ulike_get_comment_likes(get_comment_ID());
endif;
= How To Sort Most Liked Posts? =
* Make use of the following query on a loop:
$the_query = new WP_Query(array(
'post_status' => 'published',
'post_type' => 'post',
'orderby' => 'meta_value_num',
'meta_key' => '_liked',
'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
));
= 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 `
define( 'WP_MEMORY_LIMIT', '256M' );
== Changelog ==
= 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 ==
= 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