Sociable - Version 4.0.2

Version Description

Fix IIS 6.0 and PHP 5.3.x

Download this release

Release Info

Developer sociable
Plugin Icon wp plugin Sociable
Version 4.0.2
Comparing to
See all releases

Code changes from version 4.0.1 to 4.0.2

css/style-admin.css CHANGED
@@ -11,8 +11,7 @@
11
  }
12
 
13
  .Title-Box{
14
- margin:0px 0px 0px 25px;
15
- padding:0px;
16
  Width:100%;
17
  }
18
 
11
  }
12
 
13
  .Title-Box{
14
+ margin:0px 0px 0px 25px padding:0px;
 
15
  Width:100%;
16
  }
17
 
includes/class-sociable_Admin_Options.php CHANGED
@@ -226,7 +226,7 @@ class sociable_Admin_Options{
226
 
227
  <BR/>
228
  <DIV style="width:100%;height:60px;">
229
- <INPUT type="text" class="Tagline-INPUT" id="tagline" name="sociable_options[tagline]" value="<?=$sociable_options["tagline"];?>" />
230
 
231
  <DIV class="ToSociable" >
232
  <INPUT type="checkbox" <? if (!empty($sociable_options["help_grow"])) echo "checked = 'checked'";?> name="sociable_options[help_grow]" id="LinkToSociable" />
@@ -275,13 +275,13 @@ class sociable_Admin_Options{
275
  if ($sociable_options["icon_size"] == 64) $checked64 = "checked='checked'";
276
  //echo $checked16;
277
  ?>
278
- <SPAN class="IconSize-Item"> <INPUT value="16" type="radio" name="sociable_options[icon_size]" <?=$checked16;?> />16x16 Pixels </SPAN>
279
 
280
- <SPAN class="IconSize-Item"> <INPUT <?=$checked32;?> value="32" type="radio" name="sociable_options[icon_size]" />32x32 Pixels </SPAN>
281
 
282
- <SPAN class="IconSize-Item"> <INPUT <?=$checked48;?> value="48" type="radio" name="sociable_options[icon_size]"/>48x48 Pixels </SPAN>
283
 
284
- <SPAN class="IconSize-Item"> <INPUT <?=$checked64;?> value="64" type="radio" name="sociable_options[icon_size]" />64x64 Pixels </SPAN>
285
 
286
 
287
  </DIV>
@@ -319,17 +319,17 @@ class sociable_Admin_Options{
319
  //echo $imagepath;
320
  ?>
321
 
322
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked1?> value="option1" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/<?=$sociable_options["icon_size"]?>/option1_<?=$sociable_options["icon_size"]?>.jpg" /> </SPAN>
323
  <BR/><BR/>
324
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked2?> value="option2" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/<?=$sociable_options["icon_size"]?>/option2_<?=$sociable_options["icon_size"]?>.jpg" /> </SPAN>
325
  <BR/><BR/>
326
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked3?> value="option3" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/<?=$sociable_options["icon_size"]?>/option3_<?=$sociable_options["icon_size"]?>.jpg" /> </SPAN>
327
  <BR/><BR/>
328
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked4?> value="option4" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/<?=$sociable_options["icon_size"]?>/option4_<?=$sociable_options["icon_size"]?>.jpg" /> </SPAN>
329
  <BR/><BR/>
330
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked5?> value="option5" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/<?=$sociable_options["icon_size"]?>/option5_<?=$sociable_options["icon_size"]?>.jpg" /> </SPAN>
331
  <BR/><BR/>
332
- <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?=$checked6?> value="option6" type="radio" /> <IMG src="<?=$imagepath?>icon_styles/16/option_6_16.png" /> </SPAN>
333
  <BR/><BR/>
334
  </DIV>
335
 
226
 
227
  <BR/>
228
  <DIV style="width:100%;height:60px;">
229
+ <INPUT type="text" class="Tagline-INPUT" id="tagline" name="sociable_options[tagline]" value="<?php echo$sociable_options["tagline"];?>" />
230
 
231
  <DIV class="ToSociable" >
232
  <INPUT type="checkbox" <? if (!empty($sociable_options["help_grow"])) echo "checked = 'checked'";?> name="sociable_options[help_grow]" id="LinkToSociable" />
275
  if ($sociable_options["icon_size"] == 64) $checked64 = "checked='checked'";
276
  //echo $checked16;
277
  ?>
278
+ <SPAN class="IconSize-Item"> <INPUT value="16" type="radio" name="sociable_options[icon_size]" <?php echo$checked16;?> />16x16 Pixels </SPAN>
279
 
280
+ <SPAN class="IconSize-Item"> <INPUT <?php echo$checked32;?> value="32" type="radio" name="sociable_options[icon_size]" />32x32 Pixels </SPAN>
281
 
282
+ <SPAN class="IconSize-Item"> <INPUT <?php echo$checked48;?> value="48" type="radio" name="sociable_options[icon_size]"/>48x48 Pixels </SPAN>
283
 
284
+ <SPAN class="IconSize-Item"> <INPUT <?php echo$checked64;?> value="64" type="radio" name="sociable_options[icon_size]" />64x64 Pixels </SPAN>
285
 
286
 
287
  </DIV>
319
  //echo $imagepath;
320
  ?>
321
 
322
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked1?> value="option1" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/<?php echo$sociable_options["icon_size"]?>/option1_<?php echo$sociable_options["icon_size"]?>.jpg" /> </SPAN>
323
  <BR/><BR/>
324
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked2?> value="option2" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/<?php echo$sociable_options["icon_size"]?>/option2_<?php echo$sociable_options["icon_size"]?>.jpg" /> </SPAN>
325
  <BR/><BR/>
326
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked3?> value="option3" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/<?php echo$sociable_options["icon_size"]?>/option3_<?php echo$sociable_options["icon_size"]?>.jpg" /> </SPAN>
327
  <BR/><BR/>
328
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked4?> value="option4" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/<?php echo$sociable_options["icon_size"]?>/option4_<?php echo$sociable_options["icon_size"]?>.jpg" /> </SPAN>
329
  <BR/><BR/>
330
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked5?> value="option5" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/<?php echo$sociable_options["icon_size"]?>/option5_<?php echo$sociable_options["icon_size"]?>.jpg" /> </SPAN>
331
  <BR/><BR/>
332
+ <SPAN class="IconStyle-Item"> <INPUT name="sociable_options[icon_option]" <?php echo$checked6?> value="option6" type="radio" /> <IMG src="<?php echo$imagepath?>icon_styles/16/option_6_16.png" /> </SPAN>
333
  <BR/><BR/>
334
  </DIV>
335
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tested up to version: 3.2.1
6
  Requires at least: 2.6
7
 
8
  Tested up to: 2.8.5
9
- Stable tag: 4.0.1
10
  == Description ==
11
  Sociable continues being the leader in the sharing space of WordPress plugins. Started more than 2 years ago, and with over 1,2mm downloads now, here comes the version 4.0, with everything you expect to get, and then some.
12
 
@@ -25,7 +25,7 @@ What happened to the old icons? You can still use them in the new version, but t
25
 
26
  Sociable finds its home outside of the WordPress environment on Blogplay.com-
27
 
28
- *** Sociable 4.0.1 ***
29
 
30
  = Recent Updates =
31
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
@@ -72,6 +72,10 @@ You can still use them. It's just they're not the default anymore.
72
  Please send us an email to sociable [ at ] startups.com
73
 
74
  == Changelog ==
 
 
 
 
75
  = 4.0.1 =
76
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
77
  * Complete re-write to increase efficiency and speed of the plugin
6
  Requires at least: 2.6
7
 
8
  Tested up to: 2.8.5
9
+ Stable tag: 4.0.2
10
  == Description ==
11
  Sociable continues being the leader in the sharing space of WordPress plugins. Started more than 2 years ago, and with over 1,2mm downloads now, here comes the version 4.0, with everything you expect to get, and then some.
12
 
25
 
26
  Sociable finds its home outside of the WordPress environment on Blogplay.com-
27
 
28
+ *** Sociable 4.0.2 ***
29
 
30
  = Recent Updates =
31
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
72
  Please send us an email to sociable [ at ] startups.com
73
 
74
  == Changelog ==
75
+
76
+ = 4.0.2 =
77
+ Fix IIS 6.0 and PHP 5.3.x
78
+
79
  = 4.0.1 =
80
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
81
  * Complete re-write to increase efficiency and speed of the plugin
sociable.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Sociable
4
  Plugin URI: http://blogplay.com/plugin
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
6
- Version: 4.0
7
  Author: Blogplay
8
  Author URI: http://blogplay.com/
9
 
@@ -115,7 +115,7 @@ function sociable_reset(){
115
 
116
  $sociable_options = array(
117
  'automatic_mode' => 'on',
118
  'tagline' => 'Be Sociable, Share!',
119
  'custom_image_directory' => '',
120
  'use_stylesheet' => 'on',
121
  'use_images' => 'on',
122
 
123
  'use_alphamask' => 'on',
124
  'new_window' => 'on',
125
  'locations' => array(
126
  'is_single' => 'on',
127
  'is_page' => 'on'
128
  ),
129
  'active_sites' => array(
130
  'Facebook' => 'on',
131
  'StumbleUpon' =>'on',
132
  ),
133
  'icon_size' => '32',
134
  );
135
 
136
- $sociable_known_sites = array(
137
  'Facebook' => array(
138
  'favicon' => 'facebook.png',
139
  'url' => 'http://www.facebook.com/share.php?u=PERMALINK&amp;t=TITLE',
140
  '16' => array("-48px","0px"),
141
  '32' => array("-96px","0px"),
142
  '48' => array("-144px","0px"),
143
  '64' => array("-192px","0px")
144
  )
145
  ),
146
  'favicon' => 'facebook.png',
147
  'url' => '<iframe src="//www.facebook.com/plugins/like.php?href=PERMALINK&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:80px;width:100px" allowTransparency="true"></iframe>',
148
 
149
  '16' => array("-48px","0px"),
150
  '32' => array("-96px","0px"),
151
  '48' => array("-144px","0px"),
152
  '64' => array("-192px","0px")
153
  )
154
  ), */
155
  'Myspace' => array(
156
  'favicon' => 'myspace.png',
157
  'url' => 'http://www.myspace.com/Modules/PostTo/Pages/?u=PERMALINK&amp;t=TITLE',
158
  'spriteCoordinates' => Array(
159
  '16' => array("0px","-16px"),
160
  '32' => array("0px","-32px"),
161
  '48' => array("0px","-48px"),
162
  '64' => array("0px","-64px")
163
  )
164
  ),
165
  'Twitter' => array(
166
  'favicon' => 'twitter.png',
167
  'url' => 'http://twitter.com/intent/tweet?text=TITLE%20-%20PERMALINK%20(via%20@sociablesite)',
168
  'spriteCoordinates' => Array(
169
  '16' => array("-144px","-16px"),
170
  '32' => array("-288px","-32px"),
171
  '48' => array("-432px","-48px"),
172
  '64' => array("-576px","-64px")
173
  )
174
  ),
175
  'LinkedIn' => array(
176
  'favicon' => 'linkedin.png',
177
  'url' => 'http://www.linkedin.com/shareArticle?mini=true&amp;url=PERMALINK&amp;title=TITLE&amp;source=BLOGNAME&amp;summary=EXCERPT',
178
  'spriteCoordinates' => Array(
179
  '16' => array("-144px","0px"),
180
  '32' => array("-288px","0px"),
181
  '48' => array("-432px","0px"),
182
  '64' => array("-576px","0px")
183
  )
184
 
185
  ),
186
  'Delicious' => array(
187
  'favicon' => 'delicious.png',
188
  'url' => 'http://delicious.com/post?url=PERMALINK&amp;title=TITLE&amp;notes=EXCERPT',
189
  'spriteCoordinates' => Array(
190
  '16' => array("-16px","0px"),
191
  '32' => array("-32px","0px"),
192
  '48' => array("-48px","0px"),
193
  '64' => array("-64px","0px")
194
  )
195
  ),
196
  'Digg' => array(
197
  'favicon' => 'digg.png',
198
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE&amp;bodytext=EXCERPT',
199
  'spriteCoordinates' => Array(
200
  '16' => array("-32px","0px"),
201
  '32' => array("-64px","0px"),
202
  '48' => array("-96px","0px"),
203
  '64' => array("-128px","0px")
204
  )
205
  ),
206
  'Reddit' => array(
207
  'favicon' => 'reddit.png',
208
  'url' => 'http://reddit.com/submit?url=PERMALINK&amp;title=TITLE',
209
  'spriteCoordinates' => Array(
210
  '16' => array("-64px","-16px"),
211
  '32' => array("-128px","-32px"),
212
  '48' => array("-192px","-48px"),
213
  '64' => array("-256px","-64px")
214
  )
215
  ),
216
 
217
  'StumbleUpon' => array(
218
  'favicon' => 'stumbleupon.png',
219
  'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&title=TITLE',
220
  'spriteCoordinates' => Array(
221
  '16' => array("-112px","-16px"),
222
  '32' => array("-224px","-32px"),
223
  '48' => array("-336px","-48px"),
224
  '64' => array("-448px","-64px")
225
  )
226
  ),
227
  'favicon' => 'google.png',
228
  'url' => 'http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=PERMALINK&amp;title=TITLE&amp;annotation=EXCERPT',
229
  'description' => 'Google Bookmarks',
230
  'spriteCoordinates' => Array(
231
  '16' => array("-96px","0px"),
232
  '32' => array("-192px","0px"),
233
  '48' => array("-288px","0px"),
234
  '64' => array("-384px","0px")
235
  )
236
  ),
237
  'favicon' => 'hacker_news.png',
238
  'url' => 'http://news.ycombinator.com/submitlink?u=PERMALINK&amp;t=TITLE',
239
  'spriteCoordinates' => Array(
240
  '16' => array("-128px","0px"),
241
  '32' => array("-256px","0px"),
242
  '48' => array("-384px","0px"),
243
  '64' => array("-512px","0px")
244
  )
245
  ),
