I am in the process of trying this mod and I have a question about functions_profile_fields.php.
The first edit I did fine. But the second edit asks you to find the following and add some code after it ...
Code: Select all
$sql_where .= ' AND f.field_hide = 0';
}
Now here's my problem. There are 3 edits in this file. The second and third look exactly the same. There are 2 places in the file where the above coded exists but one is before the first edit and the other is after.
Therefore my question is:
Should I add the code after both occurances of this line of code?
This particular line of code is listed twice so should both have the additional code placed after them? Or was this a typo and only the after the first edit is the one that should be changed?
The reason I ask is because in phpBB 2 mods you were supposed to go down the page doing edits. So if a particular line of code existed twice in a file and you were only supposed to change one you would change the one that came next. You were never supposed to go back to the top opf the page again.
This mod makes you do one edit first and then go back up to the top of the page and do another edit and then back down past the first edit you did to make another edit. If that is the case then shouldn't the second edit be listed first, then the second edit, and then finally the third edit which is exactly like the second but occurs before the first edit ?