Page 1 of 1
How do I change registration age?

Posted:
Wed Oct 21, 2009 6:26 pm
Author: Lycanth
Is there any way to change the agreement age from 13?
I checked other sites and they said to edit language/lang_english/lang_main.php, but i looked in that file and couldn't find the age anywhere. Any help would be appreciated!
Re: How do I change registration age?

Posted:
Thu Oct 22, 2009 6:49 pm
Author: Okki
Suppose it is a setting, and not just text.
Maybe you can look at the board settings in ACP, maybe it is there.
I think there was a setting to turn it of, but i am not sure.
Re: How do I change registration age?

Posted:
Sat Oct 24, 2009 4:03 am
Author: Lycanth
afraid i looked in admincp and couldn't find any setting relating to this. This is where I am supposed to edit, but it just doesn't exist for me:
http://www.phpbb.com/kb/article/changin ... agreement/
Re: How do I change registration age?

Posted:
Sat Oct 24, 2009 9:04 am
Author: Okki
Your right <img>
But Integramod is not the same as phpBB, and i am not sure for wich version the kb artikel is (following your link), i think it is for phpBB3 and not phpBB2, and phpBB2 is in IntegraMOD 141.
Is it for your own site, i have taken a look at your site, i could not find the text, when i clicked at register.
I was hoping to find some more specific text for the coppa window, so i can do a better search.
Re: How do I change registration age?

