Code: Select all
The confirmation code you entered was incorrect
Code: Select all
The confirmation code you entered was incorrect
Code: Select all
#
#-----[ BEFORE, ADD ]------------------------------------------
# Hint: Change the third definition to say where the code will be displayed. The link is
# there as a guidelines; you don't necessarily need to use it.
# You may also change $lang['rac_location'] to a question, to which the code is the answer.
# Examples: http://www.marshalrusty.com/phpBB/spam/description.gif and http://www.marshalrusty.com/phpBB/spam/question.gif
#
// RAC MOD Begin
$lang['rac_incorrect'] = 'The authorization code you have entered is incorrect. The location of the code should be stated on the registration page. Please try again.';
$lang['rac_code'] = 'Authorization Code';
$lang['rac_location'] = 'You can find the auth code on the following page: <a href="http://wwww.yoursite.com">Location Title</a>';
// RAC MOD End
Code: Select all
#
#-----[ AFTER, ADD ]------------------------------------------
# Hint: Change the 'qwerty12345' to the auth code that you want to use
# If you want the code to be case insensitive, use the following instead of the first line (without the # in front):
# if (strtolower($HTTP_POST_VARS['RAC']) != 'qwerty12345')
#
// RAC MOD Begin
if ($HTTP_POST_VARS['RAC'] != 'qwerty12345')
Code: Select all
if ( isset($HTTP_POST_VARS['submit']) )
{
include($phpbb_root_path . 'includes/usercp_avatar.'.$phpEx);
$passwd_sql = '';
if ( $mode == 'editprofile' )
{
if ( $user_id != $userdata['user_id'] )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Wrong_Profile'];
}
}
else if ( $mode == 'register' )
// RAC MOD Begin
if ($HTTP_POST_VARS['RAC'] != '43mjop')
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['rac_incorrect'];
}
// RAC MOD End
{
if ( empty($username) || empty($new_password) || empty($password_confirm) || empty($email) )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
if ($board_config['enable_confirm'] && $mode == 'register')
{
if (empty($HTTP_POST_VARS['confirm_id']))
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Confirm_code_wrong'];
}
else
{
$confirm_id = htmlspecialchars($HTTP_POST_VARS['confirm_id']);
if (!preg_match('/^[A-Za-z0-9]+$/', $confirm_id))
{
$confirm_id = '';
}
$sql = 'SELECT code
FROM ' . CONFIRM_TABLE . "
Code: Select all
$lang['Admin_reauthenticate'] = 'To administer the board you must re-authenticate yourself.';
// RAC MOD Begin
$lang['rac_incorrect'] = 'The authorization code you have entered is incorrect. The location of the code should be stated on the registration page. Please try again.';
$lang['rac_code'] = 'Authorization Code';
$lang['rac_location'] = 'You can find the auth code on the following page: <a href="http://redroomies.com/">Location Title</a>';
// RAC MOD End
//
// That's all, Folks!
I don't know what you are referring to here. The is no "folder spam" in phpBB.rakastajatar wrote:i don't have the folder spam
I think you are referring to the "Visual Confirmation". (It is NOT a "GIF file")and the gif files. before someone they were there now they are not. when the gif file was shown with a code, it always said the code was incorrect when it wasnt.
As I already mentioned earlier, you still need to edit the "Location Title" text to describe the page which you are linking to.Code: Select all
$lang['Admin_reauthenticate'] = 'To administer the board you must re-authenticate yourself.'; // RAC MOD Begin $lang['rac_incorrect'] = 'The authorization code you have entered is incorrect. The location of the code should be stated on the registration page. Please try again.'; $lang['rac_code'] = 'Authorization Code'; $lang['rac_location'] = 'You can find the auth code on the following page: <a href="http://redroomies.com/">Location Title</a>'; // RAC MOD End // // That's all, Folks!
This is your description of the page that the registration code appears on.rakastajatar wrote:the plast part of you reply,
i do not know correct link or description to place in there.
Gott'caric323 wrote:This is your description of the page that the registration code appears on.rakastajatar wrote:the plast part of you reply,
i do not know correct link or description to place in there.
In your case, something like "The Red Roomies home page" or "on our home page" might be appropriate. That's your choice. It has no functional effect on the MOD, it's just a visual aid for people registering on your board.
then that means that your email error is not related to the MOD.dandan14 wrote:I too am getting the emailer.php error. What I can't figure out is that even after uninstalling the mod (by restoring the backed up files) I still got the error. I even went as far as to restore all my files in the phpbb directory and still get the error.
How could this be that something is still out of whack even after a restore? I'll worry about getting the mod working later, but right now I have to make sure I can let people register. ARG!
because those settings are stored in the database. you could restore the files a hundred times and it would not change any of the settings for the board because they are not in the files.dandan14 wrote:Well, I got it working, but only after reconfiguring the mail settings. How was that not restored when I restored the files????
It is effectively built-in to phpBB3.burgo wrote:Is there a version of this (very essential) mod for phpBB 3.0.x?
If not, can anyone provide guidelines for implementing/adapting it to work with v.3.0.x?
Thanks in advance.
Code: Select all
$passwd_sql = '';
if ( $mode == 'editprofile' )
{
if ( $user_id != $userdata['user_id'] )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Wrong_Profile'];
}
}
else if ( $mode == 'register' )
{ if (strtolower($HTTP_POST_VARS['RAC']) != 'Blurbs')
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['rac_incorrect'];
} if ( empty($username) || empty($new_password) || empty($password_confirm) || empty($email) )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
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'],
'L_RAC_CODE' => $lang['rac_code'],
'L_RAC_LOCATION' => $lang['rac_location'],
Code: Select all
$lang['Admin_reauthenticate'] = 'To administer the board you must re-authenticate yourself.';
$lang['rac_incorrect'] = 'The authorization code you have entered is incorrect. The location of the code can be found at the top of this page. Please try again.';
$lang['rac_code'] = 'Authorization Code';
$lang['rac_location'] = 'What word is missing from this phrase: ______ & Blunders ';
//
// That's all, Folks!
// -------------------------------------------------
Code: Select all
<!-- BEGIN switch_confirm -->
<tr>
<td colspan="2"><h2>{L_CONFIRM_CODE}</h2></td>
</tr>
<tr>
<td class="row1 two txtcenter" colspan="2">{L_CONFIRM_CODE_IMPAIRED}<br /><br />{CONFIRM_IMG}<br /><br /></td>
</tr>
<tr>
<td class="row1 one">{L_CONFIRM_CODE_EXPLAIN}</td>
<td class="row2 two">
<input type="text" class="post postmedium" name="confirm_code" maxlength="6" value="" size="20" /></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_RAC_CODE}: * </span><br />
<span class="gensmall">{L_RAC_LOCATION}</span></td>
<td class="row2">
<input type="text" class="post" style="width: 200px" name="RAC" size="25" maxlength="32" />
</td>
</tr>
<!-- END switch_confirm -->