Page 61 of 61

Re: [RC1] Registration Auth Code (RAC)

Posted: Mon Jan 19, 2009 6:19 am
by momentum
You've missed the first of the two additions to that file. Have another look at the MOD instructions and you should be able to work it out.

Craig.

Re: [RC1] Registration Auth Code (RAC)

Posted: Mon Jan 19, 2009 2:19 pm
by FreeBaGeL
All is well now, not sure how I missed that the first time.

Thanks.

Re: [RC1] Registration Auth Code (RAC)

Posted: Thu Jan 22, 2009 10:59 pm
by Max Mouse
#
#-----[ FIND ]------------------------------------------
#
'L_CONFIRM_CODE_EXPLAIN' => $lang['Confirm_code_explain'],

Uhhh?? What? where is it? I don't see it in my usercp_register file...

Re: [RC1] Registration Auth Code (RAC)

Posted: Fri Jan 23, 2009 5:19 am
by ArmyofMike
Well, I am back. The forum admin for our site finally found the FTP username and password to access the files; however, I don't know where to access the usercp_register.php file?? I assume it is in the Template file? The website/forum I am working with is www.taskforce20.com and it doesn't use the Subsilver, but rather a theme called "TF20." Will this mean I have to install the MOD on both themes?

Thank you for your help

M

Re: [RC1] Registration Auth Code (RAC)

Posted: Fri Jan 23, 2009 10:19 am
by James N
The mod instructions tell you where to find the files that need editing, with everything referenced to the forum root (the place where the config.php file is)

includes/usercp_register.php
language/lang_english/lang_main.php
templates/subSilver/profile_add_body.tpl

so usercp_register.php is in the includes folder

Also you would only need to edit the style that guests see, as thats the one they will be registering with.
Max Mouse wrote:'L_CONFIRM_CODE_EXPLAIN' => $lang['Confirm_code_explain'],
line 1133 on an un edited file

Re: [RC1] Registration Auth Code (RAC)

Posted: Fri Jan 23, 2009 3:02 pm
by ArmyofMike
Thank you! I found the files and modified them (I think successfully), but I did both styles...will that mess it up? Also, I saved the files needed and then made seperate woring copies of them, now I just simply save the modded files back to the ftp? I am just trying my best to not corrupt the forum if I did something incorrectly.

Thanks....again.

Re: [RC1] Registration Auth Code (RAC)

Posted: Fri Jan 23, 2009 3:38 pm
by James N
No, editing both styles will not cause a problem (and its good practice incase you change default styles anyway)

What you have done is the best way to mod a forum. Keeping unedited files will enable you to revert back to a working state incase you have made an error. So, upload the edited files overwriting the existing ones, check it works then if it doesnt, upload the un edited ones while you re check the edits.

Re: [RC1] Registration Auth Code (RAC)

Posted: Fri Jan 23, 2009 5:31 pm
by ArmyofMike
Great! Thank you. I checked (and rechecked 5 times) that I put the code in correctly late last night. I will upload the Mod files today and hope they work. If they don't I will do as you stated and replace the originals till I find the errors.

This is Awesome!!

M

Re: [RC1] Registration Auth Code (RAC)

Posted: Mon Jan 26, 2009 3:27 am
by ric323
Max Mouse wrote:
#
#-----[ FIND ]------------------------------------------
#
'L_CONFIRM_CODE_EXPLAIN' => $lang['Confirm_code_explain'],

Uhhh?? What? where is it? I don't see it in my usercp_register file...
In an original 2.0.23 copy of ./includes/usercp_register.php, these are lines 1131 to 1133

Code: Select all

		'L_CONFIRM_CODE_IMPAIRED'	=> sprintf($lang['Confirm_code_impaired'], '<a href="mailto:' . $board_config['board_email'] . '">', '</a>'), 
		'L_CONFIRM_CODE'			=> $lang['Confirm_code'], 
		'L_CONFIRM_CODE_EXPLAIN'	=> $lang['Confirm_code_explain'], 
You may have had a problem if you searched for the entire line, because there is a tab character immediately before the "=>".