Probleme mit Visueller Registrierung
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
hallo
hallo,
das sind
http://www.diskusportal.ch/phpBB2/profile.txt
http://www.diskusportal.ch/phpBB2/inclu ... gister.txt
Gruss
Ralf
das sind
http://www.diskusportal.ch/phpBB2/profile.txt
http://www.diskusportal.ch/phpBB2/inclu ... gister.txt
Gruss
Ralf
Hi ...
suche in der usercp_register.php
danach einfügen:
suche:
danach einfügen (vor // Start add - Birthday MOD)
suche:
danach einfügen:
suche:
danach einfügen:
suche:
sofort danach kommt dieser Block ... den bitte löschen.
Markus
suche in der usercp_register.php
Code: Alles auswählen
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'realname' => 'realname', 'adress' => 'adress', 'birth' => 'birth', 'photo' => 'photo', 'slogan' => 'slogan', 'opt_title' => 'opt_title', 'opt_text' => 'opt_text', 'team_desc' => 'team_desc', 'team_text' => 'team_text');
Code: Alles auswählen
$strip_var_list['confirm_code'] = 'confirm_code';
Code: Alles auswählen
$template->assign_block_vars('switch_namechange_disallowed', array());
}
Code: Alles auswählen
// Visual Confirmation
$confirm_image = '';
if (!empty($board_config['enable_confirm']) && $mode == 'register')
{
$sql = 'SELECT session_id
FROM ' . SESSIONS_TABLE;
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not select session data', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
$confirm_sql = '';
do
{
$confirm_sql .= (($confirm_sql != '') ? ', ' : '') . "'" . $row['session_id'] . "'";
}
while ($row = $db->sql_fetchrow($result));
$sql = 'DELETE FROM ' . CONFIRM_TABLE . "
WHERE session_id NOT IN ($confirm_sql)";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not delete stale confirm data', '', __LINE__, __FILE__, $sql);
}
}
$db->sql_freeresult($result);
$sql = 'SELECT COUNT(session_id) AS attempts
FROM ' . CONFIRM_TABLE . "
WHERE session_id = '" . $userdata['session_id'] . "'";
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not obtain confirm code count', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
if ($row['attempts'] > 3)
{
message_die(GENERAL_MESSAGE, $lang['Too_many_registers']);
}
}
$db->sql_freeresult($result);
$confirm_chars = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9');
list($usec, $sec) = explode(' ', microtime());
mt_srand($sec * $usec);
$max_chars = count($confirm_chars) - 1;
$code = '';
for ($i = 0; $i < 6; $i++)
{
$code .= $confirm_chars[mt_rand(0, $max_chars)];
}
$confirm_id = md5(uniqid($user_ip));
$sql = 'INSERT INTO ' . CONFIRM_TABLE . " (confirm_id, session_id, code)
VALUES ('$confirm_id', '". $userdata['session_id'] . "', '$code')";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not insert new confirm code information', '', __LINE__, __FILE__, $sql);
}
unset($code);
$confirm_image = (@extension_loaded('zlib')) ? '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id") . '" alt="" title="" />' : '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=1") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=2") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=3") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=4") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=5") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=6") . '" alt="" title="" />';
$s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';
$template->assign_block_vars('switch_confirm', array());
}
Code: Alles auswählen
'CUR_PASSWORD' => $cur_password,
'NEW_PASSWORD' => $new_password,
'PASSWORD_CONFIRM' => $password_confirm,
Code: Alles auswählen
'CONFIRM_IMG' => $confirm_image,
Code: Alles auswählen
'L_PROFILE_INFO' => $lang['Profile_info'],
'L_PROFILE_INFO_NOTICE' => $lang['Profile_info_warn'],
'L_EMAIL_ADDRESS' => $lang['Email_address'],
Code: Alles auswählen
'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'],
Code: Alles auswählen
'S_FORM_ENCTYPE' => $form_enctype,
'S_PROFILE_ACTION' => append_sid("profile.$phpEx"))
);
Code: Alles auswählen
// Visual Confirmation
$confirm_image = '';
if (!empty($board_config['enable_confirm']) && $mode == 'register')
{
$sql = 'SELECT session_id
FROM ' . SESSIONS_TABLE;
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not select session data', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
$confirm_sql = '';
do
{
$confirm_sql .= (($confirm_sql != '') ? ', ' : '') . "'" . $row['session_id'] . "'";
}
while ($row = $db->sql_fetchrow($result));
$sql = 'DELETE FROM ' . CONFIRM_TABLE . "
WHERE session_id NOT IN ($confirm_sql)";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not delete stale confirm data', '', __LINE__, __FILE__, $sql);
}
}
$db->sql_freeresult($result);
$sql = 'SELECT COUNT(session_id) AS attempts
FROM ' . CONFIRM_TABLE . "
WHERE session_id = '" . $userdata['session_id'] . "'";
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not obtain confirm code count', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
if ($row['attempts'] > 3)
{
message_die(GENERAL_MESSAGE, $lang['Too_many_registers']);
}
}
$db->sql_freeresult($result);
$confirm_chars = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9');
list($usec, $sec) = explode(' ', microtime());
mt_srand($sec * $usec);
$max_chars = count($confirm_chars) - 1;
$code = '';
for ($i = 0; $i < 6; $i++)
{
$code .= $confirm_chars[mt_rand(0, $max_chars)];
}
$confirm_id = md5(uniqid($user_ip));
$sql = 'INSERT INTO ' . CONFIRM_TABLE . " (confirm_id, session_id, code)
VALUES ('$confirm_id', '". $userdata['session_id'] . "', '$code')";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not insert new confirm code information', '', __LINE__, __FILE__, $sql);
}
unset($code);
$confirm_image = (@extension_loaded('zlib')) ? '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id") . '" alt="" title="" />' : '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=1") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=2") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=3") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=4") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=5") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=6") . '" alt="" title="" />';
$s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';
$template->assign_block_vars('switch_confirm', array());
}
.... Telefon-Support - Schnelle Hilfe bei Hackangriffen, Modeinbau, Templateanpassung, Grafikerst., uvm.
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
danke
danke habe ich gemacht.
In der Adminsitration bleibt aber nein nicht angehakt ! Wenn ich nein wähle.
Bei ja kommt nun das Feld . Teste es später.
Gruss
Ralf
In der Adminsitration bleibt aber nein nicht angehakt ! Wenn ich nein wähle.
Bei ja kommt nun das Feld . Teste es später.
Gruss
Ralf
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
also
also Visuell geht mit Registration
Aber wählt man nein , bleibt der Punkt nich angekreuzt geht aber.
Gruss
Ralf
Aber wählt man nein , bleibt der Punkt nich angekreuzt geht aber.
Gruss
Ralf
Hi ...
Hab ich das jetzt richtig verstanden .. die Grafike wird jetzt angezeigt?
Im Adminbereich kannst du es aktiveren und es bleibt auch aktiviert aber die Kennzeichnung springt auf nein?
Verlinke bitte noch die
admin/admin_board.php
Markus
Hab ich das jetzt richtig verstanden .. die Grafike wird jetzt angezeigt?
Im Adminbereich kannst du es aktiveren und es bleibt auch aktiviert aber die Kennzeichnung springt auf nein?
Verlinke bitte noch die
admin/admin_board.php
Markus
.... Telefon-Support - Schnelle Hilfe bei Hackangriffen, Modeinbau, Templateanpassung, Grafikerst., uvm.
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
nein
nein .
Sage ich ja bleibt es bei ja angekreuzt .
Sage ich nein , siehst du keine Ankreuzung.
Gehen tut aber beides.
Anbei die Admin_board
http://www.diskusportal.ch/phpBB2/admin/admin_board.txt
Gruss
Ralf
Sage ich ja bleibt es bei ja angekreuzt .
Sage ich nein , siehst du keine Ankreuzung.
Gehen tut aber beides.
Anbei die Admin_board
http://www.diskusportal.ch/phpBB2/admin/admin_board.txt
Gruss
Ralf
Hi ...
mmmhhh ... die Datei ist auch in Ordnung.
Kannst du es mal aktivieren .. dann versuche ich mich mal zu registrieren.
Markus
mmmhhh ... die Datei ist auch in Ordnung.
Kannst du es mal aktivieren .. dann versuche ich mich mal zu registrieren.
Markus
.... Telefon-Support - Schnelle Hilfe bei Hackangriffen, Modeinbau, Templateanpassung, Grafikerst., uvm.
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
wie aktivieren
wie aktivieren
Mit Visuell oder ohne Visuell ?
Gehen tut ja beides nur in der Adminsitration zeigt es wenn ich "Nein" wähle nichts an.
Gruss
Ralf
Mit Visuell oder ohne Visuell ?
Gehen tut ja beides nur in der Adminsitration zeigt es wenn ich "Nein" wähle nichts an.
Gruss
Ralf
Hi ...
na wenns funktioniert ist ja gut ... aber warum ist der Button nicht aktiviert wenn es auf nein steht.
Das kann nur an der admin/admin_board.php oder der admin/board_config_body.tpl liegen und die sind beide ok
Markus
na wenns funktioniert ist ja gut ... aber warum ist der Button nicht aktiviert wenn es auf nein steht.

Das kann nur an der admin/admin_board.php oder der admin/board_config_body.tpl liegen und die sind beide ok

Markus
.... Telefon-Support - Schnelle Hilfe bei Hackangriffen, Modeinbau, Templateanpassung, Grafikerst., uvm.
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
-
- Mitglied
- Beiträge: 437
- Registriert: 05.04.2005 23:29
Ja
ja das wundert mich .
Aber wenn Du nichts siehst. Würde ich vorerst sagen .
Don`t touch a running Forum . Oder so ähnlich.
Vielleicht gibts zu einem anderen Zeitpunkt ja ne Idee , oder so.
Danke und Gruss
Ralf
Aber wenn Du nichts siehst. Würde ich vorerst sagen .
Don`t touch a running Forum . Oder so ähnlich.
Vielleicht gibts zu einem anderen Zeitpunkt ja ne Idee , oder so.
Danke und Gruss
Ralf