246
  'favicon' => 'msn.png',
247
  'url' => 'http://reporter.es.msn.com/?fn=contribute&amp;Title=TITLE&amp;URL=PERMALINK&amp;cat_id=6&amp;tag_id=31&amp;Remark=EXCERPT',
248
  'description' => 'MSN Reporter',
249
  'spriteCoordinates' => Array(
250
  '16' => array("-176px","0px"),
251
  '32' => array("-352px","0px"),
252
  '48' => array("-528px","0px"),
253
  '64' => array("-704px","0px")
254
  )
255
  ),
256
  'favicon' => 'blinklist.png',
257
  'url' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=PERMALINK&amp;Title=TITLE',
258
  'spriteCoordinates' => Array(
259
  '16' => array("0px","0px"),
260
  '32' => array("0px","0px"),
261
  '48' => array("0px","0px"),
262
  '64' => array("0px","0px")
263
  ),
264
  'supportsIframe' => false,
265
  ),
266
  'favicon' => 'sphinn.png',
267
  'url' => 'http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=PERMALINK',
268
  'spriteCoordinates' => Array(
269
  '16' => array("-96px","-16px"),
270
  '32' => array("-192px","-32px"),
271
  '48' => array("-288px","-48px"),
272
  '64' => array("-384px","-64px")
273
  )
