ich habe den Advanced Visual Confirmation Version 1.2.0b in mein Forum eingebaut. Ich habe alles nach Anleitung gemacht und trotzdem werden auf der Registrierungsseite keine Bilder/Codes angezeigt, die man dann bestätigen müsste.
Kann mir jemand vielleicht helfen und mir sagen, wo der Fehler liegt?
Hier mal die veränderten Auschnitte meiner Dateien:
profile.php:
Code: Alles auswählen
include($phpbb_root_path . 'includes/usercp_register.'.$phpEx);
exit;
}
else if ( $mode == 'confirm' )
{
// Visual Confirmation
if ( $userdata['session_logged_in'] && (htmlspecialchars($HTTP_GET_VARS['id']) != 'Admin'))
{
exit;
}
Code: Alles auswählen
define('CONFIG_TABLE', $table_prefix.'config');
define('CAPTCHA_CONFIG_TABLE', $table_prefix.'captcha_config');
Code: Alles auswählen
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_captcha.' . $phpEx);
}
Code: Alles auswählen
// Generate the required confirmation code
$code_length = mt_rand(4, 6);
$code = dss_rand();
$code = strtoupper(base_convert($code, 16, 35));
$code = str_replace('I', '', $code); // The letter I could get confused with the letter J and the number 1 (one) so we remove it
$code = str_replace('0', '', $code); // NB 0 (zero) could get confused with O (the letter) so we remove it
$code = substr($code, 2, $code_length);
Code: Alles auswählen
<tr>
<td class="row1"><span class="gen">{L_CONFIRM_CODE}: * </span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input type="text" class="post" style="width: 200px" name="confirm_code" size="10" maxlength="10" value="" /></td>
</tr>
Ich habe das phpBB 2.0.22, auf dem Server läuft PHP Version 4.3.10-16 und GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
Habe ich irgendwas übersehen?
Vielen Dank schon mal,
sandii