Home > Tools > CMS > Drupal > Drupal Modules > Diggthis

Diggthis

The diggthis Drupal module adds a Digg button to your content. If the story is not yet submitted to Digg a submit link is displayed otherwise a voting button showing the number of Diggs the story received so far is displayed.

To install the module simply extract the download package in your modules directory and then enable the module in administer - modules.

For configuration options go to administer - settings - diggthis with Drupal 5 and administer - content management - diggthis with Drupal 6.

Features of Version 2

  • A block, containing a Digg button, that can be displayed on all pages, except administration pages, which is not dependant on the node type setting.
  • A page that displays the top ten stories, that received the most Diggs for the domain entered on the settings page. See for example the top ten Digg stories for Drupal.org.

Links

Hi I'm newbe for drupal. I downloaded the diggthis files to my drupal modules directory and I see it there. however when I go to Administer -> modules I don't see this module as an option. any Idea what I'm doing wrong? thanks Ori

Take a look at the Drupal documentation on how to install modules.

Thanks for this nice module. I have a question. How can we put the digg button into a "div" tag? I want this because I want to put the button like this style of css: "float:right" How can we do this? Thanks in advance

The digg button is in a div module with the CSS class diggthis_button. You can customize it in your template CSS file by defining the properties of this class. Did that answer your question?

I'm thinking of using Digg on my site instead of the current 5star module. For an example see the film listings http://www.rankster.co.uk/film

Do you know if the Digg module can arrange a list of items with those with the most Diggs at the top, down to the ones with the least (I presume so via Views).

Also does it support Anonymous users?

With the diggthis Drupal module you can't display such a list, because the number of Diggs is not stored in the Drupal database.

Anonymous users can see the Digg button but they have to be logged in to Digg to vote.

I installed this module but there is something which doesn't work as expected. If you look here: http://max.duestrade.it/CMS-review.html everything is OK but if you look here: http://max.duestrade.it/terzaPagina/max/VMGentoo.html you see there is something strange: no Digg icon, only some corrupted text. I guess it depends on the text contained in the 'story' (which I've seen is entirely copied to the "digg_bodytext" variable), there could be some characters that are not correctly interpreted. Any workaround for this? It would be nice to have the possibility to configure the module so that I can decide not to show the icon on some specified pages. Bye, Max
Sorry, It's always me. It seems there is a problem with putting an http link in the "digg_bodytext" variable. This way doesn't work digg_url = 'http://max.duestrade.it/terzaPagina/max/VMGentoo.html'; digg_title = "Installing a Gentoo Linux system in a virtual machine"; digg_bodytext = "I\'ve got a Fujitsu Siemens AMILO laptop. It\'s a \"family\" computer (i.e. a computer used by all the family) and up a virtual machine and installing my favourite Linux distribution: Gentoo (http://www.gentoo.org)"; digg_bgcolor = '#fefcf1'; digg_skin = 'standard'; While this way works (I've removed the http link to 'gentoo.org'): digg_url = 'http://max.duestrade.it/terzaPagina/max/VMGentoo.html'; digg_title = "Installing a Gentoo Linux system in a virtual machine"; digg_bodytext = "I\'ve got a Fujitsu Siemens AMILO laptop. It\'s a \"family\" computer (i.e. a computer used by all the family) and up a virtual machine and installing my favourite Linux distribution: Gentoo ()"; digg_bgcolor = '#fefcf1'; digg_skin = 'standard'; Any suggestion? (obviously I could get rid of the link, but this means I can't put any http link in pages were I want to have the digg icon) Bye, Max
Sorry to bother you again... I've just written a message in Drupal forum where I describe the workaround I've found and a suggestion to improve the diggthis module. http://drupal.org/node/203110 Bye, Max
Hi, can we display the Digg button into a block in any way? Also, is there a tag we could place wherever in a node that would turn into the Digg button on viewing? If not, are there plans to implement this functionality soon?

I am thinking about adding a CCK field for the digg this button, which would give users much more freedom in deciding when and where to display it. Due to time constraints I will not implement any new features into the digg this version for Drupal 5.x. I very much appreciate any help with this to make it available for as many users as possible.

Thanks a lot........ I was searching this from long time. I am going to install it, hope it works as I want :)
Hi, Is digg module ver 6x back-compatible with drupal basis ver 5x ?

No because the menu system changed.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <h2> <h3> <h4> <h5>

More information about formatting options