 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/19/2007 11:39 PM |
|
|
|
|
|
| Sparrow |
| Posts |
17 |
| Word Cnt. |
766 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Mar 19, 2007
Local time: 2:03 PM
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/19/2007 11:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:03 PM
Location: St Pete, FL
|

|
|
|
|
 |
Your usercp_register.php file does not include the confirm code that was added in a later phpBB Update. So if you update, you may want to come back and add the following code. For now, you can remove this from the MOD script:
OPEN
Anti-Spam_ACP.mod
FIND & REMOVE
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
if ($row['code'] != $confirm_code)
{
#
#-----[ REPLACE WITH ]----------------------------------
#
// Start Anti-Spam ACP MOD
if ( ( ($board_config['as_acp_captcha_case_sensative'] == '0') && (strtoupper($row['code']) != strtoupper($confirm_code)) ) || ( ($board_config['as_acp_captcha_case_sensative'] == '1') && ($row['code'] != $confirm_code) ))
{
if ( ($confirm_code == '') && ($board_config['as_acp_log_captcha']) )
{
$as_triggers .= sprintf($lang['No_Captcha_Code'], $row['code']) . '%end_of_line%';
}
else if ($board_config['as_acp_log_captcha'])
{
$as_triggers .= sprintf($lang['Wrong_Captcha_Code'], $row['code'], $confirm_code) . '%end_of_line%';
}
// End Anti-Spam ACP MOD
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/19/2007 11:51 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:03 PM
Location: St Pete, FL
|

|
|
|
|
 |
Actually most of this code for the usercp_register.php file is worthless for your current version. You might as well remove all of this:
| Code:
|
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
$error = FALSE;
#
#-----[ AFTER, ADD ]------------------------------------
#
// Start Anti-Spam ACP MOD
require($phpbb_root_path . 'includes/anti_spam_acp.' . $phpEx);
// End Anti-Spam ACP MOD
#
#-----[ FIND ]------------------------------------------
#
if ($row['code'] != $confirm_code)
{
#
#-----[ REPLACE WITH ]----------------------------------
#
// Start Anti-Spam ACP MOD
if ( ( ($board_config['as_acp_captcha_case_sensative'] == '0') && (strtoupper($row['code']) != strtoupper($confirm_code)) ) || ( ($board_config['as_acp_captcha_case_sensative'] == '1') && ($row['code'] != $confirm_code) ))
{
if ( ($confirm_code == '') && ($board_config['as_acp_log_captcha']) )
{
$as_triggers .= sprintf($lang['No_Captcha_Code'], $row['code']) . '%end_of_line%';
}
else if ($board_config['as_acp_log_captcha'])
{
$as_triggers .= sprintf($lang['Wrong_Captcha_Code'], $row['code'], $confirm_code) . '%end_of_line%';
}
// End Anti-Spam ACP MOD
#
#-----[ FIND ]------------------------------------------
#
$passwd_sql = '';
#
#-----[ BEFORE, ADD ]-----------------------------------
#
// Start Anti-Spam ACP MOD
if ($as_triggers != '')
{
log_spam($as_triggers, $username, $user_id, $email, $lang['During_Registration'], sprintf($lang['Not_Test_Email_Header'], ($mode == 'register') ? $lang['Registering'] : $lang['Editing_Profile']));
}
// End Anti-Spam ACP MOD
#
#-----[ FIND ]------------------------------------------
# if you can not find this you are probably using an older version of phpBB2, I suggest you upgrade to the latest version
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);
#
#-----[ REPLACE WITH ]----------------------------------
#
// Start Anti-Spam ACP MOD
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), rand(0, 3), rand(2, 8));
// End Anti-Spam ACP MOD
#
#-----[ FIND ]------------------------------------------
#
'L_CONFIRM_CODE_EXPLAIN' => $lang['Confirm_code_explain'],
#
#-----[ REPLACE WITH ]----------------------------------
#
'L_CONFIRM_CODE_EXPLAIN' => $lang['New_Confirm_Code_Explain'],
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/19/2007 11:56 PM |
|
|
|
|
|
| Sparrow |
| Posts |
17 |
| Word Cnt. |
766 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Mar 19, 2007
Local time: 2:03 PM
|

|
|
|
|
 |
man there's alot of errors
the new one that cropped up after i made the change was
FIND FAILED: In file [includes/usercp_register.php] could not find:
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);
MOD script line #400 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 12:05 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:03 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, this MOD was designed for phpBB 2.0.22 and a lot of what it is modifying is not in your phpBB version. You must have missed my message just above your last reply. You might as well remove all the code that is modify your usercp_register.php file...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 10:06 AM |
|
|
|
|
|
| Sparrow |
| Posts |
17 |
| Word Cnt. |
766 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Mar 19, 2007
Local time: 2:03 PM
|

|
|
|
|
 |
| I'm gonna likely just update phpbb this way it'll make it easier for installing future mods, do you have any advice on how I can update my boards while retaining as many mods as possible? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 4:54 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:03 PM
Location: St Pete, FL
|

|
|
|
|
 |
I just looked and found that I have phpBB updates from 2.0.6 on up. I would be happy to make them available to you. That only leaves a gap of 2.0.3-2.0.5. I have no idea how much was modified in those phpBB Updates, so I don't know if skipping them would cause any problems down the road or not. It's a shame that they have not gotten the phpBB MOD Database up and running yet...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 5:15 PM |
|
|
|
|
|
| Sparrow |
| Posts |
17 |
| Word Cnt. |
766 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Mar 19, 2007
Local time: 2:03 PM
|

|
|
|
|
 |
| Do you happen to have 2.0.17-2.0.18 in mod format by chance? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 5:21 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:03 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, I have updates from 2.0.6 on up that I can make available...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem Installing all mods via Easymod |  |
Posted: 03/20/2007 7:58 PM |
|
|
|
|
|
| Sparrow |
| Posts |
17 |
| Word Cnt. |
766 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Mar 19, 2007
Local time: 2:03 PM
|

|
|
|
|
 |
| If you can, can you please post a link for the 2.0.17-2.0.18 mod? |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|