Hi, I am building a piece of php/mysql driven software. I love wordpress and how they have the automated update and plugin support. Does anyone have any info how I can create a plugin support for my software (not the wordpress ones of course) and how I can create an update functionality would be great. Thanks for any help or advice. Stephan
well i am not sure how word press works but i think the code changes are recorded and then as per the files are edited by the system
believe you want a plugin system, right? Try the code at this link, there is also a good discussion on this topic at sitepoint ("plugin system sitepoint" at google should get you the link) http://tim.igoe.me.uk/blog/view/123/PHP5-Plugin-System/
for the update, you can: store the version number of your software in the script, and somewhere on your server store a text file with latest release. once every week, send a http request to this text file and see if latest release is the one installed, if not either prompt, or download new files. for the plugin, there are many different ways. WP uses "hooks" (checks the plugin directory at different stages to see if any plugin has a "function" for this stage, and then executes it) you can develop such a functionality in your software, but there are different ways to do it. Thanks
Thanks for all the help. I will look into all of those ideas and hints and if I have any more questions I will ask again.