274
  ),
275
  'favicon' => 'posterous.png',
276
  'url' => 'http://posterous.com/share?linkto=PERMALINK&amp;title=TITLE&amp;selection=EXCERPT',
277
  'spriteCoordinates' => Array(
278
  '16' => array("-32px","-16px"),
279
  '32' => array("-64px","-32px"),
280
  '48' => array("-96px","-48px"),
281
  '64' => array("-128px","-64px")
282
  )
283
  ),
284
  'favicon' => 'tumblr.png',
285
  'url' => 'http://www.tumblr.com/share?v=3&amp;u=PERMALINK&amp;t=TITLE&amp;s=EXCERPT',
286
  'spriteCoordinates' => Array(
287
  '16' => array("-128px","-16px"),
288
  '32' => array("-256px","-32px"),
289
  '48' => array("-384px","-48px"),
290
  '64' => array("-512px","-64px")
291
  'supportsIframe' => false
292
  ),
293
  'favicon' => 'gmail.png',
294
  'spriteCoordinates' => Array(
295
  '16' => array("-80px","0px"),
296
  '32' => array("-160px","0px"),
297
  '48' => array("-240px","0px"),
298
  '64' => array("-320px","0px")
299
  ),
300
  'supportsIframe' => false
301
  ),
302
  '16' => array("-112px","0px"),
