Regarding Registered Users still restricted bug 7.0
Date: Wednesday, December 17 @ 11:48:06 CET
Topic: PHP-Nuke


I've always felt that when doing a 'fix', one should change as little as possible of someone elses code... (because continuous changes mean at some point it could possibly no longer resemble the original code, and if the author updates his code with the fix, s/he would probably only change the part that needs fixing- which means if you changed more than the author, you would then have a derivitive that does not match the authors code, and any newer releases could eventually screw you up).

What I'm getting at, is that there is no need to change this code as much as has been recently stated in a post by FB. The ONLY change that is actually needed is the addition of the equal sign, to wit:

You need to edit mainfile.php and go to the line 289 where you can find the following text:

if ($points > 0 AND $points >= $row[points] || $mod_group == 0) {

Just change it to:

if ($points >= 0 AND $points >= $row[points] || $mod_group == 0) {





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=1202