Version Description
Download this release
Release Info
| Developer | joostdevalk |
| Plugin | |
| Version | 2.6.6 |
| Comparing to | |
| See all releases | |
Code changes from version 2.6.5 to 2.6.6
- images/email.png +0 -0
- images/email_link.png +0 -0
- images/print.gif +0 -0
- images/printer.png +0 -0
- readme.txt +2 -2
- sociable.php +19 -7
images/email.png
ADDED
|
Binary file
|
images/email_link.png
ADDED
|
Binary file
|
images/print.gif
ADDED
|
Binary file
|
images/printer.png
ADDED
|
Binary file
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: joostdevalk
|
|
| 3 |
Donate link: http://www.joostdevalk.nl/donate/
|
| 4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
| 5 |
Requires at least: 2.2
|
| 6 |
-
Tested up to: 2.5
|
| 7 |
-
stable tag: 2.6.
|
| 8 |
|
| 9 |
Automatically add links on your posts to popular social bookmarking sites.
|
| 10 |
|
| 3 |
Donate link: http://www.joostdevalk.nl/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.6.6
|
| 8 |
|
| 9 |
Automatically add links on your posts to popular social bookmarking sites.
|
| 10 |
|
sociable.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Sociable
|
| 4 |
Plugin URI: http://www.joostdevalk.nl/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.6.
|
| 7 |
Author: Joost de Valk
|
| 8 |
Author URI: http://www.joostdevalk.nl/
|
| 9 |
|
|
@@ -152,9 +152,10 @@ $sociable_known_sites = Array(
|
|
| 152 |
'url' => 'http://www.ekudos.nl/artikel/nieuw?url=PERMALINK&title=TITLE',
|
| 153 |
),
|
| 154 |
|
| 155 |
-
'
|
| 156 |
-
'favicon' => '
|
| 157 |
'url' => 'mailto:?subject=TITLE&body=PERMALINK',
|
|
|
|
| 158 |
),
|
| 159 |
|
| 160 |
'Facebook' => Array(
|
|
@@ -317,7 +318,7 @@ $sociable_known_sites = Array(
|
|
| 317 |
'PopCurrent' => Array(
|
| 318 |
'favicon' => 'popcurrent.png',
|
| 319 |
'url' => 'http://popcurrent.com/submit?url=PERMALINK&title=TITLE&rss=RSS',
|
| 320 |
-
|
| 321 |
),
|
| 322 |
|
| 323 |
'Pownce' => Array(
|
|
@@ -330,12 +331,17 @@ $sociable_known_sites = Array(
|
|
| 330 |
'url' => 'http://www.ppnow.net/submit.php?url=PERMALINK',
|
| 331 |
),
|
| 332 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 333 |
'Propeller' => Array(
|
| 334 |
'favicon' => 'propeller.gif',
|
| 335 |
'url' => 'http://www.propeller.com/submit/?U=PERMALINK&T=TITLE',
|
| 336 |
),
|
| 337 |
|
| 338 |
-
|
| 339 |
'RawSugar' => Array(
|
| 340 |
'favicon' => 'rawsugar.png',
|
| 341 |
'url' => 'http://www.rawsugar.com/tagger/?turl=PERMALINK&tttl=TITLE',
|
|
@@ -556,6 +562,7 @@ $sociable_files = Array(
|
|
| 556 |
'images/popcurrent.png',
|
| 557 |
'images/pownce.gif',
|
| 558 |
'images/ppnow.png',
|
|
|
|
| 559 |
'images/propeller.gif',
|
| 560 |
'images/rawsugar.png',
|
| 561 |
'images/rec6.gif',
|
|
@@ -638,9 +645,14 @@ function sociable_html($display=Array()) {
|
|
| 638 |
$url = str_replace('RSS', $rss, $url);
|
| 639 |
$url = str_replace('BLOGNAME', $blogname, $url);
|
| 640 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 641 |
$link = "<li>";
|
| 642 |
-
$link .= "<a rel=\"nofollow\" target=\"_blank\" href=\"$url\" title=\"$
|
| 643 |
-
$link .= "<img src=\"$imagepath{$site['favicon']}\" title=\"$
|
| 644 |
if ($site['class'])
|
| 645 |
$link .= " sociable_{$site['class']}";
|
| 646 |
$link .= "\" />";
|
| 3 |
Plugin Name: Sociable
|
| 4 |
Plugin URI: http://www.joostdevalk.nl/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.6.6
|
| 7 |
Author: Joost de Valk
|
| 8 |
Author URI: http://www.joostdevalk.nl/
|
| 9 |
|
| 152 |
'url' => 'http://www.ekudos.nl/artikel/nieuw?url=PERMALINK&title=TITLE',
|
| 153 |
),
|
| 154 |
|
| 155 |
+
'email' => Array(
|
| 156 |
+
'favicon' => 'email_link.png',
|
| 157 |
'url' => 'mailto:?subject=TITLE&body=PERMALINK',
|
| 158 |
+
'description' => 'E-mail this story to a friend!',
|
| 159 |
),
|
| 160 |
|
| 161 |
'Facebook' => Array(
|
| 318 |
'PopCurrent' => Array(
|
| 319 |
'favicon' => 'popcurrent.png',
|
| 320 |
'url' => 'http://popcurrent.com/submit?url=PERMALINK&title=TITLE&rss=RSS',
|
| 321 |
+
'description' => 'description',
|
| 322 |
),
|
| 323 |
|
| 324 |
'Pownce' => Array(
|
| 331 |
'url' => 'http://www.ppnow.net/submit.php?url=PERMALINK',
|
| 332 |
),
|
| 333 |
|
| 334 |
+
'Print' => Array(
|
| 335 |
+
'favicon' => 'printer.png',
|
| 336 |
+
'url' => 'javascript:window.print();',
|
| 337 |
+
'description' => 'Print this article!',
|
| 338 |
+
),
|
| 339 |
+
|
| 340 |
'Propeller' => Array(
|
| 341 |
'favicon' => 'propeller.gif',
|
| 342 |
'url' => 'http://www.propeller.com/submit/?U=PERMALINK&T=TITLE',
|
| 343 |
),
|
| 344 |
|
|
|
|
| 345 |
'RawSugar' => Array(
|
| 346 |
'favicon' => 'rawsugar.png',
|
| 347 |
'url' => 'http://www.rawsugar.com/tagger/?turl=PERMALINK&tttl=TITLE',
|
| 562 |
'images/popcurrent.png',
|
| 563 |
'images/pownce.gif',
|
| 564 |
'images/ppnow.png',
|
| 565 |
+
'images/print.gif',
|
| 566 |
'images/propeller.gif',
|
| 567 |
'images/rawsugar.png',
|
| 568 |
'images/rec6.gif',
|
| 645 |
$url = str_replace('RSS', $rss, $url);
|
| 646 |
$url = str_replace('BLOGNAME', $blogname, $url);
|
| 647 |
|
| 648 |
+
if (!isset($site['description']) || $site['description'] == "") {
|
| 649 |
+
$description = $sitename;
|
| 650 |
+
} else {
|
| 651 |
+
$description = $site['description'];
|
| 652 |
+
}
|
| 653 |
$link = "<li>";
|
| 654 |
+
$link .= "<a rel=\"nofollow\" target=\"_blank\" href=\"$url\" title=\"$description\">";
|
| 655 |
+
$link .= "<img src=\"$imagepath{$site['favicon']}\" title=\"$description\" alt=\"$description\" class=\"sociable-hovers";
|
| 656 |
if ($site['class'])
|
| 657 |
$link .= " sociable_{$site['class']}";
|
| 658 |
$link .= "\" />";
|