303
  '32' => array("-224px","0px"),
304
  '48' => array("-336px","0px"),
305
  '64' => array("-448px","0px")
306
  )
307
  '16' => array("-56px","0px"),
308
  '32' => array("-128px","0px"),
309
  '48' => array("-168px","0px"),
310
  '64' => array("-256px","0px")
311
  )
312
  '16' => array("0px","0px"),
313
  '32' => array("0px","0px"),
314
  '48' => array("0px","0px"),
315
  '64' => array("0px","0px")
316
  )
317
  );
 
318
  'Facebook' => array(
319
  'favicon' => 'facebook.png',
320
  'url' => 'http://www.facebook.com/share.php?u=PERMALINK&amp;t=TITLE',
321
  '16' => array("-48px","0px"),
322
  '32' => array("-96px","0px"),
323
  '48' => array("-144px","0px"),
324
  '64' => array("-192px","0px")
325
  )
326
  ),
327
  'favicon' => 'facebook.png',
328
  'url' => '<iframe src="//www.facebook.com/plugins/like.php?href=PERMALINK&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:80px;width:100px" allowTransparency="true"></iframe>',
329
 
330
  '16' => array("-48px","0px"),
331
  '32' => array("-96px","0px"),
332
  '48' => array("-144px","0px"),
333
  '64' => array("-192px","0px")
334
  )
335
  ), */
336
  'Myspace' => array(
337
  'favicon' => 'myspace.png',
338
  'url' => 'http://www.myspace.com/Modules/PostTo/Pages/?u=PERMALINK&amp;t=TITLE',
339
  'spriteCoordinates' => Array(
340
  '16' => array("0px","-16px"),
341
  '32' => array("0px","-32px"),
342
  '48' => array("0px","-48px"),
343
  '64' => array("0px","-64px")
344
  )
345
  ),
346
  'Twitter' => array(
347
  'favicon' => 'twitter.png',
348
  'url' => 'http://twitter.com/intent/tweet?text=TITLE%20-%20PERMALINK%20(via%20@sociablesite)',
349
  'spriteCoordinates' => Array(
350
  '16' => array("-144px","-16px"),
351
  '32' => array("-288px","-32px"),
352
  '48' => array("-432px","-48px"),
353
  '64' => array("-576px","-64px")
354
  )
355
  ),
356
  'LinkedIn' => array(
357
  'favicon' => 'linkedin.png',
358
  'url' => 'http://www.linkedin.com/shareArticle?mini=true&amp;url=PERMALINK&amp;title=TITLE&amp;source=BLOGNAME&amp;summary=EXCERPT',
359
  'spriteCoordinates' => Array(
360
  '16' => array("-144px","0px"),
361
  '32' => array("-288px","0px"),
362
  '48' => array("-432px","0px"),
363
  '64' => array("-576px","0px")
364
  )
365
 
366
  ),
367
  'Delicious' => array(
368
  'favicon' => 'delicious.png',
369
  'url' => 'http://delicious.com/post?url=PERMALINK&amp;title=TITLE&amp;notes=EXCERPT',
370
  'spriteCoordinates' => Array(
371
  '16' => array("-16px","0px"),
372
  '32' => array("-32px","0px"),
373
  '48' => array("-48px","0px"),
374
  '64' => array("-64px","0px")
375
  )
376
  ),
377
  'Digg' => array(
378
  'favicon' => 'digg.png',
379
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE&amp;bodytext=EXCERPT',
380
  'spriteCoordinates' => Array(
381
  '16' => array("-32px","0px"),
382
  '32' => array("-64px","0px"),
383
  '48' => array("-96px","0px"),
384
  '64' => array("-128px","0px")
385
  )
386
  ),
387
  'Reddit' => array(
388
  'favicon' => 'reddit.png',
389
  'url' => 'http://reddit.com/submit?url=PERMALINK&amp;title=TITLE',
390
  'spriteCoordinates' => Array(
391
  '16' => array("-64px","-16px"),
392
  '32' => array("-128px","-32px"),
393
  '48' => array("-192px","-48px"),
394
  '64' => array("-256px","-64px")
395
  )
396
  ),
397
 
398
  'StumbleUpon' => array(
399
  'favicon' => 'stumbleupon.png',
400
  'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&title=TITLE',
401
  'spriteCoordinates' => Array(
402
  '16' => array("-112px","-16px"),
403
  '32' => array("-224px","-32px"),
404
  '48' => array("-336px","-48px"),
405
  '64' => array("-448px","-64px")
406
  )
407
  ),
