teampage problem -> keine editfelder im profil !?

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.
WishmasterXXL
Mitglied
Beiträge: 157
Registriert: 19.01.2005 16:07

teampage problem -> keine editfelder im profil !?

Beitrag von WishmasterXXL »

hi !

aus irgend einem mir nicht erkenntlichem problem hab ich in keinem style auf meinem board im profil die möglichkeit die editfelder zu bearbeiten geschweige denn erst zu sehen !

bin die inst file noch 2 mal durchgegangen, aber ich weiß nicht was ich vergessen oder falsch gemacht haben könnte !

bitte um hilfe !
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

Die profile_add_body.tpl hast du entsprechend der Anleitung angepasst?

Markus
WishmasterXXL
Mitglied
Beiträge: 157
Registriert: 19.01.2005 16:07

Beitrag von WishmasterXXL »

das ist der instcode

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/profile_add_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
	<!-- END switch_avatar_local_gallery -->
	<!-- END switch_avatar_block -->

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	<!-- BEGIN switch_team -->
	<tr> 
	  <td class="catSides" colspan="2" height="28">&nbsp;</td>
	</tr>
	<tr> 
	  <th class="thSides" colspan="2" height="25" valign="middle">{L_TEAM}</th>
	</tr>
	<tr> 
	  <td class="row2" colspan="2"><span class="gensmall">{L_TEAM_INFO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_REALNAME}:</span></td>
	  <td class="row2"> 
		<input type="text" name="realname" class="post" size="30" maxlength="100" value="{REALNAME}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_ADRESS}:</span><br /><span class="gensmall">{L_TEAM_ADRESS_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="adress" size="30" maxlength="255" value="{ADRESS}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_BIRTH}:</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="birth" size="2" maxlength="2" value="{BIRTH}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_PHOTO}:</span><br /><span class="gensmall">{L_TEAM_PHOTO_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="photo" size="30" maxlength="255" value="{PHOTO}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_SLOGAN}:</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="slogan" size="30" maxlength="255" value="{SLOGAN}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_OPTIONAL}:</span><br /><span class="gensmall">{L_TEAM_OPTIONAL_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="opt_title" size="15" maxlength="100" value="{OPT_TITLE}" />&nbsp;&nbsp;<input type="text" class="post" name="opt_text" size="30" maxlength="255" value="{OPT_TEXT}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_WEBSITE}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_website" value="1" {SHOW_WEBSITE_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_website" value="0" {SHOW_WEBSITE_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_EMAIL}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_email" value="1" {SHOW_EMAIL_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_email" value="0" {SHOW_EMAIL_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_PM}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_pm" value="1" {SHOW_PM_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_pm" value="0" {SHOW_PM_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<!-- BEGIN about -->
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_DESC}:</span><br /><span class="gensmall">{L_TEAM_DESC_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="team_desc" size="30" maxlength="100" value="{TEAM_DESC}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_TEXT}:</span><br /><span class="gensmall">{L_TEAM_TEXT_EXPLAIN}</span></td>
	  <td class="row2"> 
		<textarea class="post" name="team_text" style="width: 400px" rows="6" />{TEAM_TEXT}</textarea>
	  </td>
	</tr>
	<!-- END about -->
	<!-- END switch_team -->
und das ist der code aus meiner file :

Code: Alles auswählen

		<td class="row"><input type="text" name="avatarremoteurl" size="40" class="post" style="width:200px" /></td>
	</tr>
	<!-- END switch_avatar_remote_link -->
	<!-- BEGIN switch_avatar_local_gallery -->
	<tr> 
		<td class="row"><span class="gen">{L_AVATAR_GALLERY}:</span></td>
		<td class="row"><input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" /></td>
	</tr>
	<!-- END switch_avatar_local_gallery -->
	<!-- END switch_avatar_block -->
	<!-- BEGIN switch_team -->
	<tr> 
	  <td class="catSides" colspan="2" height="28">&nbsp;</td>
	</tr>
	<tr> 
	  <th class="thSides" colspan="2" height="25" valign="middle">{L_TEAM}</th>
	</tr>
	<tr> 
	  <td class="row2" colspan="2"><span class="gensmall">{L_TEAM_INFO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_REALNAME}:</span></td>
	  <td class="row2"> 
		<input type="text" name="realname" class="post" size="30" maxlength="100" value="{REALNAME}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_ADRESS}:</span><br /><span class="gensmall">{L_TEAM_ADRESS_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="adress" size="30" maxlength="255" value="{ADRESS}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_BIRTH}:</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="birth" size="2" maxlength="2" value="{BIRTH}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_PHOTO}:</span><br /><span class="gensmall">{L_TEAM_PHOTO_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="photo" size="30" maxlength="255" value="{PHOTO}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_SLOGAN}:</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="slogan" size="30" maxlength="255" value="{SLOGAN}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_OPTIONAL}:</span><br /><span class="gensmall">{L_TEAM_OPTIONAL_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="opt_title" size="15" maxlength="100" value="{OPT_TITLE}" />&nbsp;&nbsp;<input type="text" class="post" name="opt_text" size="30" maxlength="255" value="{OPT_TEXT}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_WEBSITE}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_website" value="1" {SHOW_WEBSITE_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_website" value="0" {SHOW_WEBSITE_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_EMAIL}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_email" value="1" {SHOW_EMAIL_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_email" value="0" {SHOW_EMAIL_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_PM}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="team_pm" value="1" {SHOW_PM_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="team_pm" value="0" {SHOW_PM_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<!-- BEGIN about -->
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_DESC}:</span><br /><span class="gensmall">{L_TEAM_DESC_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="text" class="post" name="team_desc" size="30" maxlength="100" value="{TEAM_DESC}" />
	  </td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_TEAM_TEXT}:</span><br /><span class="gensmall">{L_TEAM_TEXT_EXPLAIN}</span></td>
	  <td class="row2"> 
		<textarea class="post" name="team_text" style="width: 400px" rows="6" />{TEAM_TEXT}</textarea>
	  </td>
	</tr>
	<!-- END about -->
	<!-- END switch_team -->
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

Dann verlinke mal bitte die usercp_register.php

Siehst du denn die Felder wenn du im Adminbereich auf Benutzer -> Einstellungen einen Benutzer auswählst?

Markus
WishmasterXXL
Mitglied
Beiträge: 157
Registriert: 19.01.2005 16:07

Beitrag von WishmasterXXL »

stimmt im acp gehts !

hier die txt :
www.ero-forum.net/usercp_register.txt
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

da ist einiges ducheinander geraten ... hast du vorher eine Sicherungskopie gemacht? Dann würde ich die Datei nochmal neu bearbeiten. Ansonsten müssen wir die Datei "auseinanderfummeln" :wink:

Markus
WishmasterXXL
Mitglied
Beiträge: 157
Registriert: 19.01.2005 16:07

Beitrag von WishmasterXXL »

:oops:


..... muss ich mehr sagen?


tut mir furchtbar leid :-(
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

Welche phpBB-Version hast du im Einsatz? 2.0.17 oder 18?

Markus
WishmasterXXL
Mitglied
Beiträge: 157
Registriert: 19.01.2005 16:07

Beitrag von WishmasterXXL »

18 warum ?

is das von bedeutung ?

edit nach erfolgreichem denken ..... :

du hast gefragt wegen der originalen file oder ? quasi das du nicht die aus der 17 er version nimmst um zu basteln g*

jaja ich weiß, wer denken kann is klar im vorteil !
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

suche in der usercp_register.php

Code: Alles auswählen

					session_end($userdata['session_id'], $userdata['user_id']);
				}
			}
			else
			{
$user_active = 'user_active'; 
$user_actkey = 'user_actkey'; 
			}

			$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_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '$user_actkey', user_realname = '" . str_replace("\'", "''", $realname) . "', user_adress = '" . str_replace("\'", "''", $adress) . "', user_birth = '$birth', user_photo = '" . str_replace("\'", "''", $photo) . "', user_slogan = '" . str_replace("\'", "''", $slogan) . "', user_topt_title = '" . str_replace("\'", "''", $opt_title) . "', user_topt_text = '" . str_replace("\'", "''", $opt_text) . "', user_teamdesc_title = '$team_desc', user_teamtext = '$team_text', team_website = '$team_website', team_email = '$team_email', team_pm = '$team_pm'" . $avatar_sql . "
				WHERE user_id = $user_id";
			if ( !($result = $db->sql_query($sql)) )
			{
				message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
			}

			if ( $userdata['user_level'] == ADMIN )
			{
				$sql = "UPDATE " . USERS_TABLE . "
					SET user_teamdesc_title = '$team_desc', user_teamtext = '$team_text'
					WHERE user_level = ". ADMIN;
				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
				}
			}



			if ( !$user_active )
			{
				//
				// The users account has been deactivated, send them an email with a new activation key
ersetze mit:

Code: Alles auswählen

					session_end($userdata['session_id'], $userdata['user_id']);
				}
			}
			else
			{
				$user_active = 1;
				$user_actkey = '';
			}

			$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_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "', user_realname = '" . str_replace("\'", "''", $realname) . "', user_adress = '" . str_replace("\'", "''", $adress) . "', user_birth = '$birth', user_photo = '" . str_replace("\'", "''", $photo) . "', user_slogan = '" . str_replace("\'", "''", $slogan) . "', user_topt_title = '" . str_replace("\'", "''", $opt_title) . "', user_topt_text = '" . str_replace("\'", "''", $opt_text) . "', user_teamdesc_title = '$team_desc', user_teamtext = '$team_text', team_website = '$team_website', team_email = '$team_email', team_pm = '$team_pm'" . $avatar_sql . "
				WHERE user_id = $user_id";
			if ( !($result = $db->sql_query($sql)) )
			{
				message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
			}

			if ( $userdata['user_level'] == ADMIN )
			{
				$sql = "UPDATE " . USERS_TABLE . "
					SET user_teamdesc_title = '$team_desc', user_teamtext = '$team_text'
					WHERE user_level = ". ADMIN;
				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
				}
			}

			if ( !$user_active )
			{
				//
				// The users account has been deactivated, send them an email with a new activation key
Markus
Antworten

Zurück zu „phpBB 2.0: Mod Support“