Social Dropdown

This plugin enables voting functionality on your blog.

Download

Suggestions on this plugin are welcomed at the Forums. No registration is required. Alternatively, you could just drop me an E-mail at Ready725 atgmail.com.

Another project related to this plugin is a Social Bookmarking generator which generates the Social Bookmarks (as links) using the drag and drop feature. A nice way of trying out the drag and drop feature of the plugin without actually using it.

Introduction

Social dropdown

Social bookmarks are places where you can store your bookmarks into one place. However, they are unlike normal bookmarks in that they can be shared between people (hence "social"). Social bookmarking sites give immense traffic to popular articles bookmarked, hence is seen as a valuable source of traffic for most sites.

In order to bookmark a post, you will need to click on an icon that corresponds to the bookmarking site. You can hover your mouse over the icons to show the name of the bookmarking site. Once you click on the link, you will submit the page for bookmarking. Some bookmarking sites require registration before you can submit a page.

Description

This plugin displays several social bookmarking options in a dropdown. Unlike other social bookmarking displays, this does not cause clutter and takes up little screen space.
Social Dropdown

Some of the supported social bookmarks are:

  • BlinkBits
  • BlinkList
  • BlogLines
  • BlogMarks
  • BuddyMarks
  • CiteULike
  • Co.mments
  • Del.icio.us
  • Digg
  • Diigo
  • Facebook
  • Fark
  • Feed Me Links
  • Furl
  • Google Bookmarks
  • Linkagogo
  • Ma.gnolia
  • Mister Wong
  • NetVouz
  • Newsvine
  • Onlywire
  • Propeller (replaces Netscape)
  • RawSugar
  • Reddit
  • Rojo
  • Simpy
  • SlashDot
  • Sphinn
  • Spurl
  • Squidoo
  • StumbleUpon
  • Taggly
  • Tagtooga
  • TailRank
  • Technorati
  • Yahoo MyWebs

Installation

By installing the plugin, you agree to Tevine's policies.

  1. Upload the "socialdropdown" folder into the "/wp-content/plugins/" directory. This folder contains the following files and directories:

    • readme.txt
    • dropdown.js
    • style.css
    • socialdropdown.php
    • icons/
  2. Login to your Wordpress Administration Panel

  3. Go to the plugins tab, and activate the "Social Dropdown" plug-in. If there are no error messages, the plugin is properly installed.

  4. Add the following line of code to your Wordpress template: <?php Show_Dropdown(); ?>. This should be in the Wordpress loop (i.e. where your posts are generated). The Wordpress loop is commonly found in the index.php and single.php files.

  5. Customize the bookmark through the options panel (Options » Social Dropdown).
    Social Dropdown configuration using Drag and Drop

Feel free to poke around the internals of the plug-in.

Update

Upgrading requires only the replacement of plug-in files. There is no need to edit your Wordpress template.

  1. Deactivate the Social Dropdown plugin

  2. Upload the "socialdropdown" folder into the "/wp-content/plugins/" directory. This folder contains the following files and directories:

    • readme.txt
    • dropdown.js
    • style.css
    • style_black.css
    • style_white (default).css
    • socialdropdown.php
    • icons/
  3. Activate the "Social Dropdown" plug-in. If there are no error messages, the plugin is properly updated.

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

Requirements

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

Prior to 1.3.0., you can use the GenerateAll() function to re-arrange how the items appear, add new items or remove them. In versions 1.3.0 and later, you can customize bookmarks via `Options > Social Dropdown`.

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.

After adding the PHP stuff, don't forget to put in GenerateLink('[name of social bookmark site]') in GenerateAll()

Screenshots

Bookmarks displayed in a dropdown - Screenshot
Bookmarks displayed in a dropdown

Bookmarks displayed in non-Javascript mode - Screenshot
Bookmarks displayed in non-Javascript mode

Plugin configuration page, Drag and drop to arrange bookmarks - Screenshot
Plugin configuration page, Drag and drop to arrange bookmarks

Original dropdown - Screenshot
Original dropdown

Changelog

2.0.1
[Bug Fix] - Changed several links, Even More link now works

2.0.0
[Feature] - New dropdown style added
[Changed] - Plugin management dashboard changed to fit the design of the dashboard in Wordpress 2.5
[Changed] - New social bookmark service available via clicking on Even More link on the dropdown

1.5.0
[Feature] - Support for BumpZee, FAves, Hugg, Jeqq, Windows Live social bookmarking site
[Changed] - Updates to some social bookmark icons

1.4.9
[Feature] - Support for Mister Wong social bookmarking site
[Feature] - Added uninstallation file
[Changed] - Several minor changes

1.4.8
[Feature] - Support for Facebook social site
[Bug Fix] - Fixes to dropdown styles (credit to Eric Fehrenbacher)

1.4.7
[Bug Fix] - Linux server support, issue amended for versions 1.4.0 to 1.4.6.

1.4.6
[Bug Fix] - Server tests
[Bug Fix] - Plugin will not lock down if integrity check fails

1.4.5
[Feature] - Several options added in plugin management dashboard
[Bug Fix] - Several fixes to the plugin

1.4.0
[Feature] - Support for several social bookmarks added
[Changed] - Dropdown layout
[Bug Fix] - Plugin can be installed in any directory

1.3.3
[Feature] - Support for RawSugar social bookmarking site

1.3.2
[Bug Fix] - Fixed file paths

1.3.1
[Feature] - Plugin integrity check

1.3.0
[Feature] - Ability to customize social bookmarks via drag and drop

1.2.2
[Feature] - Ability to hide link to plugin homepage
[Changed] - Link Optimization

1.2.1
[Feature] - Black colored theme added
[Changed] - Plugin homepage link points to this page instead of Tevine.com
[Changed] - Link optimization

1.2.0
[Changed] - Update notification added for plugin, viewed via Wordpress dashboard
[Changed] - Organised layout for Non-Javascript users
[Changed] - Link optimization

1.1.0
[Feature] - Non-Javascript support
[Bug Fix] - Fixed layout problems
[Bug Fix] - Plugin now passes W3 validation test

1.0.0
[Feature] - Initial

Download