Version Description
- Facebook like button centered in the left float sharing bar.
- Facebook like button iframe CSS zero margin fix is done for themes.
- Bug fixed in the
wp_socializer();
function for printing templates. - Retweet button now traces the title of the post from the home page.
- Small admin interface tweaks.
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
- admin/images/pressthis.png +0 -0
- admin/wpsr-admin-css.css +2 -0
- admin/wpsr-admin-js.js +6 -12
- admin/wpsr-admin.php +1 -0
- includes/wpsr-retweet.php +2 -2
- public/css/wp-socializer-buttons-css.css +4 -1
- readme.txt +15 -7
- wp-socializer.php +5 -5
admin/images/pressthis.png
ADDED
Binary file
|
admin/wpsr-admin-css.css
CHANGED
@@ -528,6 +528,8 @@
|
|
528 |
}
|
529 |
.wpsr_donate a{ background-image: url(images/donate.png); }
|
530 |
.wpsr_share a{ background-image: url(images/share.png); }
|
|
|
|
|
531 |
.wpsr_share_iframe{
|
532 |
background: #FFFFFF;
|
533 |
border: 1px solid #dfdfdf;
|
528 |
}
|
529 |
.wpsr_donate a{ background-image: url(images/donate.png); }
|
530 |
.wpsr_share a{ background-image: url(images/share.png); }
|
531 |
+
.wpsr_pressthis a{ background-image: url(images/pressthis.png); }
|
532 |
+
|
533 |
.wpsr_share_iframe{
|
534 |
background: #FFFFFF;
|
535 |
border: 1px solid #dfdfdf;
|
admin/wpsr-admin-js.js
CHANGED
@@ -284,7 +284,7 @@ $j(document).ready(function(){
|
|
284 |
});
|
285 |
|
286 |
// Share
|
287 |
-
$j('.wpsr_share_wrap li').mouseenter(function(){
|
288 |
$this = $j(this);
|
289 |
$j('.wpsr_share_iframe').remove();
|
290 |
$j('body').append('<iframe class="wpsr_share_iframe"></iframe>');
|
@@ -301,6 +301,11 @@ $j(document).ready(function(){
|
|
301 |
$j(this).remove();
|
302 |
});
|
303 |
|
|
|
|
|
|
|
|
|
|
|
304 |
$j('#wpsr_reset').click(function(){
|
305 |
var res = confirm('Do you want to reset the settings ?');
|
306 |
if(res == false){
|
@@ -360,17 +365,6 @@ function wpsr_floatingbt_selectedgenerator(){
|
|
360 |
$j("#wpsr_floatbts_selectedbts").val(floatbts_sel.join(','));
|
361 |
}
|
362 |
|
363 |
-
|
364 |
-
function openSubForm(){
|
365 |
-
subWindow = window.open('','preview','height=500,width=600');
|
366 |
-
var tmp = subWindow.document;
|
367 |
-
tmp.write('<html><head><title>Subscribe to Aakash Web</title>');
|
368 |
-
tmp.write('</head><body><p><b>Select an option</b></p><ul><li><a href="http://feedburner.google.com/fb/a/mailverify?uri=aakashweb">Subscribe Now</a></li><li><a href="http://feeds2.feedburner.com/aakashweb" target="_blank">Read the feeds</a></li></ul>');
|
369 |
-
tmp.write('</body></html>');
|
370 |
-
subWindow.moveTo(200,200);
|
371 |
-
tmp.close();
|
372 |
-
}
|
373 |
-
|
374 |
function ConvertValue(id){
|
375 |
var test = id.replace(/[[]/g,'\\[');
|
376 |
return test.replace(/]/g,'\\]');
|
284 |
});
|
285 |
|
286 |
// Share
|
287 |
+
$j('.wpsr_share_wrap li').not('.wpsr_pressthis').mouseenter(function(){
|
288 |
$this = $j(this);
|
289 |
$j('.wpsr_share_iframe').remove();
|
290 |
$j('body').append('<iframe class="wpsr_share_iframe"></iframe>');
|
301 |
$j(this).remove();
|
302 |
});
|
303 |
|
304 |
+
$j('.wpsr_pressthis a').click(function(e){
|
305 |
+
e.preventDefault();
|
306 |
+
newwindow2=window.open('press-this.php?t=WP Socializer - all in one social buttons plugin for WordPress&u=http://www.aakashweb.com/wordpress-plugins/wp-socializer/&s=WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking and sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar in two modes of orientation. Custom icons can be used for social icons. Check out to know more information on this plugin.','name','height=400,width=700');
|
307 |
+
});
|
308 |
+
|
309 |
$j('#wpsr_reset').click(function(){
|
310 |
var res = confirm('Do you want to reset the settings ?');
|
311 |
if(res == false){
|
365 |
$j("#wpsr_floatbts_selectedbts").val(floatbts_sel.join(','));
|
366 |
}
|
367 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
function ConvertValue(id){
|
369 |
var test = id.replace(/[[]/g,'\\[');
|
370 |
return test.replace(/]/g,'\\]');
|
admin/wpsr-admin.php
CHANGED
@@ -530,6 +530,7 @@ function wpsr_admin_page(){
|
|
530 |
<ul class="wpsr_share_wrap">
|
531 |
<li class="wpsr_donate" data-width="300" data-height="220" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=1'; ?>"><a href="#"></a></li>
|
532 |
<li class="wpsr_share" data-width="350" data-height="85" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=2'; ?>"><a href="#"></a></li>
|
|
|
533 |
</ul>
|
534 |
|
535 |
<form id="content" method="post">
|
530 |
<ul class="wpsr_share_wrap">
|
531 |
<li class="wpsr_donate" data-width="300" data-height="220" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=1'; ?>"><a href="#"></a></li>
|
532 |
<li class="wpsr_share" data-width="350" data-height="85" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=2'; ?>"><a href="#"></a></li>
|
533 |
+
<li class="wpsr_pressthis" title="Share a small post about this plugin in your blog !"><a href="press-this.php" target="_blank"></a></li>
|
534 |
</ul>
|
535 |
|
536 |
<form id="content" method="post">
|
includes/wpsr-retweet.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Retweet buttons Processor code for WP Socializer Plugin
|
4 |
-
* Version : 2.
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
@@ -67,7 +67,7 @@ function wpsr_retweet($args = ''){
|
|
67 |
$recacc = ($twitter_recacc == '') ? '' : "data-related='$twitter_recacc'";
|
68 |
|
69 |
$retweet_processed .=
|
70 |
-
'<a href="http://twitter.com/share" class="twitter-share-button" data-count="' . $type . '" ' . $user . ' data-lang="' . $twitter_lang . '" ' . $recacc . ' data-url="' . $url . '"></a>';
|
71 |
|
72 |
break;
|
73 |
|
1 |
<?php
|
2 |
/*
|
3 |
* Retweet buttons Processor code for WP Socializer Plugin
|
4 |
+
* Version : 2.1
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
67 |
$recacc = ($twitter_recacc == '') ? '' : "data-related='$twitter_recacc'";
|
68 |
|
69 |
$retweet_processed .=
|
70 |
+
'<a href="http://twitter.com/share" class="twitter-share-button" data-count="' . $type . '" ' . $user . ' data-lang="' . $twitter_lang . '" ' . $recacc . ' data-url="' . $url . '" data-text="' . $title . ' - "></a>';
|
71 |
|
72 |
break;
|
73 |
|
public/css/wp-socializer-buttons-css.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
* WP Socializer Social buttons - CSS File - v2.
|
3 |
* Author: Aakash Chakravarthy
|
4 |
*/
|
5 |
|
@@ -88,6 +88,9 @@
|
|
88 |
float: left;
|
89 |
margin-right: 10px;
|
90 |
}
|
|
|
|
|
|
|
91 |
.floatleft{
|
92 |
float:left !important;
|
93 |
}
|
1 |
/*
|
2 |
+
* WP Socializer Social buttons - CSS File - v2.3
|
3 |
* Author: Aakash Chakravarthy
|
4 |
*/
|
5 |
|
88 |
float: left;
|
89 |
margin-right: 10px;
|
90 |
}
|
91 |
+
.wp-socializer-buttons .wpsr-btn iframe{
|
92 |
+
margin: 0px !important; /** Fix for Facebook v2.4.2 **/
|
93 |
+
}
|
94 |
.floatleft{
|
95 |
float:left !important;
|
96 |
}
|
readme.txt
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
Contributors: Aakash Chakravarthy
|
3 |
Author URI: http://www.aakashweb.com/
|
4 |
Plugin URI: http://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
-
Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, excerpt, content, bookmark, button, technorati,
|
|
|
6 |
Donate Link: http://bit.ly/wpsrDonate
|
7 |
Requires at least: 2.8
|
8 |
-
Tested up to: 3.
|
9 |
-
Stable tag: 2.4.
|
10 |
|
11 |
Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
|
12 |
|
@@ -22,9 +23,9 @@ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarkin
|
|
22 |
* Widgets for inserting FB like box & G+ badges in sidebar.
|
23 |
* Template functions are available for advanced placements.
|
24 |
|
25 |
-
|
26 |
|
27 |
-
|
28 |
|
29 |
= Buttons available =
|
30 |
|
@@ -51,7 +52,7 @@ The social buttons can be inserted above or below posts easily. There are no fix
|
|
51 |
|
52 |
Automatic adjustments are made to display the buttons in feeds. Custom buttons can also be added. Bit.ly integration is also available. Button scripts are optimized for site performance.
|
53 |
|
54 |
-
Exclude the social buttons in specific pages. Insert the social buttons easily in Widgets using the [HTML Javascript Plugin](html-javascript-adder "A plugin for adding advanced html, text widgets in the sidebar").
|
55 |
|
56 |
= Reference links =
|
57 |
For more information on the plugin, you can use the below links.
|
@@ -99,6 +100,13 @@ For custom placement in theme files and posts, check out the following documenta
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
= 2.4.1 =
|
103 |
* Facebook like button bug is fixed.
|
104 |
* Facebook send button not available.
|
@@ -158,7 +166,7 @@ For custom placement in theme files and posts, check out the following documenta
|
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
-
Version 2.4 is a recommended upgrade to get all the latest social bookmarking and sharing buttons avaialble in the Internet. Various bugs are fixed and the admin UI is completely changed for easy use.
|
162 |
|
163 |
== Credits ==
|
164 |
|
2 |
Contributors: Aakash Chakravarthy
|
3 |
Author URI: http://www.aakashweb.com/
|
4 |
Plugin URI: http://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
+
Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, widget, excerpt, content, bookmark, button, technorati, email, gmail, facebook, twitter, retweet, myspace, diigo, delicious, digg, buzz, linkedin, google buzz, yahoo, reddit, dzone, sphinn, addthis, template, socializer, sociable, wp, wordpress, sexy bookmarks
|
6 |
+
License: GPLv2 or later
|
7 |
Donate Link: http://bit.ly/wpsrDonate
|
8 |
Requires at least: 2.8
|
9 |
+
Tested up to: 3.4
|
10 |
+
Stable tag: 2.4.2
|
11 |
|
12 |
Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
|
13 |
|
23 |
* Widgets for inserting FB like box & G+ badges in sidebar.
|
24 |
* Template functions are available for advanced placements.
|
25 |
|
26 |
+
(Check out the changelog for the new features and fixes in the version **2.4.2**)
|
27 |
|
28 |
+
[youtube="http://www.youtube.com/v/1uimAE8rFYE"]
|
29 |
|
30 |
= Buttons available =
|
31 |
|
52 |
|
53 |
Automatic adjustments are made to display the buttons in feeds. Custom buttons can also be added. Bit.ly integration is also available. Button scripts are optimized for site performance.
|
54 |
|
55 |
+
Exclude the social buttons in specific pages. Insert the social buttons easily in Widgets using the [HTML Javascript Plugin](../html-javascript-adder "A plugin for adding advanced html, text widgets in the sidebar").
|
56 |
|
57 |
= Reference links =
|
58 |
For more information on the plugin, you can use the below links.
|
100 |
|
101 |
== Changelog ==
|
102 |
|
103 |
+
= 2.4.2 =
|
104 |
+
* Facebook like button centered in the left float sharing bar.
|
105 |
+
* Facebook like button iframe CSS zero margin fix is done for themes.
|
106 |
+
* Bug fixed in the `wp_socializer();` function for printing templates.
|
107 |
+
* Retweet button now traces the title of the post from the home page.
|
108 |
+
* Small admin interface tweaks.
|
109 |
+
|
110 |
= 2.4.1 =
|
111 |
* Facebook like button bug is fixed.
|
112 |
* Facebook send button not available.
|
166 |
|
167 |
== Upgrade Notice ==
|
168 |
|
169 |
+
Version 2.4.x is a recommended upgrade to get all the latest social bookmarking and sharing buttons avaialble in the Internet. Various bugs are fixed and the admin UI is completely changed for easy use.
|
170 |
|
171 |
== Credits ==
|
172 |
|
wp-socializer.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Socializer
|
4 |
-
Version: 2.4.
|
5 |
Plugin URI: http://www.aakashweb.com/
|
6 |
Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
|
7 |
Author: Aakash Chakravarthy
|
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_URL')) {
|
|
14 |
$wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
|
15 |
}
|
16 |
|
17 |
-
define('WPSR_VERSION', '2.4.
|
18 |
define('WPSR_AUTHOR', 'Aakash Chakravarthy');
|
19 |
define('WPSR_URL', $wpsr_url);
|
20 |
define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
|
@@ -939,7 +939,7 @@ $wpsr_floating_bar_bts = array(
|
|
939 |
'bottom_fixed' => '[wpsr_digg type="DiggCompact"]',
|
940 |
),
|
941 |
'Facebook' => array(
|
942 |
-
'float_left' => '[wpsr_facebook style="box_count"]',
|
943 |
'bottom_fixed' => '[wpsr_facebook style="button_count"]',
|
944 |
),
|
945 |
'StumbleUpon' => array(
|
@@ -1141,11 +1141,11 @@ function wp_socializer($to_display, $params=""){
|
|
1141 |
break;
|
1142 |
|
1143 |
case 'template-1' :
|
1144 |
-
return wpsr_process_template('
|
1145 |
break;
|
1146 |
|
1147 |
case 'template-2' :
|
1148 |
-
return wpsr_process_template('
|
1149 |
break;
|
1150 |
}
|
1151 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Socializer
|
4 |
+
Version: 2.4.2
|
5 |
Plugin URI: http://www.aakashweb.com/
|
6 |
Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
|
7 |
Author: Aakash Chakravarthy
|
14 |
$wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
|
15 |
}
|
16 |
|
17 |
+
define('WPSR_VERSION', '2.4.2');
|
18 |
define('WPSR_AUTHOR', 'Aakash Chakravarthy');
|
19 |
define('WPSR_URL', $wpsr_url);
|
20 |
define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
|
939 |
'bottom_fixed' => '[wpsr_digg type="DiggCompact"]',
|
940 |
),
|
941 |
'Facebook' => array(
|
942 |
+
'float_left' => '[wpsr_facebook style="box_count" width="48"]', // Added "width" in v2.4.2
|
943 |
'bottom_fixed' => '[wpsr_facebook style="button_count"]',
|
944 |
),
|
945 |
'StumbleUpon' => array(
|
1141 |
break;
|
1142 |
|
1143 |
case 'template-1' :
|
1144 |
+
return wpsr_process_template('1');
|
1145 |
break;
|
1146 |
|
1147 |
case 'template-2' :
|
1148 |
+
return wpsr_process_template('2');
|
1149 |
break;
|
1150 |
}
|
1151 |
}
|