Help,, Please
Moderator: General Moderators
-
crazy_carl
- Forum Newbie
- Posts: 14
- Joined: Sat Aug 13, 2005 10:01 pm
- Location: Woodbury NJ (USA)
Help,, Please
I guess the best way to ask this is just to ask. First I have NO experience in PHP.
And the descriptive language just frustrates me to no end.
Question:
How do I change the "I agree 13" to "I Agree 18" when someone tries to register.
Please keep it simple, I have been trying to do this for 12 days. With and with out downloaded editors... They are scary!
Thank you in advance for any help
CC
And the descriptive language just frustrates me to no end.
Question:
How do I change the "I agree 13" to "I Agree 18" when someone tries to register.
Please keep it simple, I have been trying to do this for 12 days. With and with out downloaded editors... They are scary!
Thank you in advance for any help
CC
-
crazy_carl
- Forum Newbie
- Posts: 14
- Joined: Sat Aug 13, 2005 10:01 pm
- Location: Woodbury NJ (USA)
Thank you for the reply/answer but that doesn't help. Even if I knew where to look, I wouldn't know how, or what to use to change it.feyd wrote:it's either in the register.php file or in the lang_main.php file... I'd imagine it's in the latter..
Moved to PHP - Code.
And that is really my question, where is what ever I have to change, and what do I need to change it.
Thanks for trying though
CC
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
a simple text editor.. like notepad is all that's needed.. my local copy of phpbb has the lines located in and at:
changing the text from those two lines (simply search the file for 'Agree_under_13') replace the sentance/html contained within the string with whatever you wish.. and you should be good to go.
Code: Select all
language/lang_english/lang_main.php:644:$lang['Agree_under_13'] = 'I Agree to t...
language/lang_english/lang_main.php:645:$lang['Agree_over_13'] = 'I Agree to th...-
crazy_carl
- Forum Newbie
- Posts: 14
- Joined: Sat Aug 13, 2005 10:01 pm
- Location: Woodbury NJ (USA)
Thank you for your time and effort, and I do mean that.feyd wrote:a simple text editor.. like notepad is all that's needed.. my local copy of phpbb has the lines located in and at:changing the text from those two lines (simply search the file for 'Agree_under_13') replace the sentance/html contained within the string with whatever you wish.. and you should be good to go.Code: Select all
language/lang_english/lang_main.php:644:$lang['Agree_under_13'] = 'I Agree to t... language/lang_english/lang_main.php:645:$lang['Agree_over_13'] = 'I Agree to th...
But when I change the 13 to 18, save and upload the file, the 2 lines no longer are there.
I think the answer is to write a page in html, and hyperlink it to the Forum. I have crashed this mess 5 times trying to get things to work, and I'm not sure i am qualified to figure it out even with the best of help.
Again, Thank You,, Oh that noice, that was me banging my head on the desk in frustration.
Crazy_Carl
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
-
crazy_carl
- Forum Newbie
- Posts: 14
- Joined: Sat Aug 13, 2005 10:01 pm
- Location: Woodbury NJ (USA)
Here is the Code
This is from the "agreement.tpl{REGISTRATION}</th>
</tr>
<tr>
<td class="row1" align="center"><table width="80%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td><span class="genmed"><br />{AGREEMENT}<br /><br /><br /><div align="center"><a href="{U_AGREE_OVER13}" class="genmed">{AGREE_OVER_13}</a><br /><br /><a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br /><a href="{U_INDEX}" class="genmed">{DO_NOT_AGREE}</a></div><br /></span></td>
</tr>
</table></td>
</tr>
</table>
This is from the lang_main.php
clicking Register below you agree to be bound by these conditions.';
$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';
If I change any of the above text / code? the lines to click disapear.
If I change any of the Disclaimer text, the forum crashes.
</tr>
<tr>
<td class="row1" align="center"><table width="80%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td><span class="genmed"><br />{AGREEMENT}<br /><br /><br /><div align="center"><a href="{U_AGREE_OVER13}" class="genmed">{AGREE_OVER_13}</a><br /><br /><a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br /><a href="{U_INDEX}" class="genmed">{DO_NOT_AGREE}</a></div><br /></span></td>
</tr>
</table></td>
</tr>
</table>
This is from the lang_main.php
clicking Register below you agree to be bound by these conditions.';
$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';
If I change any of the above text / code? the lines to click disapear.
If I change any of the Disclaimer text, the forum crashes.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
try:
Don't bother changing the var name Agree_under_13 because it can turn other themes incompatable.
Code: Select all
$lang['Agree_under_13'] = 'I Agree to these terms and am <b>under</b> 18 years of age';
$lang['Agree_over_13'] = 'I Agree to these terms and am <b>over</b> or <b>exactly</b> 18 years of age';
$lang['Agree_not'] = 'I do not agree to these terms';-
crazy_carl
- Forum Newbie
- Posts: 14
- Joined: Sat Aug 13, 2005 10:01 pm
- Location: Woodbury NJ (USA)
Not my thing
I would like to Thank All that have offered help on this.
I have decided to look for a commercially available software.
My reason for this is I want something that is, Up & Running without a need to rebuild it. I made the changes suggested and it looked like it worked, untill I got an email that no one could join because it took out an other part of the system.
I know this is open source, although I am not sure I comprehend exactly what that means.. What it has ment to me is utter frustration.
I do want to thank all that tried, and I do mean that.
Again Thank You Very much
Crazy_Carl
I have decided to look for a commercially available software.
My reason for this is I want something that is, Up & Running without a need to rebuild it. I made the changes suggested and it looked like it worked, untill I got an email that no one could join because it took out an other part of the system.
I know this is open source, although I am not sure I comprehend exactly what that means.. What it has ment to me is utter frustration.
I do want to thank all that tried, and I do mean that.
Again Thank You Very much
Crazy_Carl