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

Pages: 1 2 3 4 5

Due to several work related issues it has taken longer than expected for me to publish this second part in our “Build A Digg Clone With Drigg For Drupal” tutorial, but the wait is over as this is the second part you are now reading :). Here in Part two we are going to go through the process of installing Drupal and the Drigg related modules along with all the configuration setting you will need to set for the system to operate as it should. We always think Pictures can be better than words for new users to any system so this tutorial will have screen shots of each step as we go, so lets begin.

First of all you should now have all the modules we directed you to in part one of this tutorial set here “Build A Digg Clone With Drigg For Drupal – Part 1 What You Will Need“.

Installing The Drupal Core

We are going to take it that anyone performing this tutorial will already have elements of their site like a domain name and ftp configured.

The first task is to create a mysql database titled whatever you like, we will call ours driggtutorial for example purposes throughout this article. You can create a new database in your web hosting control panel usually with phpMyadmin or a utility similar.

Login to you FTP and upload the contents of the Drupal 5 package to your sever, when the drupal files have all been uploaded it’s now time to visit your domain name to access the drupal installer.

Fill in the fields in the Drupal installer page.

Database Name = the name if the myswl database you created.

Database Username = The username used to access your created database.

Database Password = The password for your created database.

Now click Advanced Options, the only part you may need to change here depending on your hosting enviroment is Database Host.

Click Save Configuration and Drupal should now be installed.

The next screen you will see confirms this and has a link to take you to your freshly installed Drupal site. Goto your site straight away as you are required to create the first user which will have God status over the whole system, it’s very important that you do this task straight after install otherwise a lucky visitor just might beat you to it and you would have to reinstall again.

Now you have created you account login to your drupal site and we can begin some basic configuration and eventually install the Drigg modules which is the real reason your reading this article in the first place πŸ™‚

I want to begin with setting some clean urls as it’s easier then to follow my example urls that will be included throughout the tutorial, so lets do that first. Visit the url below in your drupal panel then “Run the clean URL test” and if successful set to enabled and save configuration.

hxxp://yourdomain/?q=admin/settings/clean-urls

Now visit the URL below.

hxxp://yourdomain/admin/logs/status

This will tell you two things the first of which is that cron has not been run so cron manually now, secondly it says that the directory /files is missing. Goto your FTP and create the directory /files in your root drupal install folder you will need also to chmod the folder permissions to 777.

Next and basically last to setup drupal is your site information Name, Description, email etc goto the url below and fill in those details.

hxxp://yourdomain/admin/settings/site-information

Now we are ready to start installing Drigg and it’s related modules so goto page 2 πŸ™‚

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.