Seite 1 von 1
Zeile in Beitragsfußzeile hinter Buttons einfügen ???
Verfasst: 18.09.2002 14:52
von AWSW
Hallo,
ich hoffe ich bin hier richtig und der Beitrag gehört nicht ins AtWork-Forum...
Also ich habe in der viewtopic_body.tpl diese Zeile in die Fußzeile neben den Profil/PM/Mail-Button eingefügt:
Soweit so schön...
Aber wenn jemand ICQ hat wird der erste Teil durch den ICQButton verdeckt:
Zu sehen in diesem Beitrag:
http://www.awsw.de/Forum/viewtopic.php?t=386
Habe schon mehrere Versuche unternommen die viewtopic_body.tpl anzupassen, aber dann verrutscht nur der ICQ-Button nach unten, oben oder weiter nach rechts....
Hier der Teil der Link zur tpl:
viewtopic_body.zip
Könnt Ihr mir sagen, wo ich den Text einfügen muss, damit er wie im 1. Bild dann hinter den ICQ MSN etc Buttons steht ???
Verfasst: 18.09.2002 15:00
von Dark Night
habe zwar noch nicht viel anung von aber versuche doch mal ne weitere tabelle unter den buttons zu machen dürfte eigendlich funzen denke ich mal da ja alles sowieso in tabellen angezeigt wird und es in ner tpl datei liegt dürfte es wirklich funzen einfach mal brobieren

Verfasst: 18.09.2002 15:04
von AWSW
Hi,
hab ich ja schon probiert,
[ externes Bild ] [ externes Bild ] [ externes Bild ] aber mit beschriebenem Ergebnis, dass dann der ICQ Button immer weiter verrutscht... Sitz da schon seit 11 dran, aber s will nich so wie ich will

Verfasst: 18.09.2002 17:11
von Dark Night
na dann mach ich das mal schnell un texte dann die anleitng müste aber wie schon im ersten beitrag von mir müßte es eigendlich gehen ich werde das mal schnell testen ok
Verfasst: 18.09.2002 19:21
von saerdnaer
der icq button ist ein extra layer... ich hab das bei mir mal ohne layer gemacht... allerdings ist bei mir nun dier icq button 1 px weiter unten...
viewtopic.php:
suchen:
Code: Alles auswählen
$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
ersetzen durch
Code: Alles auswählen
$icq_img = '<td><table border="0" cellspaceing="0" cellpadding="0"><tr><td background="'. $images['icon_icq'] . '"><img src="images/spacer.gif" width="2" height="0" border="0" />' . $icq_status_img . '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="images/spacer.gif" width="39" height="15" border="0" /></a></td></tr></table></td>';
templates/xxx/viewtopic_body.tpl
suchen:
Code: Alles auswählen
{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"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -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>
ersetzen durch
Code: Alles auswählen
<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} {postrow.ICQ_IMG}</td>
</tr>
</table>
ah
Verfasst: 18.09.2002 19:45
von Dark Night
hey so habe jetzt bestimmt 15 bis 20 versuche gemacht es so zu machen wie du es woltest AWSW aber leider ohne sehr großen erfolg kamm immer nen gleinen grafik fehler hinzu endweder der isq button erzeugte ne risen lücke zu den anderen button oder er verutchte in der zeile oder andere dinge habe da einfach mal ne tabelle gemacht besser gesagt eine die schon vorhanden war und es sieht auch sehr gut aus den test kannst dann indivieduel gestalten hier mal meine vievtopic_body.tpl
Code: Alles auswählen
<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 />
</span></td>
</tr>
</table>
<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> <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"> <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> </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_GENDER}<br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}<br />
{postrow.POSTER_ONLINE}</span><br /> <!-- [BEGIN LEVEL MOD] -->
<span class="postdetails">
Level: <b>{postrow.POSTER_LEVEL}</b>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">HP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.POSTER_HP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilYOUR_TEMPLATE_NAMEver/images/level_mod/hp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/hp_bar_fil.gif" width="{postrow.POSTER_HP_WIDTH}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/hp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_emp.gif" width="{postrow.POSTER_HP_EMPTY}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.POSTER_HP_WIDTH}%</span></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">MP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.POSTER_MP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/mp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/mp_bar_fil.gif" width="{postrow.POSTER_MP_WIDTH}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/mp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_emp.gif" width="{postrow.POSTER_MP_EMPTY}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.POSTER_MP_WIDTH}%</span></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">EXP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.POSTER_EXP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/exp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/exp_bar_fil.gif" width="{postrow.POSTER_EXP_WIDTH}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/exp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_emp.gif" width="{postrow.POSTER_EXP_EMPTY}" height="12" /></td>
<td><img src="templates/YOUR_TEMPLATE_NAME/images/level_mod/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.POSTER_EXP_WIDTH}%</span></td>
</tr>
</table>
</span>
<!-- [END LEVEL MOD] --></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<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"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</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>
</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"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -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></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><div align="right"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" />Hinweis: Nur registrierte, eingelogte Mitglieder sehen die Downloads</div></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} {S_SELECT_POST_ORDER} <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> <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"> <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 />
<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
Verfasst: 18.09.2002 21:33
von AWSW
Hi,
sag ich doch dass das nicht so einfach is

: D
Danke - probier ich morgen in Ruhe aus
Danke vorab

Danke
Verfasst: 19.09.2002 22:55
von AWSW
Hi,
habe es im Endeffekt leichter gelöst & so habe ich nun auch noch Platz für eventuelle weitere Infos...:
</td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<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"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.REPORT_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span>{postrow.ATTACHMENTS}<span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"> </td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="middle" nowrap="nowrap"><span class="gensmall"><b>Hinweis: Nur registrierte, eingeloggte Mitglieder sehen die Downloads</b></span></td>
</tr></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"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -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></td>
</tr>
</table></td>
Danke an die Helfer