408
  'favicon' => 'google.png',
409
  'url' => 'http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=PERMALINK&amp;title=TITLE&amp;annotation=EXCERPT',
410
  'description' => 'Google Bookmarks',
411
  'spriteCoordinates' => Array(
412
  '16' => array("-96px","0px"),
413
  '32' => array("-192px","0px"),
414
  '48' => array("-288px","0px"),
415
  '64' => array("-384px","0px")
416
  )
417
  ),
418
  'favicon' => 'hacker_news.png',
419
  'url' => 'http://news.ycombinator.com/submitlink?u=PERMALINK&amp;t=TITLE',
420
  'spriteCoordinates' => Array(
421
  '16' => array("-128px","0px"),
422
  '32' => array("-256px","0px"),
423
  '48' => array("-384px","0px"),
424
  '64' => array("-512px","0px")
425
  )
426
  ),
427
  'favicon' => 'msn.png',
428
  'url' => 'http://reporter.es.msn.com/?fn=contribute&amp;Title=TITLE&amp;URL=PERMALINK&amp;cat_id=6&amp;tag_id=31&amp;Remark=EXCERPT',
429
  'description' => 'MSN Reporter',
430
  'spriteCoordinates' => Array(
431
  '16' => array("-176px","0px"),
432
  '32' => array("-352px","0px"),
433
  '48' => array("-528px","0px"),
434
  '64' => array("-704px","0px")
435
  )
436
  ),
437
  'favicon' => 'blinklist.png',
438
  'url' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=PERMALINK&amp;Title=TITLE',
439
  'spriteCoordinates' => Array(
440
  '16' => array("0px","0px"),
441
  '32' => array("0px","0px"),
442
  '48' => array("0px","0px"),
443
  '64' => array("0px","0px")
444
  ),
445
  'supportsIframe' => false,
446
  ),
447
  'favicon' => 'sphinn.png',
448
  'url' => 'http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=PERMALINK',
449
  'spriteCoordinates' => Array(
450
  '16' => array("-96px","-16px"),
451
  '32' => array("-192px","-32px"),
452
  '48' => array("-288px","-48px"),
453
  '64' => array("-384px","-64px")
454
  )
455
  ),
456
  'favicon' => 'posterous.png',
457
  'url' => 'http://posterous.com/share?linkto=PERMALINK&amp;title=TITLE&amp;selection=EXCERPT',
458
  'spriteCoordinates' => Array(
459
  '16' => array("-32px","-16px"),
460
  '32' => array("-64px","-32px"),
461
  '48' => array("-96px","-48px"),
462
  '64' => array("-128px","-64px")
463
  )
464
  ),
465
  'favicon' => 'tumblr.png',
466
  'url' => 'http://www.tumblr.com/share?v=3&amp;u=PERMALINK&amp;t=TITLE&amp;s=EXCERPT',
467
  'spriteCoordinates' => Array(
468
  '16' => array("-128px","-16px"),
469
  '32' => array("-256px","-32px"),
470
  '48' => array("-384px","-48px"),
471
  '64' => array("-512px","-64px")
472
  'supportsIframe' => false
473
  ),
474
  'favicon' => 'gmail.png',
475
  'spriteCoordinates' => Array(
476
  '16' => array("-80px","0px"),
477
  '32' => array("-160px","0px"),
478
  '48' => array("-240px","0px"),
479
  '64' => array("-320px","0px")
480
  ),
481
  'supportsIframe' => false
482
  ),
483
  '16' => array("-112px","0px"),
484
  '32' => array("-224px","0px"),
485
  '48' => array("-336px","0px"),
486
  '64' => array("-448px","0px")
487
  )
488
  '16' => array("-64px","0px"),
489
  '32' => array("-128px","0px"),
490
  '48' => array("-192px","0px"),
491
  '64' => array("-256px","0px")
492
  )
493
  '16' => array("0px","0px"),
494
  '32' => array("0px","0px"),
495
  '48' => array("0px","0px"),
496
  '64' => array("0px","0px")
497
  )
498
  );
499
 
500
  //Update will create if it doesn't exist.
501
  update_option( 'sociable_known_sites' , $sociable_known_sites );
3
  Plugin Name: Sociable
4
  Plugin URI: http://blogplay.com/plugin
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
6
+ Version: 4.0.2
7
  Author: Blogplay
8
  Author URI: http://blogplay.com/
9
 
115
 
116
  $sociable_options = array(
117
  'automatic_mode' => 'on',
118
  'tagline' => 'Be Sociable, Share!',
119
  'custom_image_directory' => '',
120
  'use_stylesheet' => 'on',
121
  'use_images' => 'on',
122
 
123
  'use_alphamask' => 'on',
124
  'new_window' => 'on',
125
  'locations' => array(
126
  'is_single' => 'on',
127
  'is_page' => 'on'
128
  ),
129
  'active_sites' => array(
130
  'Facebook' => 'on',
131
  'StumbleUpon' =>'on',
132
  ),
133
  'icon_size' => '32',
134
  );
