Obsah fóra
PravidláRegistrovaťPrihlásenie




Odpovedať na tému [ Príspevok: 1 ] 
AutorSpráva
Offline

Prevádzkovateľ fóra
Prevádzkovateľ fóra
Remove COPPA

Registrovaný: 01.05.05
Príspevky: 13348
Témy: 1496
Bydlisko: Bratislava
Príspevok NapísalOffline : 14.10.2006 15:05

Kód:
##############################################################
## MOD Title: Remove COPPA
## MOD Author: billytcf < N/A > (N/A) N/A
## MOD Description: This mode removes COPPA from phpBB2.
## MOD Version: 1.0.4
##
## Installation Level: Easy
## Installation Time: 13 minutes
## Files To Edit: includes/usercp_register.php
##                language/lang_english/lang_main.php
##                templates/subSilver/agreement.tpl
##                templates/subSilver/admin/board_config_body.tpl
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: This is just a simple mod to remove COPPA.
##
## !!!!!!!IMPORTANT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
## Please note that it is ILLEGAL to remove COPPA in the US.
##
## This MOD do NOT prevent the agreement page from showing up.
##############################################################
## MOD History:
##
##   2004-12-25 - Version 1.0.3
##      -  Initial release
##
##   2005-11-11 - Version 1.0.4
##      -  Added DIY lines to remove config values.
##      -  MOD template reviewed to comply with new standards.
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
#
#I don't know why the following code can't be parsed by EasyMOD although they are valid so you may have to execute it yourself
DELETE FROM phpbb_config WHERE `config_name` = 'coppa_fax';
DELETE FROM phpbb_config WHERE `config_name` = 'coppa_mail';

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
      "AGREE_OVER_13" => $lang['Agree_over_13'],

#
#-----[ REPLACE WITH ]------------------------------------------
#
      //[MOD]Remove COPPA
      //"AGREE_OVER_13" => $lang['Agree_over_13'],
      "AGREE" => $lang['Agree'],

#
#-----[ FIND ]------------------------------------------
#
      "AGREE_UNDER_13" => $lang['Agree_under_13'],

#
#-----[ REPLACE WITH ]------------------------------------------
#
      //[MOD]Remove COPPA
      //"AGREE_UNDER_13" => $lang['Agree_under_13'],

#
#-----[ FIND ]------------------------------------------
#
      "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&amp;agreed=true"),

#
#-----[ REPLACE WITH ]------------------------------------------
#
      "U_AGREE" => append_sid("profile.$phpEx?mode=register&amp;agreed=true"))

#
#-----[ FIND ]------------------------------------------
#
      "U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&amp;agreed=true&amp;coppa=true"))

#
#-----[ REPLACE WITH ]------------------------------------------
#
      //[MOD]Remove COPPA
      //"U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&amp;agreed=true&amp;coppa=true"))

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['Agree_under_13'] = 'I Agree to these terms and am <b>under</b> 13 years of age';

#
#-----[ REPLACE WITH ]------------------------------------------
#

//[MOD]Remove COPPA
//$lang['Agree_under_13'] = 'I Agree to these terms and am <b>under</b> 13 years of age';

#
#-----[ FIND ]------------------------------------------
#
$lang['Agree_over_13'] = 'I Agree to these terms and am <b>over</b> or <b>exactly</b> 13 years of age';

#
#-----[ REPLACE WITH ]------------------------------------------
#
//[MOD]Remove COPPA
//$lang['Agree_over_13'] = 'I Agree to these terms and am <b>over</b> or <b>exactly</b> 13 years of age';
$lang['Agree'] = 'I Agree to these terms';

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/agreement.tpl

#
#-----[ FIND ]------------------------------------------
#
         <tr>
            <td><span class="genmed"><br />{AGREEMENT}<br /><br />
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_AGREE_OVER13}" class="genmed">{AGREE_OVER_13}</a>

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<a href="{U_AGREE}" class="genmed">{AGREE}</a>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br />

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<!-- <a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br /> -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl

#
#-----[ FIND ]------------------------------------------
#
   <tr>
     <th class="thHead" colspan="2">{L_COPPA_SETTINGS}</th>
   </tr>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
#    
   <!-- [MOD]Remove COPPA
#
#-----[ FIND ]------------------------------------------
#
   <tr>
      <td class="row1">{L_COPPA_MAIL}<br /><span class="gensmall">{L_COPPA_MAIL_EXPLAIN}</span></td>
      <td class="row2"><textarea name="coppa_mail" rows="5" cols="30">{COPPA_MAIL}</textarea></td>
   </tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
    -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM







_________________
Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF & 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 | iPhone X 256 GB & Pitaka Aramid | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA | Ubuntu Server
Odpovedať na tému [ Príspevok: 1 ] 


Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy. Nedá sa pripojiť na nové " studio youtube " kvôli nastaveniu veku publika COPPA

v Služby a webstránky

1

569

10.02.2020 18:48

tom30 Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Remove Duplicate Sessions

v Redakčné systémy

0

533

14.10.2006 14:49

JanoF Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. DOMDocument xml remove

v PHP, ASP

3

419

18.10.2010 16:03

DeaDMan Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Jquery Remove LI

v JavaScript, VBScript, Ajax

2

447

24.11.2016 18:59

arno Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Remove Images MOD

v Redakčné systémy

0

2510

14.10.2006 15:21

JanoF Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Remove Signature From Guests

v Redakčné systémy

0

533

14.10.2006 15:03

JanoF Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Add/Remove program list

v Operačné systémy Microsoft

6

797

11.01.2008 10:23

Shit Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. manjaro linux remove systemmd modules

v Operačné systémy Unix a Linux

2

546

16.05.2019 17:25

kompi Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Opera a Remove It Permanently

v Sieťové a internetové programy

2

448

16.12.2009 0:54

petanorech Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Remove and check color cartridge

v Ostatné

5

912

09.02.2007 9:58

Jimmy_boy Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Ako na "DO NOT REMOVE THIS LINE!" ?

v PHP, ASP

13

629

17.02.2010 17:37

d0.0b Zobrazenie posledných príspevkov


Nemôžete zakladať nové témy v tomto fóre
Nemôžete odpovedať na témy v tomto fóre
Nemôžete upravovať svoje príspevky v tomto fóre
Nemôžete mazať svoje príspevky v tomto fóre

Skočiť na:  

Powered by phpBB Jarvis © 2005 - 2024 PCforum, webhosting by WebSupport, secured by GeoTrust, edited by JanoF
Ako väčšina webových stránok aj my používame cookies. Zotrvaním na webovej stránke súhlasíte, že ich môžeme používať.
Všeobecné podmienky, spracovanie osobných údajov a pravidlá fóra