Ptirhiik wrote:My point can be summarize to this : qualifications of file and/or directories is absolutly not a need : actually, if you assume that all what that have to be installed should stand in a mod description, you doesn't need to have a rather tricky analyse of filename or dirname.
OK, now it's clearer.
So yes I agree. This is a possible third way nearby the spirit of what I previously called the 3rd level of possible way to manage copy instructions: each possible copy instruction must be fully described, even if this imposes many copy instructions.
But now what about language, specific style and optional feature instructions files?
EM will need to know them, so do you imagine a convention to let EM detect them or do imagine new instructions in MOD how-to to point out these files as you want any action write in an instruction?
Do you prefer a /translation/ dir + instruction files named "lang_french.txt" or new lines in MOD how-to like:
Code: Select all
#
#-----[ TRANSLATIONS ]------------------------------------------------
#
where_I_want/language_instructions_file_for_french.txt
where_I_want/language_instructions_file_for_german.txt
#
#-----[ STYLES ]------------------------------------------------
#
where_I_want/style_instructions_file_for_subTrail.txt
where_I_want/style_instructions_file_for_subBlack.txt
#
#-----[ OPTIONAL FEATURES ]------------------------------------------------
#
where_I_want/blue_optional_feature_instructions_file.txt
where_I_want/red_optional_feature_instructions_file.txt
----------
So ok, except this last question, as I previously said this solution technically works.
But I'll have only one regret with this (and only a regret, not an opposition).
Ok it will authorize developers to do what they want (and that's the positive point in some case I fully agree), but the fact is that with they WILL have to choose a solution to name and store their files which once installed will have the same name.
So therefore it will encourage once again the mess in MODs

Everyone know that it's already the mess with MOD templates (essentially encouraged by phpBBhacks), it's the mess with MOD presentation (file names, dir names & dir structure), and we all loose our time every time we want to install a MOD just to try to understand how the author has structured his archive and his how-to. We always need to carefully read and apply some sometimes strange, complex or unusual instructions.
You've said that IN-LINE instructions was more complex to apply (which is right but we do not have the choice), but with this non standardization encouragement every one will ANYWAY need to choose a structure as it's impossible to put all specific language files, all specific style image files, and so on... in the MOD root directory (they have the same name).
So some will choose to modify names, other to create an exotic structure, other a phpbb structure, and every one will again loose time to VERY carefully read the multiple copy instruction lines to try not to miss details.
And I say that because you are very attached to manual installation, and to keep it as easy as possible.
So OK it works, but what a futur mess with again possible exotic MOD templates, exotic file names, exotic dirs and exotic dir structure!
Support will be more complex too
Then what I regret with this proposal as is (it's important), is that we can loose with EM a possibility to try to homogenize "a bit" (not fully) MODs presentation.
I agree that it can be a good thing for developers to have the choice between the phpBB root approach and the optional feature one for the rare MODs which have optional features, but I think it's not necessarily a good thing to authorize everything, and then a future mess.
Moreover, as EM will be able to install specific language and style files instructions, authors will more and more add these files in their MODs archive (for example, Niels has started to include all the last translations he has in its archives because of EM, and I do the same).
So this will encourage more and more this future mess.
So perhaps we should think to use the freedom you want but with a minimum of organization imposed by EM.
For example, as with Nuttzy's suggestion of a translation (or languages) dir, I think, in my opinion, that he should impose a minimal structure in the MOD root dir as this one:
Code: Select all
.MOD_dir/
.|__MOD_how-to.txt
.|__optional_languages/
.|..|__lang_xxxx.txt
.|..|__...
.|__optional_styles/
.|..|__style_xxxx.txt
.|..|__...
.|__optional_features/
.|..|__feature_xxxx.txt
.|..|__...
.|__phpbb_root/ (optional)
....|__...
In this case:
- EM should read the MOD how-to only in the MOD root dir
- EM should read optional language instruction files only in the optional_languages dir and in files named lang_xxxx.txt
- EM should read optional style instruction files only in the optional_styles dir and in files named style_xxxx.txt
- EM should read optional feature instruction files only in the optional_features dir and in files named feature_xxxx.txt
- but authors in this context may put their other files where they want and named as they want! They just need to add an instruction for each one (as you want Ptirhiik)
- and we just suggest, not impose (but it's sometimes important to suggest) a phpbb_root dir with a phpbb root structure in, to put all the files which need to be installed by the MOD and which belong or not to an optional language/style/feature (the author can choose to put then all together in the phpbb_root dir or in optional sub-dir with the specific instruction files.
Like that we may impose a minimal structure to avoid a total mess, but keeping in fact a total freedom for authors to put their files where they want (in a phpbb_root dir, in an optional sub-dir, in sub-dirs by optional features in the optional_features sub-dir, or in any other dir), and with the name they want.
Now and finally for this point, if EM does apply what you image and as Nuttzy already said that he won't implement the optional choice in MOD installation feature until a release around the 1.2.0, EM will just need to be able to skip any instruction that can not be executed (style not installed or language not installed), as all possible instructions will be written in your scheme.
But it's interesting
Ptirhiik wrote:subSilver and lang_english has to remain in the main mod description, but shouldn't be blocking if missing on the install. As the vanilia product includes those two parts, and as it will be enough on most installation, there is no need to rip them off the main mod

.
OK so...
- you want to have always style instructions of a default one and language instructions of a default one in MODs,
- this main style and main language should be subSilver and English,
- but if they're not installed on the board, this should not failed the installation... if other style and language can be installed instead I suppose.
Right?
On that, I really think that Nuttzy need to be more precise.
- Will subSliver be the only style authorized for an EMC MOD as the default style in the MOD (not in specific style instruction files)?
- Will English be the only language authorized for an EMC MOD as the default language in the MOD (not in specific language instruction files)?
New! He has just answered this question and it's no. The main language may be another one than English...
http://area51.phpbb.com/phpBB22/viewtop ... 1269#81269
- Will the MOD default style and language need to be installed if the installed style and languages can be modded by specific files provide with the MOD?
Nuttzy99 wrote:Required that it be used in MODs. Not required that it be installed on the admin's machine.
So, what does it mean?
Required by the phpBB group for MODs, but not require by EM in fact (as for English)?
My personal opinion is (even if no one cares about it lol

) that:
- Yes subSilver should be the only default style of a MOD as it's a respect for the phpBB group and their work. Every MOD should be able to be installed on a vanilla release.
- But no, English should not necessarily be the default language as phpBB is not an English software and even the phpBB group is not an American or British group. Moreover, doing this will cause that many non fluent coders will not be able to create EMC MODs

- And on the last point, I have no opinion.
Nuttzy99 wrote:I don't understand the question.
I think my question is quite stupid but it was just to be sure...
In the main MOD how-to, you nearly always have instructions for style files (files in templates/xxxxxx/...). They need to be written for a style (subSilver as the phpBB group asks, or another one if you authorize it with EM).
So I wanted to know if instructions in specific style instruction files will be proceed after or instead of the one in the main MOD how-to (instead or after of each instruction for a file in templates/xxxxxxx/...)
Nuttzy99 wrote:Same answer I gave on the lang discussion
OK, but I think it will possibly be solved by the discussion here because according to the choice you will make (stay on your first proposal, use more the phpBB group one or my first one, or Ptirhiik's one and what I've just said above) this issue may be solved.
Nuttzy99 wrote:I think I've said before that I want to add this feature, but maybe not in 1.0
No at all.
You answered me on the possibility to have a choice for optional feature and said not before maybe the 1.2.0.
But this suggestion is absolutely new (I've never read it anywhere else) and so you didn't say any thing about it (or I missed it)
P.S.: sorry by advance for all the error I'm sure I've made in my English