135
 
 
136
  'Facebook' => array(
137
  'favicon' => 'facebook.png',
138
  'url' => 'http://www.facebook.com/share.php?u=PERMALINK&amp;t=TITLE',
139
  '16' => array("-48px","0px"),
140
  '32' => array("-96px","0px"),
141
  '48' => array("-144px","0px"),
142
  '64' => array("-192px","0px")
143
  )
144
  ),
145
  'favicon' => 'facebook.png',
146
  'url' => '<iframe src="//www.facebook.com/plugins/like.php?href=PERMALINK&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:80px;width:100px" allowTransparency="true"></iframe>',
147
 
148
  '16' => array("-48px","0px"),
149
  '32' => array("-96px","0px"),
150
  '48' => array("-144px","0px"),
151
  '64' => array("-192px","0px")
152
  )
153
  ), */
154
  'Myspace' => array(
155
  'favicon' => 'myspace.png',
156
  'url' => 'http://www.myspace.com/Modules/PostTo/Pages/?u=PERMALINK&amp;t=TITLE',
157
  'spriteCoordinates' => Array(
158
  '16' => array("0px","-16px"),
159
  '32' => array("0px","-32px"),
160
  '48' => array("0px","-48px"),
161
  '64' => array("0px","-64px")
162
  )
163
  ),
164
  'Twitter' => array(
165
  'favicon' => 'twitter.png',
166
  'url' => 'http://twitter.com/intent/tweet?text=TITLE%20-%20PERMALINK%20(via%20@sociablesite)',
167
  'spriteCoordinates' => Array(
168
  '16' => array("-144px","-16px"),
169
  '32' => array("-288px","-32px"),
170
  '48' => array("-432px","-48px"),
171
  '64' => array("-576px","-64px")
172
  )
173
  ),
174
  'LinkedIn' => array(
175
  'favicon' => 'linkedin.png',
176
  'url' => 'http://www.linkedin.com/shareArticle?mini=true&amp;url=PERMALINK&amp;title=TITLE&amp;source=BLOGNAME&amp;summary=EXCERPT',
177
  'spriteCoordinates' => Array(
178
  '16' => array("-144px","0px"),
179
  '32' => array("-288px","0px"),
180
  '48' => array("-432px","0px"),
181
  '64' => array("-576px","0px")
182
  )
183
 
184
  ),
185
  'Delicious' => array(
186
  'favicon' => 'delicious.png',
187
  'url' => 'http://delicious.com/post?url=PERMALINK&amp;title=TITLE&amp;notes=EXCERPT',
188
  'spriteCoordinates' => Array(
189
  '16' => array("-16px","0px"),
190
  '32' => array("-32px","0px"),
191
  '48' => array("-48px","0px"),
192
  '64' => array("-64px","0px")
193
  )
194
  ),
195
  'Digg' => array(
196
  'favicon' => 'digg.png',
197
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE&amp;bodytext=EXCERPT',
198
  'spriteCoordinates' => Array(
199
  '16' => array("-32px","0px"),
200
  '32' => array("-64px","0px"),
201
  '48' => array("-96px","0px"),
202
  '64' => array("-128px","0px")
203
  )
204
  ),
205
  'Reddit' => array(
206
  'favicon' => 'reddit.png',
207
  'url' => 'http://reddit.com/submit?url=PERMALINK&amp;title=TITLE',
208
  'spriteCoordinates' => Array(
209
  '16' => array("-64px","-16px"),
210
  '32' => array("-128px","-32px"),
211
  '48' => array("-192px","-48px"),
212
  '64' => array("-256px","-64px")
213
  )
214
  ),
215
 
216
  'StumbleUpon' => array(
217
  'favicon' => 'stumbleupon.png',
218
  'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&title=TITLE',
219
  'spriteCoordinates' => Array(
220
  '16' => array("-112px","-16px"),
221
  '32' => array("-224px","-32px"),
222
  '48' => array("-336px","-48px"),
223
  '64' => array("-448px","-64px")
224
  )
225
  ),
226
  'favicon' => 'google.png',
227
  'url' => 'http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=PERMALINK&amp;title=TITLE&amp;annotation=EXCERPT',
228
  'description' => 'Google Bookmarks',
229
  'spriteCoordinates' => Array(
230
  '16' => array("-96px","0px"),
231
  '32' => array("-192px","0px"),
232
  '48' => array("-288px","0px"),
233
  '64' => array("-384px","0px")
234
  )
235
  ),
236
  'favicon' => 'hacker_news.png',
237
  'url' => 'http://news.ycombinator.com/submitlink?u=PERMALINK&amp;t=TITLE',
238
  'spriteCoordinates' => Array(
239
  '16' => array("-128px","0px"),
240
  '32' => array("-256px","0px"),
241
  '48' => array("-384px","0px"),
242
  '64' => array("-512px","0px")
243
  )
244
  ),
245
  'favicon' => 'msn.png',
246
  'url' => 'http://reporter.es.msn.com/?fn=contribute&amp;Title=TITLE&amp;URL=PERMALINK&amp;cat_id=6&amp;tag_id=31&amp;Remark=EXCERPT',
247
  'description' => 'MSN Reporter',
248
  'spriteCoordinates' => Array(
249
  '16' => array("-176px","0px"),
250
  '32' => array("-352px","0px"),
251
  '48' => array("-528px","0px"),
252
  '64' => array("-704px","0px")
253
  )
254
  ),
255
  'favicon' => 'blinklist.png',
256
  'url' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=PERMALINK&amp;Title=TITLE',
