chap Posted December 3, 2002 Posted December 3, 2002 Phpbb have this really nifty mod/feature that automatically install mods that comply with "mod template" (http://phpbb.com/phpBB/viewtopic.php?t=34678). It's still in beta, but It's worked flawlessly...at least for me. This would simple be amazing for OSC, being able to install and uninstall mods instantly with a click. Not to mention easy upgrading to the latest development release. I know that with OSC constantly being worked on, it'll be pretty hard to make a script that can keep up with the constantly changing code. Phpbb's Easymod script claims to be compatible with previous release and future releases of phpbb. If it's not possible, may I propose that the developers of OSC adopt a "standard" or template for making mods. I don't know, I'm high on caffine...just a passing thought. :D Chap Eagerly awaiting 2.2
mattice Posted December 4, 2002 Posted December 4, 2002 Im not a dev but it would be silly to create something like that NOW since the final version is not yet released and therefore the codebase might change. I am sure once 2.2 (or would that be 2.3?) will be released someone will look into this. As for your 'standard' or template for a mod... I am curious how you would do that? Would a contribution to count how many chickens you've sold in the year 2003 in the Admin and a contrib for frequent shopper points fit in the same framework? There is however a STANDARD included in the release for php coding. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
chap Posted December 5, 2002 Author Posted December 5, 2002 Ofcourse it would be silly, it's just a suggestion. Especially at a stage where TEP's code is constantly change. A standard like this http://phpbb.com/phpBB/viewtopic.php?t=11548. It's so simple it's brillant. This way more inexperienced users can know what to expect from other mods after looking at a few. EX: With a readme that has a header like this: ############################################################## ## MOD Title: name_goes_here ## Version of MOD: x.x.x ## MOD Author: username, url (opt), email (opt) ## MOD Description: some_description_goes_here ## ## Installation Level: (easy/moderate/advanced) ## Installation Time: x Minutes ## Files To Edit: file_1, ## file_2, ## file_3, ## etc ## Included Files: (n/a, or list of included/required files that comes with the mod) ##Author's note: some note ############################################################## And again, it's just a suggestion, not a decree or a demand. Chap Eagerly awaiting 2.2
Guest Posted April 3, 2004 Posted April 3, 2004 So has anything come of this? I'm also not sure why code changes to osCommerce would affect the ability of EasyMod to do what it does. Basically it just performs search/add/replace commands on the source code. So if it's still not feasable, could someone let me know why?
♥ecartz Posted April 4, 2004 Posted April 4, 2004 I'm also not sure why code changes to osCommerce would affect the ability of EasyMod to do what it does. Basically it just performs search/add/replace commands on the source code.If someone changes the code so that either it doesn't match that for which you are searching (for example, if it is necessary to rename all the functions or move the functions into classes for modularity) or if other code changes the effect (for example, if the default changes), then it won't work. There is more discussion about this (integrating multiple code changes) here, among other places. Hth, Matt Always back up before making changes.
Guest Posted April 4, 2004 Posted April 4, 2004 So it won't work then. It can tell you exactly why though, and make even failures easier to install manually. The point is, when it does work, it'll be a hell of a lot nicer to use. I'll keep the rest of the discussion (including what seems like an appropriate wakeup call) in that other thread, thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.