Seite 1 von 4
Bestätigungs-Code wird nicht angezeigt
Verfasst: 04.11.2005 17:31
von laramaus77
wie immer hab ich brav (fast) alle beiträge durchforstet bevor ich poste - hab aber nichts gefunden was mich weiterbringt
ich bekomm den code nicht angezeigt
http://www.world-of-beauty.at/phpBB2/index.php
hab vorgestern die version 2.0.18 installiert (komplette neuinstallation)
Verfasst: 04.11.2005 17:41
von |Tobi|
Verfasst: 04.11.2005 17:44
von laramaus77
hab ich schon geschaut, das war von vornherein so - brauchte nix ändern
Verfasst: 04.11.2005 23:59
von Markus67
Hi ...
kannst du das ganze mal im Adminbereich aktivieren ... vom Visual Confirmation MOD ist überhaupt nichts zu sehen
Adminbereich -> allgemein -> Konfiguration
Markus
Verfasst: 05.11.2005 08:22
von laramaus77
klar - ich habs nur deaktiviert weil ich was anderes testen wollte
Verfasst: 05.11.2005 09:46
von gott
dieses script checkt all dine Templates für das Bild beim Code
lade es ins root Verzeichnis und nenne es template_check.php
dann aufrufen:
http://www.deineseite.com/forum/template_check.php
Code: Alles auswählen
<?php
// read config file
define('IN_PHPBB', true);
$phpbb_root_path = './';
$template_path= $phpbb_root_path . "templates/";
include($phpbb_root_path . 'config.php');
// connect to the database server
$db = mysql_connect($dbhost,$dbuser,$dbpasswd);
if (!$db) die("Unable to connect to database!\n");
// select the PHPBB database
mysql_select_db($dbname,$db);
$sql = "SELECT template_name, style_name FROM ".$table_prefix."themes";
$styles = mysql_query($sql,$db);
if ($styles === false)
die("No styles found!\n");
while ($check = mysql_fetch_array($styles))
{
$check_path1 = $template_path . $check['template_name'] . "/profile_add_body.tpl";
$check_path2 = $template_path . $check['template_name'] . "/admin/board_config_body.tpl";
$user_text = file_get_contents($check_path1);
$user = strpos(strtolower($user_text),"switch_confirm");
$config_text = file_get_contents($check_path2);
$config = strpos(strtolower($config_text),"visual_confirm");
echo "Style '".$check['style_name']."' ";
echo $user > 0 ? "supports " : "does not support ";
echo "Visual Confirmation for registration, ";
echo $config > 0 ? "supports " : "does not support ";
echo "Visual Confirmation configuration option.<br>\n";
}
?>
Verfasst: 05.11.2005 10:52
von laramaus77
wenn ich das mach, dann kommt diese meldung:
Style 'subSilver' supports Visual Confirmation for registration, supports Visual Confirmation configuration option.
Verfasst: 05.11.2005 11:35
von gott
über dein jetzigen Style kam keine meldung?!
öffne im aktuellen TEMPLATE ORDNER:
admin/board_config_body.tpl, finde "L_ACCT_ACTIVATION"
danach
Code: Alles auswählen
<tr>
<td class="row1">{L_VISUAL_CONFIRM}<br /><span class="gensmall">{L_VISUAL_CONFIRM_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="enable_confirm" value="1" {CONFIRM_ENABLE} />{L_YES} <input type="radio" name="enable_confirm" value="0" {CONFIRM_DISABLE} />{L_NO}</td>
</tr>
öffne profile_add_body.tpl, finde "L_CONFIRM_PASSWORD"
darunter einfügen:
Code: Alles auswählen
<!-- Visual Confirmation -->
<!-- BEGIN switch_confirm -->
<tr>
<td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br /><br />{CONFIRM_IMG}<br /><br /></td>
</tr>
<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="6" maxlength="6" value="" /></td>
</tr>
<!-- END switch_confirm -->

Verfasst: 05.11.2005 11:45
von laramaus77
funkt no imma ned
hab das jetzt so gemacht
www.world-of-beauty.at/profile_add_body.txt
Verfasst: 05.11.2005 17:58
von Markus67
Jetzt ist es deaktiviert
Hast du denn im Adminbereich die Möglichkeit Visual Confirmation zu aktivieren ... und bleibt diese Einstellung dann auch gespeichert?
Markus