Build A Digg Clone With Drigg For Drupal – Part 2 Installing And Configuring Drupal And Drigg

Pages: 1 2 3 4 5

Configuring Drupal Modules

The first step is to create a few categories so visit the url below on your drupal site.

http://yoursite.com/admin/content/taxonomy

Click Add vocabulary and create a Vocabulary titled “Category”, select types Scoop, Hierarchy if you want subcategories select Multiple otherwise select Disabled, tick the Required box and submit.

Next we are going to add the actual site categories to the Category Vocabulary we created, goto Add Terms on the Category Vocabulary. Add a couple of categories where it says Term Names, we added two to get started Design and Ajax, don’t worry too much about this part for the moment as you can add more categories later on as your site develops.

Now add another vocabulary and title this one “Tags”, select types Scoop, Hierarchy select Disabled, tick Free Tagging and the Required box then submit.

Okay thats you setup a few categories now we can configure drigg to use those categories.

Goto the URL below.

http://yoursite.com/admin/settings/drigg

At the top of this page is the button below, if you add a new category or change any of your category names you will need to come back to the drigg module each time and recalculate the category alias.

For the moment we are just going to configure some simple options that drigg has to get your site up and running. The first page you see is Drigg’s General Options look for “Settings for shortened URLs” and set both separators to – instead of _, this is an important step for correct SEO. Now goto the bottom of this page and click Save Configuration.

Next goto Drigg UI, and look for this below and paste the code supplied below into the empty text boxes.

Feed string for feeds pointing to all articles:

<img src="/sites/all/themes/drigg_theme/img/block_feedicon.gif" title="RSS Feed - All stories" />

Feed string for feeds pointing to promoted articles:

&nbsp;<img src="/sites/all/themes/drigg_theme/img/block_feedicon.gif" title="RSS Feed - Only published stories" />

Now click Save Configuration.

Goto the Drigg Users Tab and look for and paste the code supplied below into the empty text boxes..

String to show next to the username if the user voted the story UP:

<img src="/sites/all/themes/drigg_theme/img/whovoted_up.gif" alt="Up" />

String to show next to the username if the user voted the story DOWN:

<img src="/sites/all/themes/drigg_theme/img/whovoted_down.gif" alt="Down" />

If you would like Videos to be embeded from the likes of YouTube when submitted goto the “Embedded Objects” tab and select what services you would like to embed when a URL is submitted.

To set the number of votes required for a submitted story to be promoted to the main page goto the “Promotion” Tab and enter the amount of votes you would like a story to reach before being promoted.

Okay thats the actual Drigg module setup next we have to configure the other modules we installed and change the theme to Driggs Default, goto page 4 for this part of the tutorial.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Pages: 1 2 3 4 5

Article Details

#

Author: on October 22nd, 2008

Category: Drigg, Planet Drupal

Tags: , , , , ,

  1. Ronit says:

    thnx a lot man !!!
    really helped me a lot !!

    cheers again

  2. Gaurav Paul says:

    Hi Lincoln,

    With this tutorial i got through in installation. but some problem persist.

    I have a WordPress installation in root (public_html) and new drigg installation in subdirectory “beta” (public_html/beta). i have also redirectet beta.mysite.com to mysite.com/beta. Now when i browse to mysite.com/beta front page works good. Then if i use any link within the drupal installation it looks like (mysite.com/link) instead of (mysite.com/beta/link)and using that link takes me to the WordPress site not to drupal installation. I tried with .htaccess and setings.php but no success :( .

    $base_url = mysite.com OR beta.mysite.com
    RewriteBase /beta OR /

    (I tried every possible combination of two above)

    you can check it out http://www.opencamp.in (WP site)

    and http://www.opencamp.in/beta or http://www.beta.opencamp.in (drupal+drigg with drupala theme site)

    Help!

  3. Lincoln says:

    Hi Gaurav,

    You cannot simply redirect a subdomain to the root of your Drupal install /beta. You must install drupal on the subdomain you created with no redirect. http://www.beta.opencamp.in/ install drupal under that domain and it will work.

    ;)

  4. Gaurav Paul says:

    :)

    Any input? how to setup mailing function for drigg (for forget your password thingy).

    i guess it has to do with php.ini

  5. Gaurav Paul says:

    Thanks bud for your awesome article..

    for sending mail from drupal try “SMTP” module :)

  6. eldred says:

    Thanks for the amazingly easy to understand and impliment tutorial. Was just wondering if you still had plans to release an article about the section of the drigg you mentioned “we know this isn’t the complete low down on Drigg and thats why we have a few more articles planned covering some of the more advanced features and functions that drigg can perform.”

    Also was wondering if there will be a tutorial on implimenting either a dynamic display block or frontpage slideshow block that could show the latest of highest karma scoopes?

  7. eldred says:

    Another question i forgot is about Embedding videos.I clicked on all the video types options but when i go to submit scoop, there is no section to embed video.How can i solve this?

  8. jewel says:

    I’m really missing u man! Where are you now? Why r u absent in such a long time?
    This is the greatest article that has written in this topic.

Leave a Reply

You must be logged in to post a comment.