PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Bedankomat Button macht Probs



azmi
21.09.2004, 10:23
es geht um dieses Teil:

<if condition="$show['largereplybutton']">
<td class="smallfont">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID">
<if condition="$show['closethread']">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
<else />
<img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" >
</if>
</a>
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0"></a>

</td>
<td class="smallfont" align="right"><a href="newreply.php?do=thanks&amp;threadid=$thread[threadid]"><img src="$stylevar[imgdir_button]/thanks.gif" alt="$vbphrase[thanks]" border="0" ></a></td>

zwischen dem "reply.gif" und dem "newthread.gif" habe ich ein "_" und bekomme es nicht weg.
ich komme mit der if/else nicht klar.
ist der "_" weg, funkt die Bedingung nicht mehr!
kann mir jemand helfen :confused:

so siehts jetzt aus:
antworten /-/ _neues Thema

Tal
21.09.2004, 12:02
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes">
<a href="#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>

<if condition="$forum[showthanks]==1"><td class="vbmenu_control"><a href="newreply.php?do=thanks&threadid=$thread[threadid]"><b><font color="red">$vbphrase[thanks]</b></font>
</a></td></if>



habe den thanks button an stelle es oben rein zu packen es hinter die Themen-Optionen rein gepackt
da passt es meiner meinung nach besser hin ;)


ka wo der _ raus kommt hier aber der code für neues thread und antworten


<if condition="$show['largereplybutton']">
<td align="left" class="smallfont">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>


<else />

azmi
21.09.2004, 12:39
bei mir ist danach Chaos im Thread :eek:

Tal
21.09.2004, 13:18
an welcher stelle?


bei mir siehts aktuell so

http://www.vbulletin-germany.com/forum/attachment.php?attachmentid=2487

azmi
21.09.2004, 13:44
nach dem Einfügen zeigte er den Danke Button nicht an und mein ewiges Problem:
der "geschlossen Button" wird mit angezeigt :(

Mystics
21.09.2004, 19:40
Niemals Zeilenumbrüche und Leerzeichen innerhalb der Link Tags einbauen!

Ersetze dein:
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID">
<if condition="$show['closethread']">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
<else />
<img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" >
</if>
</a> mit
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a>

azmi
21.09.2004, 22:00
:rolleyes: Super Mystics - da erkennt man den Meister

@Tal + Mystics
vielen Dank für eure Hilfe!