Seite 1 von 1

Reg-Feld und ich sehe nichts

Verfasst: 14.01.2003 08:23
von jörg gierth
Hi Forum,

ich habe 2 Felder im Reg-profil eingefügt und nun kann ich Sie
zwar im Profil sehen un auch ändern bloß ioch sehe Sie nicht in der Admin_users!

Code-Teile:

Code: Alles auswählen

$birthday = ( !empty($HTTP_POST_VARS['birthday']) ) ? trim(strip_tags( $HTTP_POST_VARS['birthday'] ) ) : '';
        $next_birthday_greeting = ( !empty($HTTP_POST_VARS['next_birthday_greeting']) ) ? intval( $HTTP_POST_VARS['next_birthday_greeting'] ) : 0;
		$Bulldog_Farbe = ( !empty($HTTP_POST_VARS['Bulldog_Farbe']) ) ? intval( $HTTP_POST_VARS['Bulldog_Farbe'] ) : 0;
		$Bulldog_Baujahr = ( !empty($HTTP_POST_VARS['Bulldog_Baujahr']) ) ? intval( $HTTP_POST_VARS['Bulldog_Baujahr'] ) : 0;
		$signature = ( !empty($HTTP_POST_VARS['signature']) ) ? trim(str_replace('<br />', "\n", $HTTP_POST_VARS['signature'] ) ) : '';
Es sind immer die Felder Bulldog_Farbe und Bulldog_Baujahr

Code: Alles auswählen

$birthday = stripslashes($birthday);
			$Bulldog_Farbe = stripslashes($Bulldog_Farbe);
			$Bulldog_Baujahr = stripslashes($Bulldog_Baujahr);
			$signature = stripslashes($signature);

Code: Alles auswählen

				$sql = "UPDATE " . USERS_TABLE . "
					SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank, user_birthday = $birthday, user_next_birthday_greeting=$next_birthday_greeting,user_bt_farbe = $Bulldog_Farbe,user_baujahr = $Bulldog_Baujahr  ". $avatar_sql . "
					WHERE user_id = $user_id";
				if( $result = $db->sql_query($sql) )
				{
					if( isset($rename_user) )

Code: Alles auswählen

$interests = stripslashes($interests);
			$birthday = stripslashes($birthday);
			$Bulldog_Farbe = stripslashes($Bulldog_Farbe);
			$Bulldog_Baujahr = stripslashes($Bulldog_Baujahr);
			$signature = stripslashes($signature);

Code: Alles auswählen

$birthday = ($this_userdata['user_birthday']!=999999) ? realdate($lang['Submit_date_format'],$this_userdata['user_birthday']):''; 
		$next_birthday_greeting=($this_userdata['user_next_birthday_greeting'])?$this_userdata['user_next_birthday_greeting']:''; 
		$Bulldog_Farbe = $this_userdata['user_bt_farbe'];
		$Bulldog_Baujahr = $this_userdata['user_baujahr'];
		$signature = $this_userdata['user_sig'];

Code: Alles auswählen

$s_hidden_fields .= '<input type="hidden" name="occupation" value="' . str_replace("\"", """, $occupation) . '" />';
			$s_hidden_fields .= '<input type="hidden" name="interests" value="' . str_replace("\"", """, $interests) . '" />';
			$s_hidden_fields .= '<input type="hidden" name="Bulldog_Farbe" value="' . str_replace("\"", """, $Bulldog_Farbe) . '" />';
			$s_hidden_fields .= '<input type="hidden" name="Bulldog_Baujahr" value="' . str_replace("\"", """, $Bulldog_Baujahr) . '" />';
			$s_hidden_fields .= '<input type="hidden" name="birthday" value="' . str_replace("\"", """, $birthday) . '" />'; 
			$s_hidden_fields .= '<input type="hidden" name="next_birthday_greeting" value="' . str_replace("\"", """, $next_birthday_greeting) . '" />';
			$s_hidd

Code: Alles auswählen

'OCCUPATION' => $occupation,
			'INTERESTS' => $interests,
			'Bulldog_Farbe' => $Bulldog_Farbe,
			'Bulldog_Baujahr' => $Bulldog_Baujahr,
			'BIRTHDAY' => $birthday, 
			'NEXT_BIRTHDAY_GREETING' => $next_birthday_greeting,

Code: Alles auswählen

'L_INTERESTS' => $lang['Interests'],
			'L_Farbe' => $lang['Bulldog_Farbe'], 
			'L_Baujahr' => $lang['Bulldog_Baujahr'], 
			'L_BIRTHDAY' => $lang['Birthday'], 

Re: Reg-Feld und ich sehe nichts

Verfasst: 14.01.2003 08:50
von Jensemann
jörg gierth hat geschrieben:Hi Forum,

ich habe 2 Felder im Reg-profil eingefügt und nun kann ich Sie
zwar im Profil sehen un auch ändern bloß ioch sehe Sie nicht in der Admin_users!
Tja, das wird daran liegen das du den Teil des ACP sicher nicht angepasst hast, mach das dann siehst du die felder auch dort.

Mfg
Jens

Verfasst: 14.01.2003 09:13
von Jörg
Die Auszüge sind aus der Admin_User,
ich sehe zwar die Felder aber Sie sind leer und ich habe keine Bezeichnung.

Wo genau muß ich denn die Einträge noch iom ACP machen ?

Gruß Jörg