Seite 1 von 1

Signatur auf der UserInfoPage!

Verfasst: 10.12.2002 15:54
von SQRT
hi there,

wollt nur fragen, ob ihr ein Mod kennt, wo man die Signatur im UserInfoPage des Benutzers sehen kann?

Verfasst: 11.12.2002 14:23
von Acid
Wenn Du das Profil meinst...

usercp_viewprofile.php
++FINDE++

Code: Alles auswählen

$page_title = $lang['Viewing_profile'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
++DANACH EINFÜGEN++

Code: Alles auswählen

            include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
	$user_sig = ( $profiledata['user_sig'] != '' && $board_config['allow_sig'] ) ? $profiledata['user_sig'] : '';
	$user_sig_bbcode_uid = $profiledata['user_sig_bbcode_uid'];

	if ( !$board_config['allow_html'] )
	{
		if ( $user_sig != '' && $userdata['user_allowhtml'] )
		{
			$user_sig = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $user_sig);
		}
	}

	if ( $board_config['allow_bbcode'] )
	{
		if ( $user_sig != '' && $user_sig_bbcode_uid != '' )
		{
			$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig);
		}
	}

	if ( $user_sig != '' )
	{
		$user_sig = make_clickable($user_sig);
	}

            if ( $user_sig != '' )
           {
                        $user_sig = str_replace("\n", "\n<br />\n", $user_sig);
           }
	if ( $board_config['allow_smilies'] )
	{
		if ( $profiledata['user_allowsmile'] && $user_sig != '' )
		{
			$user_sig = smilies_pass($user_sig);
		}
	}
++FINDE++

Code: Alles auswählen

	'INTERESTS' => ( $profiledata['user_interests'] ) ? $profiledata['user_interests'] : '&nbsp;',
++DANACH EINFÜGEN++

Code: Alles auswählen

	'SIGNATURE' => $user_sig,
++FINDE++

Code: Alles auswählen

	'L_INTERESTS' => $lang['Interests'],
++DANACH EINFÜGEN++

Code: Alles auswählen

	'L_SIGNATURE' => $lang['Signature'],

profile_view_body.tpl
++FINDE++

Code: Alles auswählen

		  //--></script><noscript>{ICQ_IMG}</noscript></td>
		</tr>
	  </table>
	</td>
  </tr>
++DANACH EINFÜGEN++

Code: Alles auswählen

  <tr> 
	<td colspan="2" class="catLeft" align="center" height="28"><b><span class="gen">{L_SIGNATURE} </span></b></td>
  </tr>
  <tr>
          <td colspan="2" class="row1"><span class="genmed">{SIGNATURE}</span></td>
  </tr>