############################################################# ## Mod Title:   Visual Confirm Secure ## Mod Version: 1.0.0 ## Date : 14/04/2006 ## Author:      ceccus           http://www.pctrio.com ## Description: -change suffix "agreed" in ## ## Installation Level:  easy ## Installation Time:   2-5 Minutes ## Files To Edit:       Includes/constants.php ##                                          Admin/admin_users.php ##                                          Includes/usercp_Avatar.php ##                                          Includes/usercp_register.php             ############################################################## ## History:   ############################################################## ## Before Adding This MOD To Your Forum, ## You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]------------------------------------------------ # Include/Constants.php # #-----[ ACTION Find ]----------------------------------------- # // Table names # #-----[ ADD BEFORE WITH ]---------------------------------------- # // Visual Confirm define('AGREED','xyz-agreed');  //where xyz is all value that you should - change for each User or Server Web # #-----[ OPEN ]------------------------------------------------ # Admin/Admin_users.php # #-----[ ACTION Find ]-----------------------------------------                 else                 {                                $s_hidden_fields = '';                                $s_hidden_fields .= ''; # #-----[ ACTION Replace With ]--------------------------------- #                 else                 {                                $s_hidden_fields = '';                                 $s_hidden_fields .= ''; # #-----[ ACTION Find ]-----------------------------------------                                                $coppa = ( ( !$HTTP_POST_VARS['coppa'] && !$HTTP_GET_VARS['coppa'] ) || $mode == "register") ? 0 : TRUE;                                                  $s_hidden_fields = '';                                                $s_hidden_fields .= ''; # #-----[ ACTION Replace With ]--------------------------------- #                                                $coppa = ( ( !$HTTP_POST_VARS['coppa'] && !$HTTP_GET_VARS['coppa'] ) || $mode == "register") ? 0 : TRUE;                                                  $s_hidden_fields = ''; // modcec                                                $s_hidden_fields .= ''; # #-----[ OPEN ]------------------------------------------------ # Include/Usercp_avatar.php # #-----[ ACTION Find ]-----------------------------------------                 $params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'website', 'location', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popup_pm', 'notifyreply', 'attachsig', 'allowhtml', 'allowbbcode', 'allowsmilies', 'hideonline', 'style', 'language', 'timezone', 'dateformat');                   $s_hidden_vars = '';   # #-----[ ACTION Replace With ]--------------------------------- #                 $params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'website', 'location', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popup_pm', 'notifyreply', 'attachsig', 'allowhtml', 'allowbbcode', 'allowsmilies', 'hideonline', 'style', 'language', 'timezone', 'dateformat');                   $s_hidden_vars = '';  # #-----[ OPEN ]------------------------------------------------ # Include/Usercp_register.php # #-----[ ACTION Find ]----------------------------------------- #                 $template->assign_vars(array(                                'REGISTRATION' => $lang['Registration'],                                'AGREEMENT' => $lang['Reg_agreement'],                                "AGREE_OVER_13" => $lang['Agree_over_13'],                                "AGREE_UNDER_13" => $lang['Agree_under_13'],                                'DO_NOT_AGREE' => $lang['Agree_not'],                                  "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&agreed=true"),                                  "U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&agreed=true&coppa=true"))                  ); # #-----[ ACTION Replace With ]--------------------------------- #                 $template->assign_vars(array(                                'REGISTRATION' => $lang['Registration'],                                'AGREEMENT' => $lang['Reg_agreement'],                                "AGREE_OVER_13" => $lang['Agree_over_13'],                                "AGREE_UNDER_13" => $lang['Agree_under_13'],                                'DO_NOT_AGREE' => $lang['Agree_not'],                                  "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&".AGREED."=true"),   //modcec                                "U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&".AGREED."=true&coppa=true"))                  ); # #-----[ ACTION Find ]----------------------------------------- # if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed']) && !isset($HTTP_GET_VARS['agreed']) )  {                 include($phpbb_root_path . 'includes/page_header.'.$phpEx);                   show_coppa();                   include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } # #-----[ ACTION Replace With ]--------------------------------- # if ( $mode == 'register' && !isset($HTTP_POST_VARS[AGREED]) && !isset($HTTP_GET_VARS[AGREED]) )  {                 include($phpbb_root_path . 'includes/page_header.'.$phpEx);                   show_coppa();                   include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } # #-----[ ACTION Find ]----------------------------------------- #                 $s_hidden_fields = '';                  if( $mode == 'editprofile' )                 {                                $s_hidden_fields .= '';                                //                                // Send the users current email address. If they change it, and account activation is turned on                                // the user account will be disabled and the user will have to reactivate their account.                                //                                $s_hidden_fields .= '';                 }   # #-----[ ACTION Replace With ]--------------------------------- #                 $s_hidden_fields = '';                  if( $mode == 'editprofile' )                 {                                $s_hidden_fields .= '';                                //                                // Send the users current email address. If they change it, and account activation is turned on                                // the user account will be disabled and the user will have to reactivate their account.                                //                                $s_hidden_fields .= '';                 }   # #-----[ SAVE/CLOSE ALL FILES ]---------------------------------- #