Seite 2 von 2

Verfasst: 06.03.2006 12:07
von Jadawin
Aber gern ich denke du meinst den link.

http://forum.pagu.de/profile.php?mode=a ... 6649d4dcac

Verfasst: 06.03.2006 12:18
von mad-manne
Tja ... denn verlinke doch mal deine includes/usercp_activate.php

Was war noch mal der Hintergrund des Problems :o
--> update von 2.0.xx auf 2.0.19 richtig ??

Manne.

Verfasst: 06.03.2006 13:21
von Jadawin
ja richtig habe von 2.0.17 auf 2.0.19 geupdatet.

hier die datei.

http://forum.pagu.de/includes/usercp_activate.txt

Verfasst: 06.03.2006 14:36
von Dr.Death
Suche:

Code: Alles auswählen

	else if ((trim($row['user_actkey']) == trim($HTTP_GET_VARS['act_key'])) && (trim($row['user_actkey']) != ''))
	if (intval($board_config['require_activation']) == USER_ACTIVATION_ADMIN && $row['user_newpasswd'] == '')
		{
			if (!$userdata['session_logged_in'])
			{
				redirect(append_sid('login.' . $phpEx . '?redirect=profile.' . $phpEx . '&mode=activate&' . POST_USERS_URL . '=' . $row['user_id'] . '&act_key=' . trim($HTTP_GET_VARS['act_key'])));
			}
			else if ($userdata['user_level'] != ADMIN)
			{
				message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
			}
		}
	{
Ersetze mit:

Code: Alles auswählen

	else if ((trim($row['user_actkey']) == trim($HTTP_GET_VARS['act_key'])) && (trim($row['user_actkey']) != ''))
	{
		if (intval($board_config['require_activation']) == USER_ACTIVATION_ADMIN && $row['user_newpasswd'] == '')
		{
			if (!$userdata['session_logged_in'])
			{
				redirect(append_sid('login.' . $phpEx . '?redirect=profile.' . $phpEx . '&mode=activate&' . POST_USERS_URL . '=' . $row['user_id'] . '&act_key=' . trim($HTTP_GET_VARS['act_key'])));
			}
			else if ($userdata['user_level'] != ADMIN)
			{
				message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
			}
		}
Du hast beim Einbau eine { missachtet :roll:

Verfasst: 06.03.2006 14:45
von Jadawin
wow david gegen goliat da sieht man mal das uns die kleinigkeiten im leben immer wieder ausbremsen.

Ich danke euch für eure super Hilfe!!!

Verfasst: 06.03.2006 14:46
von Dr.Death
*Prost* Ich trink Pils :-)