Delete Coppa

Mods etc.

Moderator: Integra Moderator

Delete Coppa

PostAuthor: Skywalker » Mon May 22, 2006 5:49 am

Code: Select all
 ############################################################## ## MOD Title]http://www.sandh.nl#[/url]# MOD Description: This mod will delete the coppa out of phpbb ## MOD Version:     1.0.0## ## ## Installation Level: Easy ## Installation Time: 10 Minutes ## Files To Edit: includes/usercp_register.php,##                templates/subSilver/agreement.tpl##                 templates/subSilver/admin/board_config_body.tpl##                 admin/admin_board.php##                 language/lang_english/lang_admin.php##                 language/lang_english/lang_faq.php##                 language/lang_english/lang_main.php##                 ## Included Files: n/a ############################################################## ## For Security Purposes, Please Check: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] for the ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ## in our MOD-Database, located at: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] ############################################################## ## Author Notes: ##       n/a############################################################## ## MOD History: ## ##   2005-01-04 - Version 1.0.0 ##      - no notes ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ################################################################ You have to delete this file before adding this mod:#### language/lang_english/email/coppa_welcome_inactive.tpl## you have to repeat this for every language installed on your forum!!############################################################################################################################      # #-----[ OPEN ]------------------------------------------ # includes/usercp_register.php  # #-----[ FIND ]------------------------------------------ # function show_coppa()  # #-----[ REPLACE WITH ]------------------------------------------ # function show_agreement()  # #-----[ FIND ]------------------------------------------ #         "AGREE_OVER_13" => $lang['Agree_over_13'],         "AGREE_UNDER_13" => $lang['Agree_under_13'],  # #-----[ REPLACE WITH ]------------------------------------------ #           'AGREE_TRUE' => $lang['Agree_true'],  # #-----[ FIND ]------------------------------------------ #         "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&agreed=true"),         "U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&agreed=true&coppa=true"))  # #-----[ REPLACE WITH ]------------------------------------------ #         'U_AGREE' => append_sid("profile.$phpEx?mode=register&agreed=true"))  ##-----[ FIND ]------------------------------------------ #     include($phpbb_root_path . 'includes/page_header.'.$phpEx);       show_coppa();     # #-----[ REPLACE WITH ]------------------------------------------ #     include($phpbb_root_path . 'includes/page_header.'.$phpEx);       show_agreement();  ##-----[ FIND ]------------------------------------------ #$coppa = ( empty($HTTP_POST_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE;  //// Check and initialize some variables if needed//  # #-----[ REPLACE WITH ]------------------------------------------ #//// Check and initialize some variables if needed//  ##-----[ FIND ]------------------------------------------ #if ( $board_config['require_activation'] == USER_ACTIVATION_SELF || $board_config['require_activation'] == USER_ACTIVATION_ADMIN || $coppa )  # #-----[ REPLACE WITH ]------------------------------------------ #if ( $board_config['require_activation'] == USER_ACTIVATION_SELF || $board_config['require_activation'] == USER_ACTIVATION_ADMIN)  ##-----[ FIND ]------------------------------------------ #             if ( $coppa )             {                 $message = $lang['COPPA'];                 $email_template = 'coppa_welcome_inactive';             }             else if ( $board_config['require_activation'] == USER_ACTIVATION_SELF )             {                 $message = $lang['Account_inactive'];                 $email_template = 'user_welcome_inactive';             }# #-----[ REPLACE WITH ]------------------------------------------ #               if ( $board_config['require_activation'] == USER_ACTIVATION_SELF )             {                 $message = $lang['Account_inactive'];                 $email_template = 'user_welcome_inactive';             }  ##-----[ FIND ]------------------------------------------ #             if( $coppa )             {                 $emailer->assign_vars(array(                     'SITENAME' => $board_config['sitename'],                     'WELCOME_MSG' => sprintf($lang['Welcome_subject'], $board_config['sitename']),                     'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("'", "'", $username), 0, 25)),                     'PASSWORD' => $password_confirm,                     'EMAIL_SIG' => str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']),                       'FAX_INFO' => $board_config['coppa_fax'],                     'MAIL_INFO' => $board_config['coppa_mail'],                     'EMAIL_ADDRESS' => $email,                     'ICQ' => $icq,                     'AIM' => $aim,                     'YIM' => $yim,                     'MSN' => $msn,                     'WEB_SITE' => $website,                     'FROM' => $location,                     'OCC' => $occupation,                     'INTERESTS' => $interests,                     'SITENAME' => $board_config['sitename']));             }             else             {                 $emailer->assign_vars(array(                     'SITENAME' => $board_config['sitename'],                     'WELCOME_MSG' => sprintf($lang['Welcome_subject'], $board_config['sitename']),                     'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("'", "'", $username), 0, 25)),                     'PASSWORD' => $password_confirm,                     'EMAIL_SIG' => str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']),                       'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)                 );             }        # #-----[ REPLACE WITH ]------------------------------------------ #                 $emailer->assign_vars(array(                     'SITENAME' => $board_config['sitename'],                     'WELCOME_MSG' => sprintf($lang['Welcome_subject'], $board_config['sitename']),                     'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("'", "'", $username), 0, 25)),                     'PASSWORD' => $password_confirm,                     'EMAIL_SIG' => str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']),                       'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)                 );  ##-----[ FIND ]------------------------------------------ #display_avatar_gallery($mode,  # #-----[ IN-LINE FIND ]------------------------------------------ #$coppa, $username  # #-----[ IN-LINE REPLACE WITH ]------------------------------------------ #$username  ##-----[ FIND ]------------------------------------------ #     include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);       if ( !isset($coppa) )     {         $coppa = FALSE;     }  # #-----[ REPLACE WITH ]------------------------------------------ #     include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);     ##-----[ FIND ]------------------------------------------ #$s_hidden_fields = '<input><input><input>';  # #-----[ REPLACE WITH ]------------------------------------------ #$s_hidden_fields = '<input><input>';     # #-----[ OPEN ]------------------------------------------ #templates/subSilver/agreement.tpl  ##-----[ FIND ]------------------------------------------ <tr><td><span><br>{AGREEMENT}<br><br><br><div><a>{AGREE_OVER_13}</a><br><br><a>{AGREE_UNDER_13}</a><br><br><a>{DO_NOT_AGREE}</a></div><br></span></td>             </tr>  # #-----[ REPLACE WITH ]------------------------------------------ #<tr>                 <td><span><br>{AGREEMENT}<br><br><br><div><a>{AGREE_TRUE}</a><br><br><a>{DO_NOT_AGREE}</a></div><br></span></td>             </tr>  # #-----[ OPEN ]------------------------------------------ #         language/lang_english/lang_main.php  ##-----[ FIND ]------------------------------------------ #$lang['Already_activated'] = 'You have already activated your account';$lang['COPPA'] = 'Your account has been created but has to be approved. Please check your e-mail for details.';  # #-----[ REPLACE WITH ]------------------------------------------ #$lang['Already_activated'] = 'You have already activated your account';  ##-----[ FIND ]------------------------------------------ #$lang['Agree_under_13'] = 'I Agree to these terms and am <b>under</b> 13 years of age';$lang['Agree_over_13'] = 'I Agree to these terms and am <b>over</b> or <b>exactly</b> 13 years of age';$lang['Agree_not'] = 'I do not agree to these terms';  # #-----[ REPLACE WITH ]------------------------------------------ #$lang['Agree_true'] = 'I Agree to these terms.';$lang['Agree_not'] = 'I do not agree to these terms';  # #-----[ OPEN ]------------------------------------------ #         language/lang_english/lang_faq.php  ##-----[ FIND ]------------------------------------------ #$faq[] = array("I've lost my password!", "Don't panic! While your password cannot be retrieved it can be reset. To do this go to the login page and click <u>I've forgotten my password</u>. Follow the instructions and you should be back online in no time.");$faq[] = array("I registered but cannot log in!", "First check that you are entering the correct username and password. If they are okay then one of two things may have happened: if COPPA support is enabled and you clicked the <u>I am under 13 years old</u> link while registering then you will have to follow the instructions you received. If this is not the case then maybe your account need activating. Some boards will require all new registrations be activated, either by yourself or by the administrator before you can log on. When you registered it would have told you whether activation was required. If you were sent an email then follow the instructions; if you did not receive the email then check that your email address is valid. One reason activation is used is to reduce the possibility of <i>rogue</i> users abusing the board anonymously. If you are sure the email address you used is valid then try contacting the board administrator.");  # #-----[ REPLACE WITH ]------------------------------------------ #$faq[] = array("I've lost my password!", "Don't panic! While your password cannot be retrieved it can be reset. To do this go to the login page and click <u>I've forgotten my password</u>. Follow the instructions and you should be back online in no time.");$faq[] = array("I registered but cannot log in!", "First check that you are entering the correct username and password. If they are okay then this may have happened: One reason activation is used is to reduce the possibility of <i>rogue</i> users abusing the board anonymously. If you are sure the email address you used is valid then try contacting the board administrator.");  # #-----[ OPEN ]------------------------------------------ #         language/lang_english/lang_admin.php  ##-----[ FIND ]------------------------------------------ #$lang['Avatar_gallery_path_explain'] = 'Path under your phpBB root dir for pre-loaded images, e.g. images/avatars/gallery';  $lang['COPPA_settings'] = 'COPPA Settings';$lang['COPPA_fax'] = 'COPPA Fax Number';$lang['COPPA_mail'] = 'COPPA Mailing Address';$lang['COPPA_mail_explain'] = 'This is the mailing address to which parents will send COPPA registration forms';  # #-----[ REPLACE WITH ]------------------------------------------ #$lang['Avatar_gallery_path_explain'] = 'Path under your phpBB root dir for pre-loaded images, e.g. images/avatars/gallery';  # #-----[ OPEN ]------------------------------------------ #    admin/admin_board.php  ##-----[ FIND ]------------------------------------------ #     "L_AVATAR_GALLERY_PATH_EXPLAIN" => $lang['Avatar_gallery_path_explain'],     "L_COPPA_SETTINGS" => $lang['COPPA_settings'],     "L_COPPA_FAX" => $lang['COPPA_fax'],     "L_COPPA_MAIL" => $lang['COPPA_mail'],     "L_COPPA_MAIL_EXPLAIN" => $lang['COPPA_mail_explain'],  # #-----[ REPLACE WITH ]------------------------------------------ #     "L_AVATAR_GALLERY_PATH_EXPLAIN" => $lang['Avatar_gallery_path_explain'],  ##-----[ FIND ]------------------------------------------ #         "SMTP_PASSWORD" => $new['smtp_password'],     "COPPA_MAIL" => $new['coppa_mail'],     "COPPA_FAX" => $new['coppa_fax'])  # #-----[ REPLACE WITH ]------------------------------------------ #     "SMTP_PASSWORD" => $new['smtp_password'])  # #-----[ OPEN ]------------------------------------------ #    templates/subSilver/admin/board_config_body.tpl  ##-----[ FIND ]------------------------------------------ #     <tr>         <td>{L_AVATAR_GALLERY_PATH} <br><span>{L_AVATAR_GALLERY_PATH_EXPLAIN}</span></td>         <td><input></td>     </tr>     <tr>       <th>{L_COPPA_SETTINGS}</th>     </tr>     <tr>         <td>{L_COPPA_FAX}</td>         <td><input></td>     </tr>     <tr>         <td>{L_COPPA_MAIL}<br><span>{L_COPPA_MAIL_EXPLAIN}</span></td>         <td><textarea>{COPPA_MAIL}</textarea></td>     </tr>  # #-----[ REPLACE WITH ]------------------------------------------ #     <tr>         <td>{L_AVATAR_GALLERY_PATH} <br><span>{L_AVATAR_GALLERY_PATH_EXPLAIN}</span></td>         <td><input></td>     </tr>  ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM  
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

PostAuthor: BurninFingerTipz » Tue May 23, 2006 2:45 pm

I don't think COPPA exisits in IntegraMOD since it uses the Profile Control Panel MOD...
Last edited by BurninFingerTipz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BurninFingerTipz
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:49 pm
Cash on hand: 0.00
Location: Ohio, USA

PostAuthor: Jason Sanborn » Tue May 23, 2006 2:56 pm

You're correct. It doesn't exist.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: Simon N » Tue May 23, 2006 11:37 pm

But it should do and needs to in order to ensure some sites conform with certain laws.

I have to try and put this back in for my own site at the request of my local council whom I am now working closely with. <img>
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00


Return to IntegraMOD Modifications

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]