Version Description
Download this release
Release Info
Developer | joostdevalk |
Plugin | Sociable |
Version | 2.8.3 |
Comparing to | |
See all releases |
Code changes from version 2.8.2 to 2.8.3
- images/muti.png +0 -0
- images/upnews.gif +0 -0
- readme.txt +2 -1
- sociable.php +42 -7
images/muti.png
ADDED
Binary file
|
images/upnews.gif
ADDED
Binary file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
|
|
4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.5.1
|
7 |
-
stable tag: 2.8.
|
8 |
|
9 |
Automatically add links on your posts to popular social bookmarking sites.
|
10 |
|
@@ -19,6 +19,7 @@ More info:
|
|
19 |
|
20 |
**Changelog**
|
21 |
|
|
|
22 |
* 2.8.2 Now adds icons to feeds with excerpts too, added LinkedIn
|
23 |
* 2.8.1 Fixed some small issues and made sure tagline shows up again
|
24 |
* 2.8 Added option to show bookmark icons in feed, added Ratimarks, fixed xhtml compliance, fixed blue dot bug
|
4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.5.1
|
7 |
+
stable tag: 2.8.3
|
8 |
|
9 |
Automatically add links on your posts to popular social bookmarking sites.
|
10 |
|
19 |
|
20 |
**Changelog**
|
21 |
|
22 |
+
* 2.8.3 Added wikio.it, upnews.it, muti.co.za, makes LinkedIn work even better, and makes opening in a new window optional
|
23 |
* 2.8.2 Now adds icons to feeds with excerpts too, added LinkedIn
|
24 |
* 2.8.1 Fixed some small issues and made sure tagline shows up again
|
25 |
* 2.8 Added option to show bookmark icons in feed, added Ratimarks, fixed xhtml compliance, fixed blue dot bug
|
sociable.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Sociable
|
4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
5 |
Description: Automatically add links on your posts to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
|
6 |
-
Version: 2.8.
|
7 |
Author: Joost de Valk
|
8 |
Author URI: http://yoast.com/
|
9 |
|
@@ -309,6 +309,11 @@ $sociable_known_sites = Array(
|
|
309 |
'url' => 'http://www.mixx.com/submit?page_url=PERMALINK&title=TITLE',
|
310 |
),
|
311 |
|
|
|
|
|
|
|
|
|
|
|
312 |
'MyShare' => Array(
|
313 |
'favicon' => 'myshare.png',
|
314 |
'url' => 'http://myshare.url.com.tw/index.php?func=newurl&url=PERMALINK&desc=TITLE',
|
@@ -477,6 +482,11 @@ $sociable_known_sites = Array(
|
|
477 |
'url' => 'http://twitthis.com/twit?url=PERMALINK',
|
478 |
),
|
479 |
|
|
|
|
|
|
|
|
|
|
|
480 |
'Webnews.de' => Array(
|
481 |
'favicon' => 'webnews.gif',
|
482 |
'url' => 'http://www.webnews.de/einstellen?url=PERMALINK&title=TITLE',
|
@@ -497,6 +507,11 @@ $sociable_known_sites = Array(
|
|
497 |
'url' => 'http://www.wikio.fr/vote?url=PERMALINK',
|
498 |
),
|
499 |
|
|
|
|
|
|
|
|
|
|
|
500 |
'Wists' => Array(
|
501 |
'favicon' => 'wists.png',
|
502 |
'url' => 'http://wists.com/s.php?c=&r=PERMALINK&title=TITLE',
|
@@ -580,6 +595,7 @@ $sociable_files = Array(
|
|
580 |
'images/meneame.gif',
|
581 |
'images/misterwong.gif',
|
582 |
'images/mixx.png',
|
|
|
583 |
'images/myshare.png',
|
584 |
'images/n4g.gif',
|
585 |
'images/netvouz.png',
|
@@ -612,6 +628,7 @@ $sociable_files = Array(
|
|
612 |
'images/tailrank.png',
|
613 |
'images/technorati.png',
|
614 |
'images/twitter.png',
|
|
|
615 |
'images/webnews.gif',
|
616 |
'images/webride.png',
|
617 |
'images/wikio.gif',
|
@@ -678,7 +695,11 @@ function sociable_html($display=Array()) {
|
|
678 |
$description = $sitename;
|
679 |
}
|
680 |
$link = "<li>";
|
681 |
-
$link .= "<a rel=\"nofollow\"
|
|
|
|
|
|
|
|
|
682 |
$link .= "<img src=\"$imagepath{$site['favicon']}\" title=\"$description\" alt=\"$description\" class=\"sociable-hovers";
|
683 |
if ($site['class'])
|
684 |
$link .= " sociable_{$site['class']}";
|
@@ -698,7 +719,7 @@ $sociable_contitionals = get_option('sociable_conditionals');
|
|
698 |
if (is_array($sociable_contitionals) and in_array(true, $sociable_contitionals)) {
|
699 |
add_filter('the_content', 'sociable_display_hook');
|
700 |
add_filter('the_excerpt', 'sociable_display_hook');
|
701 |
-
add_filter('the_excerpt_rss', 'sociable_display_hook');
|
702 |
|
703 |
function sociable_display_hook($content='') {
|
704 |
$conditionals = get_option('sociable_conditionals');
|
@@ -881,6 +902,12 @@ function sociable_submenu() {
|
|
881 |
delete_option('sociable_active_sites', $active_sites);
|
882 |
add_option('sociable_active_sites', $active_sites);
|
883 |
|
|
|
|
|
|
|
|
|
|
|
|
|
884 |
// update conditional displays
|
885 |
$conditionals = Array();
|
886 |
if (!$_POST['conditionals'])
|
@@ -922,10 +949,10 @@ function sociable_submenu() {
|
|
922 |
uksort($disabled, "strnatcasecmp");
|
923 |
|
924 |
// load options from db to display
|
925 |
-
$tagline
|
926 |
-
$conditionals
|
927 |
-
$updated
|
928 |
-
|
929 |
// display options
|
930 |
?>
|
931 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
@@ -998,6 +1025,14 @@ function sociable_submenu() {
|
|
998 |
<input type="checkbox" name="usecss" <?php echo (get_option('sociable_usecss')) ? ' checked="checked"' : ''; ?> /> <?php _e("Use the sociable stylesheet?", "sociable"); ?>
|
999 |
</td>
|
1000 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1001 |
<tr>
|
1002 |
<td> </td>
|
1003 |
<td>
|
3 |
Plugin Name: Sociable
|
4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
5 |
Description: Automatically add links on your posts to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
|
6 |
+
Version: 2.8.3
|
7 |
Author: Joost de Valk
|
8 |
Author URI: http://yoast.com/
|
9 |
|
309 |
'url' => 'http://www.mixx.com/submit?page_url=PERMALINK&title=TITLE',
|
310 |
),
|
311 |
|
312 |
+
'muti' => Array(
|
313 |
+
'favicon' => 'muti.png',
|
314 |
+
'url' => 'http://www.muti.co.za/submit?url=PERMALINK&title=TITLE',
|
315 |
+
),
|
316 |
+
|
317 |
'MyShare' => Array(
|
318 |
'favicon' => 'myshare.png',
|
319 |
'url' => 'http://myshare.url.com.tw/index.php?func=newurl&url=PERMALINK&desc=TITLE',
|
482 |
'url' => 'http://twitthis.com/twit?url=PERMALINK',
|
483 |
),
|
484 |
|
485 |
+
'Upnews' => Array(
|
486 |
+
'favicon' => 'upnews.gif',
|
487 |
+
'url' => 'http://www.upnews.it/submit?url=PERMALINK&title=TITLE',
|
488 |
+
),
|
489 |
+
|
490 |
'Webnews.de' => Array(
|
491 |
'favicon' => 'webnews.gif',
|
492 |
'url' => 'http://www.webnews.de/einstellen?url=PERMALINK&title=TITLE',
|
507 |
'url' => 'http://www.wikio.fr/vote?url=PERMALINK',
|
508 |
),
|
509 |
|
510 |
+
'Wikio IT' => Array(
|
511 |
+
'favicon' => 'wikio.gif',
|
512 |
+
'url' => 'http://www.wikio.it/vote?url=PERMALINK',
|
513 |
+
),
|
514 |
+
|
515 |
'Wists' => Array(
|
516 |
'favicon' => 'wists.png',
|
517 |
'url' => 'http://wists.com/s.php?c=&r=PERMALINK&title=TITLE',
|
595 |
'images/meneame.gif',
|
596 |
'images/misterwong.gif',
|
597 |
'images/mixx.png',
|
598 |
+
'images/muti.png',
|
599 |
'images/myshare.png',
|
600 |
'images/n4g.gif',
|
601 |
'images/netvouz.png',
|
628 |
'images/tailrank.png',
|
629 |
'images/technorati.png',
|
630 |
'images/twitter.png',
|
631 |
+
'images/upnews.gif',
|
632 |
'images/webnews.gif',
|
633 |
'images/webride.png',
|
634 |
'images/wikio.gif',
|
695 |
$description = $sitename;
|
696 |
}
|
697 |
$link = "<li>";
|
698 |
+
$link .= "<a rel=\"nofollow\"";
|
699 |
+
if (get_option('sociable_usetargetblank')) {
|
700 |
+
$link .= " target=\"_blank\"";
|
701 |
+
}
|
702 |
+
$link .= " href=\"$url\" title=\"$description\">";
|
703 |
$link .= "<img src=\"$imagepath{$site['favicon']}\" title=\"$description\" alt=\"$description\" class=\"sociable-hovers";
|
704 |
if ($site['class'])
|
705 |
$link .= " sociable_{$site['class']}";
|
719 |
if (is_array($sociable_contitionals) and in_array(true, $sociable_contitionals)) {
|
720 |
add_filter('the_content', 'sociable_display_hook');
|
721 |
add_filter('the_excerpt', 'sociable_display_hook');
|
722 |
+
// add_filter('the_excerpt_rss', 'sociable_display_hook');
|
723 |
|
724 |
function sociable_display_hook($content='') {
|
725 |
$conditionals = get_option('sociable_conditionals');
|
902 |
delete_option('sociable_active_sites', $active_sites);
|
903 |
add_option('sociable_active_sites', $active_sites);
|
904 |
|
905 |
+
if ($_POST['usetargetblank']) {
|
906 |
+
update_option('sociable_usetargetblank',true);
|
907 |
+
} else {
|
908 |
+
update_option('sociable_usetargetblank',false);
|
909 |
+
}
|
910 |
+
|
911 |
// update conditional displays
|
912 |
$conditionals = Array();
|
913 |
if (!$_POST['conditionals'])
|
949 |
uksort($disabled, "strnatcasecmp");
|
950 |
|
951 |
// load options from db to display
|
952 |
+
$tagline = stripslashes(get_option('sociable_tagline'));
|
953 |
+
$conditionals = get_option('sociable_conditionals');
|
954 |
+
$updated = get_option('sociable_updated');
|
955 |
+
$usetargetblank = get_option('sociable_usetargetblank');
|
956 |
// display options
|
957 |
?>
|
958 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
1025 |
<input type="checkbox" name="usecss" <?php echo (get_option('sociable_usecss')) ? ' checked="checked"' : ''; ?> /> <?php _e("Use the sociable stylesheet?", "sociable"); ?>
|
1026 |
</td>
|
1027 |
</tr>
|
1028 |
+
<tr>
|
1029 |
+
<th scope="row" valign="top">
|
1030 |
+
<?php _e("Open in new window:", "sociable"); ?>
|
1031 |
+
</th>
|
1032 |
+
<td>
|
1033 |
+
<input type="checkbox" name="usetargetblank" <?php echo (get_option('sociable_usetargetblank')) ? ' checked="checked"' : ''; ?> /> <?php _e("Use <code>target=_blank</code> on links? (Forces links to open a new window)", "sociable"); ?>
|
1034 |
+
</td>
|
1035 |
+
</tr>
|
1036 |
<tr>
|
1037 |
<td> </td>
|
1038 |
<td>
|