Version Description
= 2.0.0 = Update the plugin if you can not find your locale in list
= 1.0.2 = Updated the plugin with instructions and major bug fix. Must update.
=1.0.1= Updated the plugin to avoid possible conflict with other plugins. Must update.
=1.0.0= Initial release.
Download this release
Release Info
Developer | sjaved |
Plugin | Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.1.0
- README.txt +3 -3
- admin/easy-facebook-likebox-admin.php +8 -9
- admin/views/admin.php +2 -2
- easy-facebook-likebox.php +1 -1
- includes/easy-facebook-likebox-widget.php +10 -1
- public/easy-facebook-likebox.php +1 -1
README.txt
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
=== Easy Facebook Like Box ===
|
2 |
Contributors: sjaved
|
3 |
Tags: facebook, facebook likebox, likebox, like box, facebook like box, facebook like box widget, facebook like box shortcode, shortcode, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages
|
4 |
-
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sjaved786%40gmail%2ecom&lc=US&item_name=Easy%20Facebook%20Like%20Box%20WordPress%20Plugin&item_number=efbl¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -89,6 +88,7 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
|
89 |
6. Facebook like box backend view with options description.
|
90 |
|
91 |
|
|
|
92 |
== Changelog ==
|
93 |
= 2.0.0 =
|
94 |
|
1 |
=== Easy Facebook Like Box ===
|
2 |
Contributors: sjaved
|
3 |
Tags: facebook, facebook likebox, likebox, like box, facebook like box, facebook like box widget, facebook like box shortcode, shortcode, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages
|
|
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.0
|
6 |
+
Stable tag: 2.1.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
88 |
6. Facebook like box backend view with options description.
|
89 |
|
90 |
|
91 |
+
|
92 |
== Changelog ==
|
93 |
= 2.0.0 =
|
94 |
|
admin/easy-facebook-likebox-admin.php
CHANGED
@@ -82,7 +82,7 @@ class Easy_Facebook_Likebox_Admin {
|
|
82 |
|
83 |
add_action( 'admin_init', array( $this, 'i_have_supported_efbl') );
|
84 |
|
85 |
-
if ( get_option('I_HAVE_SUPPORTED_THE_EFBL_PLUGIN') != 1 )
|
86 |
add_action( 'admin_notices', array( $this, 'post_installtion_upgrade_nag') );
|
87 |
|
88 |
}
|
@@ -185,8 +185,8 @@ class Easy_Facebook_Likebox_Admin {
|
|
185 |
* For reference: http://codex.wordpress.org/Roles_and_Capabilities
|
186 |
*/
|
187 |
$this->plugin_screen_hook_suffix = add_options_page(
|
188 |
-
__( 'Easy
|
189 |
-
__( 'Easy
|
190 |
'manage_options',
|
191 |
$this->plugin_slug,
|
192 |
array( $this, 'display_plugin_admin_page' )
|
@@ -228,12 +228,12 @@ class Easy_Facebook_Likebox_Admin {
|
|
228 |
$plugin_verstion = Easy_Facebook_Likebox::VERSION;
|
229 |
|
230 |
$version_key = '_efbl_version';
|
231 |
-
$notice_key = '
|
232 |
|
233 |
-
|
234 |
|
235 |
$msg = sprintf(__('Thanks for installting/upgrading the Easy Facebook Likebox Plugin! If you like this plugin, please consider some <a href="%s" target="_blank">donation</a> and/or <a href="%s" target="_blank">rating it</a>!
|
236 |
-
Support us by liking
|
237 |
|
238 |
<div id="fb-root"></div>
|
239 |
<script>(function(d, s, id) {
|
@@ -254,9 +254,8 @@ class Easy_Facebook_Likebox_Admin {
|
|
254 |
);
|
255 |
echo "<div class='update-nag'>$msg</div>";
|
256 |
|
257 |
-
|
258 |
-
|
259 |
-
}
|
260 |
|
261 |
function i_have_supported_efbl(){
|
262 |
|
82 |
|
83 |
add_action( 'admin_init', array( $this, 'i_have_supported_efbl') );
|
84 |
|
85 |
+
//if ( get_option('I_HAVE_SUPPORTED_THE_EFBL_PLUGIN') != 1 )
|
86 |
add_action( 'admin_notices', array( $this, 'post_installtion_upgrade_nag') );
|
87 |
|
88 |
}
|
185 |
* For reference: http://codex.wordpress.org/Roles_and_Capabilities
|
186 |
*/
|
187 |
$this->plugin_screen_hook_suffix = add_options_page(
|
188 |
+
__( 'Easy Facebook Likebox', $this->plugin_slug ),
|
189 |
+
__( 'Easy Facebook Likebox', $this->plugin_slug ),
|
190 |
'manage_options',
|
191 |
$this->plugin_slug,
|
192 |
array( $this, 'display_plugin_admin_page' )
|
228 |
$plugin_verstion = Easy_Facebook_Likebox::VERSION;
|
229 |
|
230 |
$version_key = '_efbl_version';
|
231 |
+
$notice_key = 'I_HAVE_SUPPORTED_THE_EFBL_PLUGIN';
|
232 |
|
233 |
+
if ( get_site_option( $version_key ) == $plugin_verstion && get_site_option( $notice_key ) == 1 ) return;
|
234 |
|
235 |
$msg = sprintf(__('Thanks for installting/upgrading the Easy Facebook Likebox Plugin! If you like this plugin, please consider some <a href="%s" target="_blank">donation</a> and/or <a href="%s" target="_blank">rating it</a>!
|
236 |
+
Support us by liking our facebook fan page!
|
237 |
|
238 |
<div id="fb-root"></div>
|
239 |
<script>(function(d, s, id) {
|
254 |
);
|
255 |
echo "<div class='update-nag'>$msg</div>";
|
256 |
|
257 |
+
update_site_option( $version_key, $plugin_verstion );
|
258 |
+
}
|
|
|
259 |
|
260 |
function i_have_supported_efbl(){
|
261 |
|
admin/views/admin.php
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
<li> Add the "Easy Facebook Likebox" widget in sidebar to show the like box in your website sidebar</li>
|
29 |
<li> Add widget in sidebar and generate shortcode by saving the widgets optiosn to show likebox somewhere else on your website.</li>
|
30 |
<li> You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments.
|
31 |
-
"[efb_likebox fanpage_url="
|
32 |
</li>
|
33 |
</ol>
|
34 |
</p>
|
@@ -41,7 +41,7 @@
|
|
41 |
|
42 |
<div id="postbox-container-1" class="postbox-container">
|
43 |
<div id="normal-sortables" class="meta-box-sortables ui-sortable"><div id="dashboard_right_now" class="postbox ">
|
44 |
-
<div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span> Support us by liking
|
45 |
<div class="inside">
|
46 |
<div class="main">
|
47 |
|
28 |
<li> Add the "Easy Facebook Likebox" widget in sidebar to show the like box in your website sidebar</li>
|
29 |
<li> Add widget in sidebar and generate shortcode by saving the widgets optiosn to show likebox somewhere else on your website.</li>
|
30 |
<li> You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments.
|
31 |
+
"[efb_likebox fanpage_url="YOUR_FB_FANPAGE_NAME_OR_ID" fb_appid="" box_width="300" box_height="" colorscheme="light" show_faces="1" show_header="1" show_stream="0" show_border="1" ]"
|
32 |
</li>
|
33 |
</ol>
|
34 |
</p>
|
41 |
|
42 |
<div id="postbox-container-1" class="postbox-container">
|
43 |
<div id="normal-sortables" class="meta-box-sortables ui-sortable"><div id="dashboard_right_now" class="postbox ">
|
44 |
+
<div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span> Support us by liking our fan page!</span></h3>
|
45 |
<div class="inside">
|
46 |
<div class="main">
|
47 |
|
easy-facebook-likebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Easy Facebook Likebox
|
4 |
* Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
|
5 |
* Description: Easy Facebook like box WordPress plugin allows you to easly display facebook like box fan page on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generated after saving the facebook like box widget. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
|
6 |
-
* Version: 2.
|
7 |
* Author: Sajid Javed
|
8 |
* Author URI: http://jwebsol.com
|
9 |
* Text Domain: easy-facebook-likebox
|
3 |
* Plugin Name: Easy Facebook Likebox
|
4 |
* Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
|
5 |
* Description: Easy Facebook like box WordPress plugin allows you to easly display facebook like box fan page on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generated after saving the facebook like box widget. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
|
6 |
+
* Version: 2.1.0
|
7 |
* Author: Sajid Javed
|
8 |
* Author URI: http://jwebsol.com
|
9 |
* Text Domain: easy-facebook-likebox
|
includes/easy-facebook-likebox-widget.php
CHANGED
@@ -252,12 +252,21 @@ class Easy_Facebook_Like_Box_Widget extends WP_Widget {
|
|
252 |
$locale = $locale_other;
|
253 |
}
|
254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
$responsive = ( empty( $responsive ) ) ? strip_tags( 0 ) : $responsive;
|
257 |
|
258 |
?>
|
259 |
|
260 |
-
<p style="background:#ddd; padding:5px; "><?php echo '[efb_likebox fanpage_url="'.$fanpage_url.'"
|
261 |
|
262 |
<?php
|
263 |
}
|
252 |
$locale = $locale_other;
|
253 |
}
|
254 |
|
255 |
+
if( !empty($fb_appid) ){
|
256 |
+
$fb_appid = 'fb_appid="'.$fb_appid.'"';
|
257 |
+
}
|
258 |
+
|
259 |
+
$fb_url = parse_url( $fanpage_url );
|
260 |
+
$fanpage_url = str_replace('/', '', $fb_url['path']);
|
261 |
+
/*echo "<pre>";
|
262 |
+
print_r( $fb_url );
|
263 |
+
echo "</pre>";*/
|
264 |
|
265 |
$responsive = ( empty( $responsive ) ) ? strip_tags( 0 ) : $responsive;
|
266 |
|
267 |
?>
|
268 |
|
269 |
+
<p style="background:#ddd; padding:5px; "><?php echo '[efb_likebox fanpage_url="'.$fanpage_url.'" '.$fb_appid.' box_width="'.$box_width.'" box_height="'.$box_height.'" colorscheme="'.$colorscheme.'" locale="'.$locale.'" responsive="'.$responsive.'" show_faces="'.$show_faces.'" show_header="'.$show_header.'" show_stream="'.$show_stream.'" show_border="'.$show_border.'" ]'?></p>
|
270 |
|
271 |
<?php
|
272 |
}
|
public/easy-facebook-likebox.php
CHANGED
@@ -30,7 +30,7 @@ class Easy_Facebook_Likebox {
|
|
30 |
*
|
31 |
* @var string
|
32 |
*/
|
33 |
-
const VERSION = '1.
|
34 |
|
35 |
/**
|
36 |
* @TODO - Rename "plugin-name" to the name your your plugin
|
30 |
*
|
31 |
* @var string
|
32 |
*/
|
33 |
+
const VERSION = '2.1.0';
|
34 |
|
35 |
/**
|
36 |
* @TODO - Rename "plugin-name" to the name your your plugin
|