/**********************************************************
* ______ ______ ___ _______ ___ ___ _______ *
* | _ \ | _ \ | | | _ || Y || _ | *
* |. | \|. | \|. | |. 1___||. || 1___| *
* |. | |. | |. |___ |. |___ |. \_/ ||____ | *
* |: 1 |: 1 |: 1 ||: 1 ||: | ||: 1 | *
* |::.. . /|::.. . /|::.. . ||::.. . ||::.|:. ||::.. . | *
* `------' `------' `-------'`-------'`--- ---'`-------' *
* _______ _____ *
* .--.--. | | | _ | *
* | | | |___| | __ |.| | *
* \___/ / ___/ |__| `-|. | *
* |: 1 \ |: | *
* |::.. . | |::.| *
* `-------' `---' *
* *
* Script: DDLCMS v2.1 *
* Author: Little Dragon *
* Email: ddlcms@ddlcms.com *
* Website: http://www.ddlcms.com *
* *
* Please direct bug reports, suggestions or feedback *
* to the DDLCMS forums: *
* *
* http://www.ddlcms.com/forums *
* *
* DDLCMS is a commercial grade content management *
* system for DDL site owners. It is provided free *
* of charge, provided: *
* *
* 1. You keep the linkback to http://www.ddlcms.com *
* in the footer. *
* *
* 2. You keep the sponsored links to Sharingzone.net *
* on your site. *
* *
* By using this script, you agree that you will not *
* modify, remove, or replace any encoded parts of *
* this script. All encoded parts MUST remain intact *
* for your site to remain in good standing. *
* *
**********************************************************/
Manual Installation for DDLCMS:
NOTE: Use these instructions only if your hosting does NOT have the PHP zip module enabled or installed.
(If you have the PHP Zip module installed, please follow Instructions.txt instead).
- Be sure your PHP configuration has short_open_tag set to "On".
- Be sure your PHP configuration has allow_url_fopen set to "On".
- Recommended but not required: your PHP configuration has PHP-pspell module installed. This will enable the "Did You Mean" Google-style spell check on user searches.
- Be sure to create a MySQL Database and User before proceeding.
- You must manually modify the dbInit.sql file (outside the "files" folder), about half-way down the page:
- Replace ##SITEURL## with the URL to your website eg. http://www.yourdomain.com
- Replace ##SITENAME## with your site's name, keep it simple, you can change it later! eg. DDL Site
- Replace ##ADMINEMAIL## with your administrator email address
- You must manually modify the config.php file (outside the "files" folder):
- Replace ##MYSQLHOST## with your MySQLhost (usually, it's "localhost")
- Replace ##MYSQLUSER## with your MySQL username
- Replace ##MYSQLPASSWD## with your MySQL password
- Replace ##MYSQLDB## with your MySQL database name
- You must manually modify the following files in the "files" folder:
- .htaccess
- Replace ##SITEURL## (2 locations!) with the URL to your webiste eg. http://www.yourdomain.com (NO trailing slash!)
- topsites/data/variables
- Replace ##DOCROOT## with the relative path to your document root eg. /home/username/public_html
- Replace ##SITEURL## with the URL to your website eg. http://www.yourdomain.com
- Replace ##ADMINEMAIL## with your administrator email address
- Replace ##MYSQLHOST## with your MySQLhost (usually, it's "localhost")
- Replace ##MYSQLUSER## with your MySQL username
- Replace ##MYSQLPASSWD## with your MySQL password
- Replace ##MYSQLDB## with your MySQL database name
- Replace all occurrances of ##BASEDIR## with the LENGTH of the string
to the relative path to your base directory, + 1
(one level above public_html).
NOTE: This is a NUMBER people! Not the actual path!
Example:
If the relative path to your document root is (notice the preceding forward slash!):
/home/username/public_html
Then your base directory would be (again, notice the preceding forward slash!):
/home/username
So your NUMBER is the length of the string "/home/username" + 1 = 15
In the above example, your ##BASEDIR## number would be 15.
Replace all occurrances of ##BASEDIR## with YOUR NUMBER in the following files:
- admin/addnews.php
- admin/autosubmitter.php
- admin/ddl.php
- admin/deletenews.php
- admin/editnews.php
- admin/index.php
- admin/instantLEadmin.php
- admin/news.php
- admin/submit.php
- admin/submitfiles.php
- admin/submitnews.php
- admin/tsadmin/admin.php
- admin/tsadmin/iframe.php
- admin/tsadmin/newwin.php
- autosubmitter/index.php
- autosubmitter/urls.php
- topsites/accounts.php
- topsites/in.php
- topsites/templates/admin_bannediplist.tpl
- instantle/addlink.php
- instantle/form.php
- news/page_katz.php
- news/page_phaze.php
- news/page.php
- aboutus.php
- blacklist.php
- bookmark.php
- contact.php
- dmca.php
- faq.php
- frame.php
- frame2.php
- fwd.php
- go.php
- index.php
- linktous.php
- main.php
- mirror.php
- seoreport.php
- submit.php
- tools.php
- top.php
- tos.php
- whitelist.php
- xxxindex.php
- Create a folder called "backups" one level ABOVE your document root (eg. above public_html).
- Upload all files and subfolders in the "files" folder to your webhost's document root folder (eg. public_html).
- You must change permissions (chmod) to the following directories and files:
- Chmod the following folders to 777:
- edit
- topsites
- topsites/cache
- topsites/data
- topsites/data/pages
- topsites/data/reject
- topsites/templates
- Chmod the following files to 666:
- custom_dictionary.txt
- rss.xml
- edit/*.* (except .htaccess)
- topsites/data/*.* (except .htaccess)
- topsites/templates/*.* (except .htaccess)
- topsites/cache/*.*
- Import the dbInit.sql file to your database, using a program like Phpmyadmin. This will create all the tables and pre-populate certain fields.
- Now when you're done all of the above, check your site in your browser. If all went well, your site should load with default values.
- Login to your Administration Panel at http://www.yourdomain.com/admin/
Login details:
- Username: admin123admin
- Password: admin123admin
After logging in, click on "Change Password" on the lower left pane and change your username and password immediately!!!
- Be sure to edit button.gif in the images folder -- this is your affiliate button!
- Be sure to read "Some Security Precautions" in Instructions.txt file!