Posted:
Sat Oct 24, 2009 3:57 pm
Author: Lycanth
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 6:41 am
Author: Okki
can you point me to the coppa page, with an url?
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 4:53 pm
Author: Okki
I have searched all files, but i can not find it, are you sure it is in your site?
Suppose you do use IntegraMod 141, do you?
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 5:09 pm
Author: Lycanth
Yes, I use IM141, and that article I linked to was specifically for phpbb2, not 3, so I'm confused. I checked my base files for IM141, just in case a mod that was installed had removed that part, but even the original files do not have that section.
Not sure how to give you a direct link to coppa?
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 5:23 pm
Author: Okki
I have downloaded the zip fresh from the download section, and have used a search application to find the word "years", and here is the result
- Code: Select all
Processing file ], $lang['Weeks'], $lang['Months'], $lang['Months_week'], $lang['<Years>']);Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141includesfunctions.phpLine 1257 - $<years>_less = 0 - ($time/$year); // make positive :: wrong if 31/12 :: extra year...Line 1258 - $<years>_corr = round($years_less); // round the number of yearsLine 1258 - $years_corr = round($<years>_less); // round the number of yearsLine 1258 - $years_corr = round($years_less); // round the number of <years>Line 1259 - $year_submitted = 1970-$<years>_corr;Line 1260 - // how many leap <years> in between 1971 and submitted year?Line 1268 - // so much time since jan 1st :: time is negative so add the <years>_corr*yearLine 1269 - $timeinyear = intval($time+($<years>_corr*$year)); Line 1284 - // 1969 is returned on leap <years>... Found 9 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141includesfunctions_calendar.phpLine 1101 - // same day in the year every nn <years>Line 1136 - // replace {yyyy} with the actual number of <years> between now and yyyyFound 2 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141includesnews.phpLine 299 - function render<Years>( $year = 0, $month = 0 )Line 301 - $<years> = $this->data->fetchYears( );Line 301 - $years = $this->data->fetch<Years>( );Line 303 - if( $<years> == array( ) ) { Line 307 - $render_all = !( $year > 0 && $year >= $<years>['min'] && $year <years> 0 && $year >= $years['min'] && $year <= $<years>['max'] );Line 309 - for( $y = $<years>['max']; $y >= $years['min']; $y-- )Line 309 - for( $y = $years['max']; $y >= $<years>['min']; $y-- )Line 334 - $this->render<Years>( $year, $month );Found 9 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141includesnews_data.phpLine 617 - // {{{ fetch<Years>( )Line 619 - * Returns the range of <years> for which there are posts.Line 625 - function fetch<Years>( )Line 643 - $<years> = array( );Line 647 - $<years>['min'] = intval( create_date('Y', $row['min_time'], 0));Line 648 - $<years>['max'] = intval( create_date('Y', $row['max_time'], 0));Line 653 - return $<years>;Found 7 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_deutschlang_extend_topic_calendar.phpLine 70 - $lang['<Years>'] = 'Jahre';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_deutschlang_prune_users.phpLine 22 - $lang['X_<Years>'] = '%d Jahre';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_englishlang_extend_topic_calendar.phpLine 65 - $lang['<Years>'] = 'Years';Line 65 - $lang['Years'] = '<Years>';Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_englishlang_faq.phpLine 34 - $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 acFound 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_englishlang_prune_users.phpLine 16 - $lang['X_<Years>'] = '%d Years';Line 16 - $lang['X_Years'] = '%d <Years>';Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_francaislang_extend_topic_calendar.phpLine 65 - $lang['<Years>'] = 'années';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_francaislang_prune_users.phpLine 16 - $lang['X_<Years>'] = "%d an(s)";Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_hebrewlang_extend_topic_calendar.phpLine 64 - $lang['<Years>'] = 'ùðéÃ';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_hebrewlang_prune_users.phpLine 16 - $lang['X_<Years>'] = '%d ùðéÃ';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_nederlandslang_extend_topic_calendar.phpLine 67 - $lang['<Years>'] = 'Jaren';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141languagelang_nederlandslang_prune_users.phpLine 31 - $lang['X_<Years>'] = '%d Jaren';Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141spellingENGLISH_part_1.DICLine 95654 - leap<years>Line 97109 - light<years>Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141spellingENGLISH_part_2.DICLine 5677 - mid<years>Line 95091 - <years>Line 95215 - yester<years>Found 3 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141templatescalendar-setup.jsLine 41 - * range | array with 2 elements. Default: [1900, 2999] -- the range of <years> availableLine 53 - * step | configures the step of the <years> in drop-down boxes; default: 2Line 166 - cal.<yearS>tep = params.step;Found 3 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141templatescalendar.jsLine 38 - this.<yearS>tep = 2;Line 46 - this.<years>Combo = null;Line 278 - Calendar.show<Years>Combo = function (fwd) {Line 285 - var yc = cal.<years>Combo;Line 306 - Y += fwd ? cal.<yearS>tep : -cal.yearStep;Line 306 - Y += fwd ? cal.yearStep : -cal.<yearS>tep;Line 521 - cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.show<Years>Combo(true)" : "Calendar.showYearsCombo(false)", 250);Line 521 - cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.show<Years>Combo(false)", 250);Line 946 - this.<years>Combo = div;Line 1555 - this.<years>Combo.style.display = "none";Found 10 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141templatesfisubicecalendar.cssLine 160 - /* Combo boxes (menus that display months/<years> for direct selection) */Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141templatesIntegra2calendar.cssLine 160 - /* Combo boxes (menus that display months/<years> for direct selection) */Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141g_all_langIntegraMOD141_install_instuctionsintegramod_install_guide_page2.htmLine 759 - team has worked extremely hard over the past months and <years> to make it as good Found 1 occurrences.Searched 6798 file(s), found 66 occurrences in 24 file(s)
so in the
all language version, all 6798 files, the word years is only 66 times in 24 of them
now i will donload the english version, but i don't think to find the text
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 5:34 pm
Author: Okki
the results voor the search in the IntegraMOD English only files
- Code: Select all
Processing file ], $lang['Weeks'], $lang['Months'], $lang['Months_week'], $lang['<Years>']);Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141includesfunctions.phpLine 1257 - $<years>_less = 0 - ($time/$year); // make positive :: wrong if 31/12 :: extra year...Line 1258 - $<years>_corr = round($years_less); // round the number of yearsLine 1258 - $years_corr = round($<years>_less); // round the number of yearsLine 1258 - $years_corr = round($years_less); // round the number of <years>Line 1259 - $year_submitted = 1970-$<years>_corr;Line 1260 - // how many leap <years> in between 1971 and submitted year?Line 1268 - // so much time since jan 1st :: time is negative so add the <years>_corr*yearLine 1269 - $timeinyear = intval($time+($<years>_corr*$year)); Line 1284 - // 1969 is returned on leap <years>... Found 9 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141includesfunctions_calendar.phpLine 1101 - // same day in the year every nn <years>Line 1136 - // replace {yyyy} with the actual number of <years> between now and yyyyFound 2 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141includesnews.phpLine 299 - function render<Years>( $year = 0, $month = 0 )Line 301 - $<years> = $this->data->fetchYears( );Line 301 - $years = $this->data->fetch<Years>( );Line 303 - if( $<years> == array( ) ) { Line 307 - $render_all = !( $year > 0 && $year >= $<years>['min'] && $year <years> 0 && $year >= $years['min'] && $year <= $<years>['max'] );Line 309 - for( $y = $<years>['max']; $y >= $years['min']; $y-- )Line 309 - for( $y = $years['max']; $y >= $<years>['min']; $y-- )Line 334 - $this->render<Years>( $year, $month );Found 9 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141includesnews_data.phpLine 617 - // {{{ fetch<Years>( )Line 619 - * Returns the range of <years> for which there are posts.Line 625 - function fetch<Years>( )Line 643 - $<years> = array( );Line 647 - $<years>['min'] = intval( create_date('Y', $row['min_time'], 0));Line 648 - $<years>['max'] = intval( create_date('Y', $row['max_time'], 0));Line 653 - return $<years>;Found 7 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141languagelang_englishlang_extend_topic_calendar.phpLine 65 - $lang['<Years>'] = 'Years';Line 65 - $lang['Years'] = '<Years>';Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141languagelang_englishlang_faq.phpLine 34 - $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 acFound 1 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141languagelang_englishlang_prune_users.phpLine 16 - $lang['X_<Years>'] = '%d Years';Line 16 - $lang['X_Years'] = '%d <Years>';Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141spellingENGLISH_part_1.DICLine 95654 - leap<years>Line 97109 - light<years>Found 2 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141spellingENGLISH_part_2.DICLine 5677 - mid<years>Line 95091 - <years>Line 95215 - yester<years>Found 3 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141templatescalendar-setup.jsLine 41 - * range | array with 2 elements. Default: [1900, 2999] -- the range of <years> availableLine 53 - * step | configures the step of the <years> in drop-down boxes; default: 2Line 166 - cal.<yearS>tep = params.step;Found 3 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141templatescalendar.jsLine 38 - this.<yearS>tep = 2;Line 46 - this.<years>Combo = null;Line 278 - Calendar.show<Years>Combo = function (fwd) {Line 285 - var yc = cal.<years>Combo;Line 306 - Y += fwd ? cal.<yearS>tep : -cal.yearStep;Line 306 - Y += fwd ? cal.yearStep : -cal.<yearS>tep;Line 521 - cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.show<Years>Combo(true)" : "Calendar.showYearsCombo(false)", 250);Line 521 - cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.show<Years>Combo(false)", 250);Line 946 - this.<years>Combo = div;Line 1555 - this.<years>Combo.style.display = "none";Found 10 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141templatesfisubicecalendar.cssLine 160 - /* Combo boxes (menus that display months/<years> for direct selection) */Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141templatesIntegra2calendar.cssLine 160 - /* Combo boxes (menus that display months/<years> for direct selection) */Found 1 occurrences.Processing file : C:DownloadsIntegraMOD141IntegraMOD141_install_instuctionsintegramod_install_guide_page2.htmLine 759 - team has worked extremely hard over the past months and <years> to make it as good Found 1 occurrences.Searched 5899 file(s), found 58 occurrences in 16 file(s)
Re: How do I change registration age?