257
  'spriteCoordinates' => Array(
258
  '16' => array("0px","0px"),
259
  '32' => array("0px","0px"),
260
  '48' => array("0px","0px"),
261
  '64' => array("0px","0px")
262
  ),
263
  'supportsIframe' => false,
264
  ),
265
  'favicon' => 'sphinn.png',
266
  'url' => 'http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=PERMALINK',
267
  'spriteCoordinates' => Array(
268
  '16' => array("-96px","-16px"),
269
  '32' => array("-192px","-32px"),
270
  '48' => array("-288px","-48px"),
271
  '64' => array("-384px","-64px")
272
  )
273
  ),
274
  'favicon' => 'posterous.png',
275
  'url' => 'http://posterous.com/share?linkto=PERMALINK&amp;title=TITLE&amp;selection=EXCERPT',
276
  'spriteCoordinates' => Array(
277
  '16' => array("-32px","-16px"),
278
  '32' => array("-64px","-32px"),
279
  '48' => array("-96px","-48px"),
280
  '64' => array("-128px","-64px")
281
  )
282
  ),
283
  'favicon' => 'tumblr.png',
284
  'url' => 'http://www.tumblr.com/share?v=3&amp;u=PERMALINK&amp;t=TITLE&amp;s=EXCERPT',
285
  'spriteCoordinates' => Array(
286
  '16' => array("-128px","-16px"),
287
  '32' => array("-256px","-32px"),
288
  '48' => array("-384px","-48px"),
289
  '64' => array("-512px","-64px")
290
  'supportsIframe' => false
291
  ),
292
  'favicon' => 'gmail.png',
293
  'spriteCoordinates' => Array(
294
  '16' => array("-80px","0px"),
295
  '32' => array("-160px","0px"),
296
  '48' => array("-240px","0px"),
297
  '64' => array("-320px","0px")
298
  ),
299
  'supportsIframe' => false
300
  ),
301
  '16' => array("-112px","0px"),
302
  '32' => array("-224px","0px"),
303
  '48' => array("-336px","0px"),
304
  '64' => array("-448px","0px")
305
  )
306
  '16' => array("-56px","0px"),
307
  '32' => array("-128px","0px"),
308
  '48' => array("-168px","0px"),
309
  '64' => array("-256px","0px")
310
  )
311
  '16' => array("0px","0px"),
312
  '32' => array("0px","0px"),
313
  '48' => array("0px","0px"),
314
  '64' => array("0px","0px")
315
  )
316
  );
317
+ $sociable_known_sites = array(
318
  'Facebook' => array(
319
  'favicon' => 'facebook.png',
320
  'url' => 'http://www.facebook.com/share.php?u=PERMALINK&amp;t=TITLE',
321
  '16' => array("-48px","0px"),
322
  '32' => array("-96px","0px"),
323
  '48' => array("-144px","0px"),
324
  '64' => array("-192px","0px")
325
  )
326
  ),
327
  'favicon' => 'facebook.png',
328
  'url' => '<iframe src="//www.facebook.com/plugins/like.php?href=PERMALINK&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:80px;width:100px" allowTransparency="true"></iframe>',
329
 
330
  '16' => array("-48px","0px"),
331
  '32' => array("-96px","0px"),
332
  '48' => array("-144px","0px"),
333
  '64' => array("-192px","0px")
334
  )
335
  ), */
336
  'Myspace' => array(
337
  'favicon' => 'myspace.png',
338
  'url' => 'http://www.myspace.com/Modules/PostTo/Pages/?u=PERMALINK&amp;t=TITLE',
339
  'spriteCoordinates' => Array(
340
  '16' => array("0px","-16px"),
341
  '32' => array("0px","-32px"),
342
  '48' => array("0px","-48px"),
343
  '64' => array("0px","-64px")
344
  )
345
  ),
346
  'Twitter' => array(
347
  'favicon' => 'twitter.png',
348
  'url' => 'http://twitter.com/intent/tweet?text=TITLE%20-%20PERMALINK%20(via%20@sociablesite)',
349
  'spriteCoordinates' => Array(
350
  '16' => array("-144px","-16px"),
351
  '32' => array("-288px","-32px"),
352
  '48' => array("-432px","-48px"),
353
  '64' => array("-576px","-64px")
354
  )
355
  ),
356
  'LinkedIn' => array(
357
  'favicon' => 'linkedin.png',
358
  'url' => 'http://www.linkedin.com/shareArticle?mini=true&amp;url=PERMALINK&amp;title=TITLE&amp;source=BLOGNAME&amp;summary=EXCERPT',
359
  'spriteCoordinates' => Array(
360
  '16' => array("-144px","0px"),
361
  '32' => array("-288px","0px"),
362
  '48' => array("-432px","0px"),
363
  '64' => array("-576px","0px")
364
  )
365
 
366
  ),
367
  'Delicious' => array(
368
  'favicon' => 'delicious.png',
369
  'url' => 'http://delicious.com/post?url=PERMALINK&amp;title=TITLE&amp;notes=EXCERPT',
370
  'spriteCoordinates' => Array(
371
  '16' => array("-16px","0px"),
372
  '32' => array("-32px","0px"),
373
  '48' => array("-48px","0px"),
374
  '64' => array("-64px","0px")
375
  )
376
  ),
