Seite 2 von 2
Verfasst: 25.09.2005 01:06
von xshine.biz
Direkt nach
in die viewtopic_body.tpl einfügen.
Code: Alles auswählen
<!-- BEGIN Nickpagebutton -->
<a href="{postrow.Nickpagebutton.U_NICKPAGE}"><img src="templates/nickpage/nickpage_button_big.gif" border="0" alt="...The NickZone!"></a>
<!-- END Nickpagebutton -->
<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript>
Das Problem ist das bei einigen Styles der Java/Script fehlt! Der Quellcode stammt von SubSilver! Habe es schon mit einigen Styles getestet! Mein vorangegangener Post hatte das Problem das auch bei Usern ohne NP ein Button auch erschien!
Verfasst: 25.09.2005 05:40
von tomerl
Wo aber mus ich diesmal den Code hin bei Orionforum?
Code: Alles auswählen
//Öffne------------------------------------------------------------------------------------
//
templates/overall_header.tpl
//
//Füge an geeigneter Stelle ein------------------------------------------------------------
//
#Enter drücken, damit der Cursor in eine neue leere Zeile springt
<!-- BEGIN Shownickpagebutton -->
<img src="templates/nickpage/nickpage_button_small.gif" hspace="3"><a href="{Shownickpagebutton.U_NICKPAGE}" class="mainmenu">Nickpage</a>
<!-- END Shownickpagebutton -->
#Enter drücken, damit der Cursor in eine neue leere Zeile springt
Die stelle aus der overall.header:
Code: Alles auswählen
<td><a href="{U_INDEX}"><img src="templates/hkgreen/images/phpbb2_logo.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="1010" height="222" /></a></td>
<td align="center" width="100%"><font color="#ffffff"></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30px">
<tr height="30px">
<td align="center" class="topnav" height="30px"> <a href="{U_PORTAL}">Portal</a> • <a href="{U_INDEX}">Forum</a> • <a href="{U_FAQ}">{L_FAQ}</a> • <a href="{U_SEARCH}">{L_SEARCH}</a>
• <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> •
<a href="{U_GROUP_CP}">{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
• <a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- END switch_user_logged_out -->
• <a href="{U_PROFILE}">{L_PROFILE}</a> • <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>
• <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><br>
<a href="kontakt.php">{L_KONTAKT_FORM}</a> • <a href="news_viewnews.php">{L_NEWS}</a> • <a href="{U_ACTIVITY}">{L_ACTIVITY}</a> •
<!-- BEGIN Shownickpagebutton -->
<img src="templates/nickpage/nickpage_button_small.gif" hspace="3"><a href="{Shownickpagebutton.U_NICKPAGE}" class="mainmenu">Nickpage</a>
<!-- END Shownickpagebutton -->
<!-- BEGIN switch_user_logged_in -->
<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')">Chat</a> •
<!-- END switch_user_logged_in -->
<a href="{U_CALENDAR}">{L_CALENDAR}</a> • <a href="{U_KB}">{L_KB}</a> • <a href="{U_ALBUM}">{L_ALBUM}</a> • <a href="{U_LINKS}">{L_LINKS}</a> • <a href="{U_DOWNLOADS}">{L_DOWNLOADS}</a> • <a href="statistics.php">{L_O_STAT}</a>
</td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>