Digg Display & Digg Count
This modification is in the archives.
Get your users to Digg more threads with this simple modification. It's more visible and will promote more Diggs.
What this does differently from the stock Bookmarks is put the Digg button on top of the post in a nice little box and displays how many diggs the post has gotten. This uses javascript provided by Digg. The background color can also be defined. Update: Fixed the javascript so it will now show the thread title if it has special characters in it. In SHOWTHREAD find: Code:
<td class="vbmenu_control" id="threadtools" nowrap="nowrap"> Code:
<!-- Digg --> <td class="vbmenu_control" id="digg" nowrap="nowrap"> <script type="text/javascript"> digg_url = 'SITE URL/showthread.php?t=$thread[threadid]'; digg_title = "$threadinfo[title]"; digg_skin = 'compact'; digg_window = 'new'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> </td> <!-- / Digg --> Download No files for download. Screenshots |