finden...

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

finden...

Beitrag von aidacha »

Es heisse ich solle in usercp_register.php das finden:
$template->assign_vars(array(
.
.
.
.
'INTERESTS' => $interests,


dies finde ich aber nicht, kann mir jemand weiterhelfen?
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

hi ...

welchen mod willst du einbauen ?

verlinke doch einfach mal deine usercp_register.php als textdatei ...
als txt-datei bereitstellen

markus
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

mod

Beitrag von aidacha »

den persönlichen notiz mod, oder wie auch immer der heisst :lol:

weisst du ich kann es online bearbeiten, ich öffne dann usercp_register.php und kopiere den text in meinen editor, dann suche ich nach dem gesuchten: $template->assign_vars(array(
.
.
.
.
'INTERESTS' => $interests,

aber erfolglos :S
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

dann such doch nur einen teil, z.b.

Code: Alles auswählen

$interests
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

schon probiert

Beitrag von aidacha »

hab' ich schon probiert, da gab es nur 2 von: 'INTERESTS' => $interests,

aber keinen der auf:

$template->assign_vars(array(
.
.
.
.
'INTERESTS' => $interests,

entspricht
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

hi ...

der block müsste ungefähr so aussehen und ziemlich weit unten stehen ...

Code: Alles auswählen

	$template->assign_vars(array(
		'USERNAME' => $username,
		'CUR_PASSWORD' => $cur_password,
		'NEW_PASSWORD' => $new_password,
		'PASSWORD_CONFIRM' => $password_confirm,
		'EMAIL' => $email,
		'YIM' => $yim,
		'ICQ' => $icq,
		'MSN' => $msn,
		'AIM' => $aim,
		'OCCUPATION' => $occupation,
		'INTERESTS' => $interests,
		'plz' => $plz,
		'L_plz' => $lang['plz'],
markus
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

thx!!

Beitrag von aidacha »

ahaaa! deshalb die punkte! ach bin ich dumm! danke vielmal!!
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

Beitrag von aidacha »

jetzt bin ich beim ende der anleitung angekommen, da geht aber was net:



#-----[ OPEN ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#

function redirect($url)
{
global $db, $board_config;

if (!empty($db))
{
$db->sql_close();
}

$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

// Redirect via an HTML form for PITA webservers
if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
{
header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
}

// Behave as per HTTP/1.1 spec for others
header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url);
exit;
}


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


na gut, ich öffne diesen ordner, suche ?>, kopiere das was gesagt wird hinein. speichere. aktualisiere das forum, und was kommt, wenn ich oben auf notizen klicke??

Could not obtain notes/user information.

DEBUG MODE

SQL Error : 1146 Table 'usr_web3129_1.phpbb_notes' doesn't exist

SELECT * FROM phpbb_notes WHERE poster_id = 2 ORDER BY post_time ASC

Line : 108
File : /var/www/web3129/html/phpbb2.0.8/notes.php



na gut, dann schau ich eben notes.php an. bei line 108 steht folgendes:

message_die(GENERAL_ERROR, "Could not obtain notes/user information.", '', __LINE__, __FILE__, $sql);


was isch das falsch?! :S[/b]
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

Beitrag von aidacha »

jetzt bin ich beim ende der anleitung angekommen, da geht aber was net:



#-----[ OPEN ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#

function redirect($url)
{
global $db, $board_config;

if (!empty($db))
{
$db->sql_close();
}

$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

// Redirect via an HTML form for PITA webservers
if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
{
header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
}

// Behave as per HTTP/1.1 spec for others
header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url);
exit;
}


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


na gut, ich öffne diesen ordner, suche ?>, kopiere das was gesagt wird hinein. speichere. aktualisiere das forum, und was kommt, wenn ich oben auf notizen klicke??

Could not obtain notes/user information.

DEBUG MODE

SQL Error : 1146 Table 'usr_web3129_1.phpbb_notes' doesn't exist

SELECT * FROM phpbb_notes WHERE poster_id = 2 ORDER BY post_time ASC

Line : 108
File : /var/www/web3129/html/phpbb2.0.8/notes.php



na gut, dann schau ich eben notes.php an. bei line 108 steht folgendes:

message_die(GENERAL_ERROR, "Could not obtain notes/user information.", '', __LINE__, __FILE__, $sql);


was isch das falsch?! :S[/b]
aidacha
Mitglied
Beiträge: 96
Registriert: 09.04.2004 02:09

Beitrag von aidacha »

jetzt bin ich beim ende der anleitung angekommen, da geht aber was net:



#-----[ OPEN ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
# Only if your phpBB2 is older than 2.0.4!
#

function redirect($url)
{
global $db, $board_config;

if (!empty($db))
{
$db->sql_close();
}

$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

// Redirect via an HTML form for PITA webservers
if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
{
header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
}

// Behave as per HTTP/1.1 spec for others
header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url);
exit;
}


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


na gut, ich öffne diesen ordner, suche ?>, kopiere das was gesagt wird hinein. speichere. aktualisiere das forum, und was kommt, wenn ich oben auf notizen klicke??

Could not obtain notes/user information.

DEBUG MODE

SQL Error : 1146 Table 'usr_web3129_1.phpbb_notes' doesn't exist

SELECT * FROM phpbb_notes WHERE poster_id = 2 ORDER BY post_time ASC

Line : 108
File : /var/www/web3129/html/phpbb2.0.8/notes.php



na gut, dann schau ich eben notes.php an. bei line 108 steht folgendes:

message_die(GENERAL_ERROR, "Could not obtain notes/user information.", '', __LINE__, __FILE__, $sql);


was isch das falsch?! :S[/b]
Antworten

Zurück zu „phpBB 2.0: Mod Support“