
-Nuttzy

Ptirhiik wrote:A good example is the gender mod, which was correctly written on the sql instruction, would be compliant with the EMC requirement for this particular line, and has screwed an impressive amount of boards because of this issue due to the high level of difficulty to add in-line fragment where it is supposed to be.
I don't know which release of EM are you talking about but the first real release announced to be EM compatible (and NOT EMC!) is the 1.2.5 and I've done the how-to for Niels.Ptirhiik wrote:I was mentioning only this paticular line, which was a find, an in-line find, and an in-line after, add, in the usercp_register.php. All were perfectly right, but in-line process are comfusing for users, which very often doesn't notice the comma or the quote, much more often than after/before adding.
Code: Select all
#
#-----[ FIND ]------------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET
#
#-----[ IN-LINE FIND ]----------------------------------------
#
$avatar_sql . "
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
, user_gender = '$gender'
#
#-----[ FIND ]------------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . "
VALUES
#
#-----[ IN-LINE FIND ]----------------------------------------
#
, user_style
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
, user_gender
#
#-----[ IN-LINE FIND ]----------------------------------------
#
, $user_style
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
, $gender
Sure but as IN-LINE instructions are unavoidable so I don't see the problem.Ptirhiik wrote:What I mean - and would remain true - is in-line searching is harder to understand for a user than a add : for an add, you only care of the line, for an in-line, you have to take care to each char, including the comma.
lol no!Ptirhiik wrote:For your special ask, v 1.2.4 will remain as the last tested and validated version proposed at phpbb-fr.com as long as the new version won't be extensivly checked and approved. If a problem is discovered, it won't (of course it will be reported to Niels). And that's true for every mod proposed
. For this specific one, I don't think it will require a long time to do.
Exactly.-=ET=- wrote:Users must learn how-to to MOD, there is no other way.
Sure, but what will do the user, what is the choice?Ptirhiik wrote:Acting in other way is just acting crazy, don't you think ?