CMS v1.1.0
Description
- CMS is a generic term that stands for Content Management System. Our CMS is a series of PHP scripts that use MySQL to create a collection of commonly needed scripts used for dynamic pages.
- Our CMS uses plugins to allow you to only install the parts you want. You can set unique permissions for each user for each plugin. For instance, you can limit a user's "news" permission so they have no access, can only add news, can add but only and edit news they added, or full access.
Download
cms(1.1.0).zip (newest framework + all official plugins)
Terms of Use
Script is released as public domain. For full Terms of Use visit my Use Policy
What's new
- January 01, 2008 - Project has been abandon and will no longer be updated.
- v1.1.0 - news now has a "begins" where you can schedule news to appear in the future. also news now toggles between auto-formatting 'plain text' and 'allow html' where you fill in your own HTML for images etc. also redid the menu and cleaned up the code in all the parts
- v1.02 - Added a "QuickView Last 50 Entries" option to the news for easily finding and editing old entries
- v1.01 - Updated the way users login so now there is now a "remember me" option when you login. It stores the username/password in a cookie using a MD5 hash so you won't need to login for the next 3 weeks if that option is checked.
- v1.00 - Initial release
Instructions
Open config.php and set MySQL connection variables
- Scroll down about 20 lines and set the $server var to the ip/name of your MySQL server. If the server is on the same machine can usually leave at "localhost"
- Scroll down about 2 lines and set the MySQL server username and password (the $user and $pass vars)
- The $database var is the name of the database where the script stores all the tables it creates (generally 3-6 tables depending on plugins). This database needs to be created (usually using your site's Control Panel) BEFORE the script is run.
- (optional) If you want to change the name of the tables that are created for the plugins and the users, the $pluginsTable and $usersTable can be changed.
Setup and initialize the tables and administrator
- Open and run setupCMS.php in your browser
- The Admin you create will be your login to create more users, set permissions, etc
- If you don't get any errors after submitting, the tables and Admin were created and now you need to delete the setupCMS.php file. This is a safeguard to prevent it from being run again.
- Open admn.php in your browser and login using your Admin info. You can create, edit, and delete users there.
Adding plugins
- By default, no plugins are created during setup. Only the CMS structure. Each plugin can be installed separately
- Open and run the addPlugin file in your browser for every plugin you want to use. This creates the necessary tables and settings.
- addPlugin_news.php allows you to create and edit news that can expire on a certain date.
- addPlugin_rlog.php allows you to keep track of visitors using counters and referers. You can change counter values and even run custom SQL statements to pull values
- When you install a plugin, the default permission set for all users and admins is "no access" so if you want to give users access to the plugin, you need to go to the admn.php and edit the user permissions