377
  'Digg' => array(
378
  'favicon' => 'digg.png',
379
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE&amp;bodytext=EXCERPT',
380
  'spriteCoordinates' => Array(
381
  '16' => array("-32px","0px"),
382
  '32' => array("-64px","0px"),
383
  '48' => array("-96px","0px"),
384
  '64' => array("-128px","0px")
385
  )
386
  ),
387
  'Reddit' => array(
388
  'favicon' => 'reddit.png',
389
  'url' => 'http://reddit.com/submit?url=PERMALINK&amp;title=TITLE',
390
  'spriteCoordinates' => Array(
391
  '16' => array("-64px","-16px"),
392
  '32' => array("-128px","-32px"),
393
  '48' => array("-192px","-48px"),
394
  '64' => array("-256px","-64px")
395
  )
396
  ),
397
 
398
  'StumbleUpon' => array(
399
  'favicon' => 'stumbleupon.png',
400
  'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&title=TITLE',
401
  'spriteCoordinates' => Array(
402
  '16' => array("-112px","-16px"),
403
  '32' => array("-224px","-32px"),
404
  '48' => array("-336px","-48px"),
405
  '64' => array("-448px","-64px")
406
  )
407
  ),
408
  'favicon' => 'google.png',
409
  'url' => 'http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=PERMALINK&amp;title=TITLE&amp;annotation=EXCERPT',
410
  'description' => 'Google Bookmarks',
411
  'spriteCoordinates' => Array(
412
  '16' => array("-96px","0px"),
413
  '32' => array("-192px","0px"),
414
  '48' => array("-288px","0px"),
415
  '64' => array("-384px","0px")
416
  )
417
  ),
418
  'favicon' => 'hacker_news.png',
419
  'url' => 'http://news.ycombinator.com/submitlink?u=PERMALINK&amp;t=TITLE',
420
  'spriteCoordinates' => Array(
421
  '16' => array("-128px","0px"),
422
  '32' => array("-256px","0px"),
423
  '48' => array("-384px","0px"),
424
  '64' => array("-512px","0px")
425
  )
426
  ),
427
  'favicon' => 'msn.png',
428
  'url' => 'http://reporter.es.msn.com/?fn=contribute&amp;Title=TITLE&amp;URL=PERMALINK&amp;cat_id=6&amp;tag_id=31&amp;Remark=EXCERPT',
429
  'description' => 'MSN Reporter',
430
  'spriteCoordinates' => Array(
431
  '16' => array("-176px","0px"),
432
  '32' => array("-352px","0px"),
433
  '48' => array("-528px","0px"),
434
  '64' => array("-704px","0px")
435
  )
436
  ),
437
  'favicon' => 'blinklist.png',
438
  'url' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=PERMALINK&amp;Title=TITLE',
439
  'spriteCoordinates' => Array(
440
  '16' => array("0px","0px"),
441
  '32' => array("0px","0px"),
442
  '48' => array("0px","0px"),
443
  '64' => array("0px","0px")
444
  ),
445
  'supportsIframe' => false,
446
  ),
447
  'favicon' => 'sphinn.png',
448
  'url' => 'http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=PERMALINK',
449
  'spriteCoordinates' => Array(
450
  '16' => array("-96px","-16px"),
451
  '32' => array("-192px","-32px"),
452
  '48' => array("-288px","-48px"),
453
  '64' => array("-384px","-64px")
454
  )
455
  ),
456
  'favicon' => 'posterous.png',
457
  'url' => 'http://posterous.com/share?linkto=PERMALINK&amp;title=TITLE&amp;selection=EXCERPT',
458
  'spriteCoordinates' => Array(
459
  '16' => array("-32px","-16px"),
460
  '32' => array("-64px","-32px"),
461
  '48' => array("-96px","-48px"),
462
  '64' => array("-128px","-64px")
463
  )
464
  ),
465
  'favicon' => 'tumblr.png',
466
  'url' => 'http://www.tumblr.com/share?v=3&amp;u=PERMALINK&amp;t=TITLE&amp;s=EXCERPT',
467
  'spriteCoordinates' => Array(
468
  '16' => array("-128px","-16px"),
469
  '32' => array("-256px","-32px"),
470
  '48' => array("-384px","-48px"),
471
  '64' => array("-512px","-64px")
472
  'supportsIframe' => false
473
  ),
474
  'favicon' => 'gmail.png',
475
  'spriteCoordinates' => Array(
476
  '16' => array("-80px","0px"),
477
  '32' => array("-160px","0px"),
478
  '48' => array("-240px","0px"),
479
  '64' => array("-320px","0px")
480
  ),
481
  'supportsIframe' => false
482
  ),
483
  '16' => array("-112px","0px"),
484
  '32' => array("-224px","0px"),
485
  '48' => array("-336px","0px"),
486
  '64' => array("-448px","0px")
487
  )
488
  '16' => array("-64px","0px"),
489
  '32' => array("-128px","0px"),
490
  '48' => array("-192px","0px"),
491
  '64' => array("-256px","0px")
492
  )
493
  '16' => array("0px","0px"),
494
  '32' => array("0px","0px"),
495
  '48' => array("0px","0px"),
496
  '64' => array("0px","0px")
497
  )
498
  );
499
 
500
  //Update will create if it doesn't exist.
501
  update_option( 'sociable_known_sites' , $sociable_known_sites );