OnFryOnFry

Social Dropdown Wordpress Plugin

Download Stable/Latest Version (2.0.1)

This plugin displays several social bookmarking options in a dropdown. Unlike other social bookmarking displays, this does not cause clutter.

Whats new in 2.0

Version 2.0 features a new fresh look which is much easier to use and is extremely search engine friendly. Nonetheless, if you do not like the new layout, you can always use the old one via the administration panel. The new layout should go well with most layouts.

The new version also takes into consideration of non-JavaScript users and would downgrade gracefully to allow non-JavaScript users to utilize every other feature (exception of dropdown).

Supported Social Bookmarks

  • BlinkBits

  • BlinkList

  • BlogLines

  • BlogMarks

  • Buddymarks

  • BumpZee

  • CiteULike

  • Co.mments

  • Del.icio.us

  • Digg

  • Diigo

  • Facebook

  • Fark

  • Faves

  • Feed Me Links

  • Furl

  • Gravee

  • Google Bookmarks

  • Hugg
  • Jeqq

  • Linkagogo

  • Ma.gnolia

  • Mister Wong

  • NetVouz

  • Newsvine

  • OnlyWire

  • Propeller

  • RawSugar

  • Reddit

  • Rojo

  • Simpy

  • Slashdot

  • Sphinn

  • Spurl

  • Squidoo

  • StumbleUpon

  • Taggly

  • Tagtooga

  • TailRank

  • Technorati

  • Windows Live

  • Yahoo MyWebs

In addition, you can customize the order of the bookmarks or choose to remove some of them without editing a file.

If you do not like Dropdowns, this plugin has the ability to show the bookmarks without the dropdown - similar to what other plugins display.

Requirements

  1. A working Wordpress install

  2. Your WordPress theme must contain a call to the get_header() function

  3. Your WordPress theme must contain the Wordpress loop

Most Wordpress installs and templates have these, so you need not worry about these.

To be able to use the dropdown, one must have JavaScript enabled in the browser.

Fortunately, users without JavaScript enabled will see a list of social bookmarks at where the dropdown would have been at.

Installation

  1. Upload the "social-dropdown" (actually, any directory will do) folder into the "/wp-content/plugins/" directory.

  2. Login to your Wordpress Dashboard Panel and activate the "Social Dropdown" plug-in from the plugins tab. If there are no error messages (e.g. in the options panel or else-where), the plugin is properly installed.

  3. Insert <?php Show_Dropdown(); ?> at where you want the social bookmarks to be displayed. This line of code should be placed within the Wordpress loop (i.e. the place where your posts appear).

  4. You can rearrange, add and remove bookmarks that are displayed via the Settings > Social Dropdown panel in Wordpress 2.5 and above, or in the Options > Social Dropdown panel in earlier versions of Wordpress.

Frequently Asked Questions

How do you re-arrange bookmarks?

Version 1.30 and above of this plug-in supports the customization of bookmarks via administration panel. In order to customize your bookmarks, use the drag and drop feature in Options > Social Dropdown.

There's something wrong with your plugin

If you found any problems, please reach me at ready725 at gmail.

What happens when a user with JavaScript disabled views the dropdown? A box containing a list of bookmarks will replace the Bookmark link at where the dropdown would be so that the user won't miss out of the bookmarking option entirely.

What browsers do the plugin support? The plugin validates properly under the XHTML validator, hence it should looks fine on most browsers which follows standards. The plugin has been tested on Internet Explorer 7 and Firefox.

Updating

You can check what version the plug-in is at via visiting the Options > Social Dropdown panel.

  1. Deactivate the Social Dropdown plug-in. You may want to back-up your existing plug-in files just in case if there are any errors while updating.

  2. Replace the files in the social-dropdown directory located in the Wordpress plug-ins directory.

  3. Re-activate the Social Dropdown plug-in from the administration dashboard.

If you have modified the GenerateAll() function, copy the modified area and set $overrideoptions to true to preserve your changes. $overrideoptions can be found in generatebookmarks.php.

Customizing

Within socialdropdown.php, these are some areas you can edit to influence how the dropdown appears.

In the GenerateAll() function, you can re-arrange how the items appear, add new items or remove them (after setting $overrideoptions to true). You can already do this using the Options > Social Dropdown panel.

Creating bookmarks

Each social bookmark is generated using the GenerateLink() function, and the URLs used are created using the GenerateURL() function. The parameters are as followed: GenerateLink($type), where $type is the name of the social bookmark (e.g. Digg is represented as 'digg').

In order to add a new bookmark, add the following lines of code after an item [i.e. after break;] in the GenerateURL() function. An example is shown:

case '[name of social bookmarking site]':
 
?>
 
[URL to social bookmark page]
 
<?php
 
break;

In this example, when you call GenerateURL('yahoo'), the link for this item is generated. The link is the direct link to the submitting URL, usually available as an API on the social bookmarking site. Within the URL, there is some PHP code. the_title() represents the post title, while echo get_the_permalink() represents the URL of the post.

Within generatebookmarks.php, find a variable called $all. Add '|[your bookmark name here]' to the end of the string. For example, in the case of Yahoo, if $all contains "google", then the result will be "google|yahoo".

Credits

Several images are created or taken from the corresponding social bookmarking sites and edited to suit the plug-in. The dropdown javascript is taken from http://www.dynamicdrive.com/ and modified. The drag-drop library is provided by http://script.aculo.us/.