...

View Full Version : I want to implement plugins...please help



kairog
12-31-2007, 06: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?

Inigoesdr
01-01-2008, 05: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum