[RC1] Registration Auth Code (RAC)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: [RC1] Registration Auth Code (RAC)

Post by momentum » Mon Jan 19, 2009 6:19 am

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.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

FreeBaGeL
Registered User
Posts: 76
Joined: Wed Mar 23, 2005 8:50 pm

Re: [RC1] Registration Auth Code (RAC)

Post by FreeBaGeL » Mon Jan 19, 2009 2:19 pm

All is well now, not sure how I missed that the first time.

Thanks.

Max Mouse
Registered User
Posts: 8
Joined: Sun Jan 21, 2007 2:44 am

Re: [RC1] Registration Auth Code (RAC)

Post by Max Mouse » Thu Jan 22, 2009 10:59 pm

#
#-----[ FIND ]------------------------------------------
#
'L_CONFIRM_CODE_EXPLAIN' => $lang['Confirm_code_explain'],

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

User avatar
ArmyofMike
Registered User
Posts: 7
Joined: Sat Dec 20, 2008 10:43 pm
Location: Central California

Re: [RC1] Registration Auth Code (RAC)

Post by ArmyofMike » Fri Jan 23, 2009 5:19 am

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

James N
Registered User
Posts: 1737
Joined: Sat May 20, 2006 12:57 pm
Contact:

Re: [RC1] Registration Auth Code (RAC)

Post by James N » Fri Jan 23, 2009 10:19 am

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

User avatar
ArmyofMike
Registered User
Posts: 7
Joined: Sat Dec 20, 2008 10:43 pm
Location: Central California

Re: [RC1] Registration Auth Code (RAC)

Post by ArmyofMike » Fri Jan 23, 2009 3:02 pm

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.

James N
Registered User
Posts: 1737
Joined: Sat May 20, 2006 12:57 pm
Contact:

Re: [RC1] Registration Auth Code (RAC)

Post by James N » Fri Jan 23, 2009 3:38 pm

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.

User avatar
ArmyofMike
Registered User
Posts: 7
Joined: Sat Dec 20, 2008 10:43 pm
Location: Central California

Re: [RC1] Registration Auth Code (RAC)

Post by ArmyofMike » Fri Jan 23, 2009 5:31 pm

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

User avatar
ric323
Former Team Member
Posts: 22908
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: [RC1] Registration Auth Code (RAC)

Post by ric323 » Mon Jan 26, 2009 3:27 am

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 "=>".
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

Post Reply

Return to “[2.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 5 guests

cron