Page 1 of 1

Question about update 2.0.17 to 2.0.18 unclear instruction

PostPosted: Fri May 05, 2006 11:31 am
Author: Angelus
Hi.

There are at the moment 2 things that confusing me:

in file "profilcp/profilcp_privmsg.php" there are two FIND statements behind another :


Code: Select all
##-----[ FIND ]---------------------------------------------#         if ( !empty($HTTP_GET_VARS['b']) )  ##-----[ FIND ]---------------------------------------------#         }           if ( $mode == 'edit' )


is there missing another statement between?


My second question

in file admin/admin_board.php


there are also two seperate FIND statements and after a replace order]##-----[ FIND ]---------------------------------------------#     "CONFIRM_DISABLE" => $confirm_no,  ##-----[ FIND ]---------------------------------------------#     "ACTIVATION_NONE_CHECKED" => $activation_none,  ##-----[ REPLACE WITH ]---------------------------------------------#     'ALLOW_AUTOLOGIN_YES' => $allow_autologin_yes,     'ALLOW_AUTOLOGIN_NO' => $allow_autologin_no,     'AUTOLOGIN_TIME' => (int) $new['max_autologin_time'],  [/code]

so do I only have to replace the second line

Code: Select all
    "ACTIVATION_NONE_CHECKED" => $activation_none,


or both because the original file looks like that]     "CONFIRM_DISABLE" => $confirm_no,     "ACTIVATION_NONE_CHECKED" => $activation_none,[/code]

so the 2 lines are one below the other.

Can anyone help?

Greetings
Thorsten

Re: Question about update 2.0.17 to 2.0.18 unclear instructi

PostPosted: Fri May 05, 2006 11:38 am
Author: Dragonsys
The 1st FIND is just used as a marker to help you find the correct line. Only replace the line(s) in the 2nd FIND