Posted:
Mon Oct 26, 2009 6:01 pm
Author: Okki
"Lycanth" wrote:Yes, I use IM141, and that article I linked to was specifically for phpbb2, not 3, so I'm confused. I checked my base files for IM141, just in case a mod that was installed had removed that part, but even the original files do not have that section.
Not sure how to give you a direct link to coppa?
Whel just the url where you see the text.
I have seen sites where the coppa text is like
http://www.pocketpcsummit.com/forums/up ... ister.html i got this by clicking on reghister.
So, tell me where i can read this on your site.
Or send me a pm with the url, and when i need to login also the login name and password so i can help you.
Re: How do I change registration age?

Posted:
Mon Nov 02, 2009 5:54 am
Author: .QUACK.Major.Pain
Have never seen this on any of my 141 sites.
Have you installed it as a mod?
I have seen it on other types of forums, but never on 141.
Re: How do I change registration age?

Posted:
Mon Nov 02, 2009 9:03 am
Author: Helter
the text your looking for is located in includes/usercp_register.php.
It has been removed IntegraMOD141 by PCP.
If you wish you can change your register link to "rules.php" and add your register link in the rules page.
http://www.forumimages.co.uk/IM141/rules.php check in the Integra2 theme rules link. here is the example code.
language/english/lang_main.php
FIND
- Code: Select all
//// That's all, Folks!
BEFORE, ADD
- Code: Select all
$lang['Regagree'] = '<a>I Agree to these terms and am over or exactly 13 years of age';$lang['Regdisagree'] = '<a>I do not agree to these terms or am under 13 years of age';&
templates/Integra2/rules.tpl
- Code: Select all
<table> <tr> <td>{L_FORUM_RULES}</td></tr><tr><td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_FORUM_RULES}</td> </tr></table> <table> <tr> <th>{L_FORUM_RULES} ({RULES_DATE})</th> </tr> <tr> <td><table> <tr> <td><span> <br>{RULES_DATA}<br> <br></span></td> </tr> </table></td> </tr><BEGIN> <tr> <td> <img> {L_REGAGREE}<br> <img> {L_REGDISAGREE} <img> </td> </tr><END></table>
Do this for all installed languages and templates