Seite 1 von 2

Birthady mod prob

Verfasst: 19.09.2005 05:59
von franticfreak
Hi
Habe nen prob habe jetzt ne std an der BD mod drangehangen und jetzt kommt der fehler,wenn ich im forum in mein profiel gehen will

Parse error: parse error, unexpected ',' in /usr/export/www/vhosts/funnetwork/hosting/fallinangel/includes/usercp_register.php on line 890

Was nun? ich habe in zeile 890 nachgeguckt und nichts gefunden aber evtl ja ihr

hier ist die zeile
display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, &$new_password, &$cur_password, $password_confirm, $icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature, $viewemail, $notifypm, $popup_pm, $notifyreply, $attachsig, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $user_dateformat, $userdata['session_id'], $birthday);
}
else
{
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx, ;

if ( !isset($coppa) )
{
$coppa = FALSE;
}

if ( !isset($user_template) )
{
$selected_template = $board_config['system_template'];
}

$avatar_img = '';
if ( $user_avatar_type )
{
switch( $user_avatar_type )

und hier die sache die man einfügen muss
#-----[ FIND ]------------------------------------------------
#
display_avatar_gallery($mode

#
#-----[ IN-LINE FIND ]----------------------------------------
#
);

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
, $birthday

und so habe ich das auch gemacht

evtl findet ihr ja den fehler

Verfasst: 19.09.2005 09:30
von Markus67
Hi ...

verlinke mal bitte die komplette usercp_register.php als txt-Datei.
KB:datei

Markus

Verfasst: 19.09.2005 10:33
von Tasso
Ersetze mal

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_selects.'.$phpEx, ;
durch

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);

Verfasst: 19.09.2005 10:40
von franticfreak
http://fallinangel.fa.funpic.de/usercp_register.txt


hier bitte


das mit dem ersetzten hats leider auch nicht gebracht. shit

Verfasst: 19.09.2005 10:47
von Markus67
Hi ...

das ist aber schonmal das erste was ersetze werden muss ...
suche:

Code: Alles auswählen

	include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);)
ersetze mit:

Code: Alles auswählen

	include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
wie lautet dann die Fehlermeldung?

Markus

Verfasst: 19.09.2005 10:48
von Tasso
Die Zeile

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);)
muß anders, nämlich

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
so aussehen.

Edit: ups, war jemand schneller

Verfasst: 19.09.2005 10:50
von Markus67
Hi ...

ich habe jetzt mal die Datei komplett durchgesehen ... da sind noch einige Fehler drin ... ist das der einzige MOD den du bisher eingebaut hast?

Markus

Verfasst: 19.09.2005 11:21
von franticfreak
eigentlich nicht, habe schon massig mods im forum.kp warums bei der so schwer ist,

habe nun auch hier in der viewtopic.php nen fehler in line 1209
http://fallinangel.fa.funpic.de/viewtopic.txt
Parse error: parse error, unexpected T_DOUBLE_ARROW, expecting ')' in /usr/export/www/vhosts/funnetwork/hosting/fallinangel/viewtopic.php on line 1201

und auch in der admin_board.php

Parse error: parse error, unexpected T_DOUBLE_ARROW, expecting ')' in /usr/export/www/vhosts/funnetwork/hosting/fallinangel/admin/admin_board.php on line 205
http://fallinangel.fa.funpic.de/admin_board.txt

ich würde ja fragen ob mir jemand die datein schicken kann,aber da ich ja auch schon andere mods drin habe kann ich mit euren datein ja nichts anfangen es sei den ihr habt die selben mods

Verfasst: 19.09.2005 11:32
von Markus67
Hi ...

suche in der viewtopic.php

Code: Alles auswählen

		'POSTER_NAME' =>// Start add - Birthday MOD
		'POSTER_AGE' => $poster_age,
// End add - Birthday MOD $poster,
ersetze mit:

Code: Alles auswählen

		'POSTER_NAME' => $poster,
		// Start add - Birthday MOD
		'POSTER_AGE' => $poster_age,
		// End add - Birthday MOD 
suche in der admin_board.php

Code: Alles auswählen

	"L_ENABLE_PRUNE" =>// Start add - Birthday MOD
	"L_ENABLE_BIRTHDAY_GREETING" => $lang['Enable_birthday_greeting'],
	"L_BIRTHDAY_GREETING_EXPLAIN" => $lang['Birthday_greeting_expain'],
	"L_BIRTHDAY_REQUIRED" => $lang['Birthday_required'],
	"L_MAX_USER_AGE" => $lang['Max_user_age'],
	"L_MIN_USER_AGE" => $lang['Min_user_age'],
	"L_MIN_USER_AGE_EXPLAIN" => $lang['Min_user_age_explain'],
	"L_BIRTHDAY_LOOKFORWARD" => $lang['Birthday_lookforward'],
	"L_BIRTHDAY_LOOKFORWARD_EXPLAIN" => $lang['Birthday_lookforward_explain'],
// End add - Birthday MOD $lang['Enable_prune'],
ersetze mit:

Code: Alles auswählen

	"L_ENABLE_PRUNE" => $lang['Enable_prune'],
	// Start add - Birthday MOD
	"L_ENABLE_BIRTHDAY_GREETING" => $lang['Enable_birthday_greeting'],
	"L_BIRTHDAY_GREETING_EXPLAIN" => $lang['Birthday_greeting_expain'],
	"L_BIRTHDAY_REQUIRED" => $lang['Birthday_required'],
	"L_MAX_USER_AGE" => $lang['Max_user_age'],
	"L_MIN_USER_AGE" => $lang['Min_user_age'],
	"L_MIN_USER_AGE_EXPLAIN" => $lang['Min_user_age_explain'],
	"L_BIRTHDAY_LOOKFORWARD" => $lang['Birthday_lookforward'],
	"L_BIRTHDAY_LOOKFORWARD_EXPLAIN" => $lang['Birthday_lookforward_explain'],
	// End add - Birthday MOD
suche:

Code: Alles auswählen

	"PRUNE_NO" =>// Start add - Birthday MOD
	"BIRTHDAY_GREETING_YES" => $birthday_greeting_yes,
	"BIRTHDAY_GREETING_NO" => $birthday_greeting_no,
	"BIRTHDAY_REQUIRED_YES" => $birthday_required_yes,
	"BIRTHDAY_REQUIRED_NO" => $birthday_required_no, 
	"MAX_USER_AGE" => $new['max_user_age'],
	"MIN_USER_AGE" => $new['min_user_age'],
	"BIRTHDAY_LOOKFORWARD" => $new['birthday_check_day'],
// End add - Birthday MOD
 $prune_no, 
	"HTML_TAGS" => $html_tags, 
ersetze mit:

Code: Alles auswählen

	"PRUNE_NO" => $prune_no, 
	// Start add - Birthday MOD
	"BIRTHDAY_GREETING_YES" => $birthday_greeting_yes,
	"BIRTHDAY_GREETING_NO" => $birthday_greeting_no,
	"BIRTHDAY_REQUIRED_YES" => $birthday_required_yes,
	"BIRTHDAY_REQUIRED_NO" => $birthday_required_no, 
	"MAX_USER_AGE" => $new['max_user_age'],
	"MIN_USER_AGE" => $new['min_user_age'],
	"BIRTHDAY_LOOKFORWARD" => $new['birthday_check_day'],
	// End add - Birthday MOD
	"HTML_TAGS" => $html_tags, 
Markus

Verfasst: 19.09.2005 13:55
von franticfreak
ich dank dir mal gucken obs geht.
Und was war jetzt mit der anderen? welche fehler haste den da noch gesehn :cry: