(Idea) new method on installing mods with easyMod

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
manning3
Registered User
Posts: 11
Joined: Sat Oct 08, 2005 3:29 am

(Idea) new method on installing mods with easyMod

Post by manning3 »

it's hard to explain, but i will try..

easymod looks for the lines provided in the mod script and do certain operation to the specific php files. like [open]..php, [look for]...[replace with]...
but that always causes problems because of modified php files and lines. (because of the other mods), instead of that, i think it's better for the script to look for "keywords" or line numbers instead of just the section where it needs to be edited. This way, it's less time consuming and makes it compatible with many other mods at the same time.
cons: it's alot less-work for the user, but not for the programmer. :wink:

comments?
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy »

No matter which way you work it, easymod isn't going to be 100% foo-proof installing MODs.

Using 'keywords' or line numbers won't help much better - if you modify a php/tpl file and add code to it, you're adding more lines to the file.
So if you try to install a MOD using a line number as guidance, it could fail and drastically muck up your files as the code it needs may have been moved a few lines down ;)

I think they way it works just now if just fine.
Best thing to do is to use the'preview' when installing. That way if you install is going to fail on a file or 2, you can manually edit those parts, then remove the lines from the install file :P

I'm not trying to dismiss you completely here, just giving my view. Please feel free to have a look over at area51.phpbb.com - that's the base for all easymod support. Maybe evern post your question there to Nuttzy and see what he thinks 8)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Post Reply

Return to “[2.0.x] MOD Requests”