Home | Add News | Edit News | Options | Help/About | Logout


Enable Hack Manually - Start From Fix v1.0

Installation notes:

This is a bugfix for: When useing $start_from and $number, the news will not show up as expected. Cause: Double comparing $number and compareing number to a wrong variable ($i instead of $showed)

Change block in "./inc/shows.inc.php":

Automatically Generated, be sure to be very precise on tabs and spaces.

Replace this:

            elseif($showed == $number){  break; }

With:

// Start From Fix v1.0 - changeblock - Old
  //             elseif($showed == $number){  break; }
// Start From Fix v1.0 - changeblock - New
  // Just delete it
// Start From Fix v1.0 - End changeblock

Change block in "./inc/shows.inc.php":

Automatically Generated, be sure to be very precise on tabs and spaces.

Replace this:

        if($number != 0 and $number == $i){ break; }

With:

// Start From Fix v1.0 - changeblock - Old
  //         if($number != 0 and $number == $i){ break; }
// Start From Fix v1.0 - changeblock - New
        if($number != 0 and $number == $showed){ break; }
// Start From Fix v1.0 - End changeblock

End installation notes:

The bug should be fixed now. The $start_from and $number variables should work correctly.

Powered by CuteNews v1.3.1 © 2003 CutePHP.