Seite 1 von 2

Nickpage-Button an anderer Stelle

Verfasst: 26.12.2005 14:38
von DreamPromise
Moin moin

[ externes Bild ]
Wie bekomm ich den Button denn neben den vom "www" ???

DP

Verfasst: 26.12.2005 16:09
von punkface
Hallo

Es betrifft dieses Forum: http://www.forum-haushalt.de/ ?
Wenn ja, bring erstmal den Copyright Hinweis wieder in Ordnung..
KB:copyright

Verfasst: 26.12.2005 16:39
von DreamPromise
Moin moin

wußte garnicht das es nicht richtig war....aber nun ist es in Ordnung.

Verfasst: 26.12.2005 16:44
von punkface
Gut .. :D

viewtopic_body.tpl
suche und lösche

Code: Alles auswählen

<!-- BEGIN Nickpagebutton -->
	<a href="{postrow.Nickpagebutton.U_NICKPAGE}"><img src="templates/nickpage/nickpage_button_big.gif" border="0"></a>
<!-- END Nickpagebutton -->
suche

Code: Alles auswählen

{postrow.WWW_IMG}
danach (in einer neuen Zeile) den eben gelöschten Code wieder einfügen

Verfasst: 26.12.2005 16:53
von DreamPromise
Moin moin

nun ist der Button ganz weg......

hier mal die viewtopic_body.tpl

<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
<span class="gensmall"><b>{PAGINATION}</b><br />
&nbsp; </span></td>
</tr>
</table>
<!-- BEGIN archive_info -->
<table width="70%" align="center" cellspacing="1" cellpadding="3" border="0" class="forumline">
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_OLD_FORUM}:</span></td>
<td class="row1" width="100%"><span class="genmed">{archive_info.OLD_FORUM}</span></td>
<td class="row1" rowspan="4">{archive_info.RESTORE}</td>
</tr>
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_DELETED_FROM}:</span></td>
<td class="row1" width="100%"><span class="genmed">{archive_info.USER}</span></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_DATE}:</span></td>
<td class="row1" width="100%"><span class="genmed">{archive_info.DATE}</span></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap" valign="top"><span class="postbody">{L_COMMENT}:</span></td>
<td class="row1" width="100%"><span class="postbody">{archive_info.COMMENT}</span></td>
</tr>
</table>
<br />
<!-- END archive_info -->
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
</tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
</tr>
{POLL_DISPLAY}
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>

<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />
<!-- BEGIN switch_map -->
<a href="{postrow.switch_map.U_MAP}" class="gensmall">{postrow.POSTER_FROM}</a>
<!-- END switch_map -->
<!-- BEGIN switch_no_map -->
{postrow.POSTER_FROM}
<!-- END switch_no_map -->
</span><br /></td>


<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>

<!-- Start add - Yellow card admin MOD -->
<form method="post" action="{postrow.S_CARD}">
<!-- End add - Yellow card admin MOD -->

<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}{postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}{postrow.CARD_EXTRA_SPACE}{postrow.CARD_HIDDEN_FIELDS}</td>

<!-- Start add - Yellow card admin MOD -->
</form>
<!-- End add - Yellow card admin MOD -->

</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
<!-- BEGIN archive_info -->
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2">
<table width="70%" align="center" cellspacing="1" cellpadding="3" border="0" class="forumline">
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_OLD_FORUM}:</span></td>
<td class="row1" width="100%"><span class="genmed">{postrow.archive_info.OLD_FORUM}</span></td>
<td class="row1" rowspan="5">{postrow.archive_info.RESTORE}</td>
</tr>
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_OLD_TOPIC}:</span></td>
<td class="row1" width="100%"><span class="genmed">{postrow.archive_info.OLD_TOPIC}</span></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_DELETED_FROM}:</span></td>
<td class="row1" width="100%"><span class="genmed">{postrow.archive_info.USER}</span></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap"><span class="genmed">{L_DATE}:</span></td>
<td class="row1" width="100%"><span class="genmed">{postrow.archive_info.DATE}</span></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap" valign="top"><span class="postbody">{L_COMMENT}:</span></td>
<td class="row1" width="100%"><span class="postbody">{postrow.archive_info.COMMENT}</span></td>
</tr>
</table>
</td>
</tr>
<!-- END archive_info -->
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
<!-- BEGIN Nickpagebutton -->
<a href="{postrow.Nickpagebutton.U_NICKPAGE}"><img src="templates/nickpage/nickpage_button_big.gif" border="0"></a>
<!-- END Nickpagebutton -->
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>&nbsp;</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></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="{S_POST_DAYS_ACTION}">
<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
</form></tr>
</table></td>
</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>
<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
&nbsp;<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>

Verfasst: 26.12.2005 17:01
von punkface
Du sollst den Code nach

Code: Alles auswählen

{postrow.WWW_IMG}
in einer neuen Zeile einfügen, und nicht nach

Code: Alles auswählen

<script language="JavaScript" type="text/javascript"><!--
:roll:

bzw. bei mehr als 1300 Beirägen hier solltest du das hier doch eigentlich schon kennen..

Verfasst: 26.12.2005 17:14
von DreamPromise
:roll: :roll: :roll:

Habs geändert..............oh maaaaaa.

Aber wäre es noch super wenn:Wenn man auf diesen Button klickt auch zur Nickpage kommt...weißte wie das nochmal geht ??

DP

Verfasst: 26.12.2005 17:20
von punkface
Verlink doch mal bitte deine viewtopic.php als .txt (KB:datei)

Verfasst: 26.12.2005 17:23
von DreamPromise

Verfasst: 26.12.2005 17:35
von punkface
Ah, ich seh grad der fehler liegt doch in der viewtopic_body.tpl

Code: Alles auswählen

{postrow.EMAIL_IMG} {postrow.WWW_IMG} <a href="{postrow.Nickpagebutton.U_NICKPAGE}"><img src="templates/nickpage/nickpage_button_big.gif" border="0"></a> {postrow.AIM_IMG}
Du willst mich ägern, gelle? ;)

Der Code soll (mit <!-- BEGIN Nickpagebutton --> und <!-- END Nickpagebutton -->) in eine neue Zeile nach {postrow.WWW_IMG}

Das sieht dann in etwa so aus:

Code: Alles auswählen

{postrow.EMAIL_IMG} {postrow.WWW_IMG}
<!-- BEGIN Nickpagebutton --> 
   <a href="{postrow.Nickpagebutton.U_NICKPAGE}"><img src="templates/nickpage/nickpage_button_big.gif" border="0"></a> 
<!-- END Nickpagebutton -->
 {postrow.AIM_IMG}