Setting Up A News-Voting Website With Pligg
Setting Up A News-Voting Website With PliggVersion 1.0 This article shows how to set up your own news-voting website with Pligg. Pligg is a content-management system published under the Affero General Public License, and it is written in PHP and uses a MySQL database for storing its data. With a little work you can create your own community and let users vote news to the front page. I do not issue any guarantee that this will work for you!
1 Preliminary NoteTo install Pligg, you need some web space with FTP access, PHP, and a MySQL database. Ask your ISP to set it up for you, or use your hosting control panel to set it up yourself. If it is your own server, you can also use the command line to set up the web space, the FTP account, and the MySQL database. Pligg works with both PHP 4 and PHP 5, but PHP 5 is preferred because some optional modules work only with PHP 5. In this tutorial I will use the URL http://pligg.example.com for my web space, and my FTP user is web2_falko with the password howtoforge. My MySQL database is web2_db1 with the MySQL username web2_u1 and the password howtoforge.
2 Download PliggGo to http://sourceforge.net/projects/pligg and download Pligg to your desktop. At the time of this writing the current version of Pligg is Pligg beta 9. Afterwards, unzip Pligg. You should then have a directory called Pligg_Beta_9.0 with the Pligg sources in it.
3 Upload Pligg To Your Web Space And Change PermissionsNext open your favourite FTP client and connect to your web space:
Go to the document root of your web space (in this case /web). If there is an index file in it (like index.html), delete it:
Then upload the contents of the Pligg_Beta_9.0 directory (not the directory itself) to your document root. This can take a few minutes:
After the upload has finished, it should look like this:
Now we rename /settings.php.default to /settings.php like this:
Do the same for /libs/dbconnect.php.default. Next we must change the permissions of the /templates folder to 777 (chmod 777) (777 = Read, Write, Execute for Owner, Group, Other) like this:
Do the same for /templates_c, /backup, /avatars/user_uploaded, settings.php, /libs/dbconnect.php, /libs/options.php, /libs/lang.conf, /rss/templates, and /rss/templates_c. Then change the permissions of /config.php to 655:
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial













print: 

Recent comments
19 hours 23 min ago
22 hours 14 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 18 hours ago