Adding Google And Slashdot To Sociable

Posted on October 2006 at about 7:36 PM by hwa

To add Google and Slashdot into your Sociable WordPress Plugin, please do the following:

Slashdot:
To add Slashdot into your Sociable, copy and paste to following code into the “$sociable_builtin_known_sites” array in “sociable.php”:

  1. 'Slashdot' => Array(
  2.   'favicon' => 'slashdot.png',
  3.   'url' => 'http://www.slashdot.org/bookmark.pl?
  4.    url=PERMALINK&title=TITLE',
  5. ),

Next copy and paste the following into “$sociable_files” array:

  1. 'images/slashdot.png',

Then save the Slashdot icon below and upload it into “sociable/images/” in your WordPress plugin folder.

Slashdot

After that go to “Admin->Options->Sociable” and click “Restore Built-in Defaults” for the icon to appear in the option page.

Google:
To add Google, copy and paste the following code into the “$sociable_builtin_known_sites” array in “sociable.php”:

  1. 'Google' => Array(
  2.   'favicon' => 'google.png',
  3.   'url' => 'http://www.google.com/ig/add?
  4.    feedurl=PERMALINK&blocked=TITLE',
  5. ),

Next copy and paste the following into the “$sociable_files” array:

  1. 'images/google.png',

Save the following Google icon and upload to “sociable/images/” in your WordPress plugin folder.

Google

Lastly go to “Admin->Options->Sociable” and click “Restore Built-in Defaults” for the icon to appear in the option page.

Leave a Reply

You must be logged in to post a comment.