View Full Version : I want to implement plugins...please help
12-31-2007, 05:27 PM
:) Hi, everyone! I want to implement plugins for my simple cms script and I'm inclined to think naturally of saving plugins into a database and then using "include($programURL)" statement when needed. I wonder if there's a better and simpler way to do it WITHOUT actually touching the core code. Any idea?
01-01-2008, 04:57 AM
Have a table for plugins in your database and store the filename along with a field for enabled/disabled, and add code to your script that will attempt to include the enabled plugins in the database and fail gracefully if possible.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.