Seite 1 von 1

Vereor Style: CoolOrange

Verfasst: 03.01.2007 20:49
von Ikku
Bei diesem Style werden die Ränge in einem Beitrag (bei Wohnort, Avatar usw) nicht angezeigt.

Wo muss ich das denn in der viewtopic.tpl ändern, sodass sie angezeigt werden?

Die Admins in meinem Board geben sich nämlich gegenseitig immer so blöde Rangnamen, und die wollen dass man die sehen kann XD

Bitte um hilfe,

IK'

Verfasst: 03.01.2007 21:46
von nickvergessen
gib doch mal die viewtopic_body.tpl her, dann mach ich es dir hin.

Verfasst: 04.01.2007 12:31
von Ikku

Code: Alles auswählen

<script LANGUAGE="Javascript" TYPE="text/javascript">
<!--
function create_icq_CoolOrange(icq_user_addr, icq_status_img, icq_add_img)
{
	if( icq_user_addr.length && icq_user_addr.indexOf("&nbsp;") == -1 )
	{
		document.write('<table width="59" border="0" cellspacing="0" cellpadding="0"><tr><td nowrap="nowrap" style=" background-image: url(\'' + icq_add_img + '\'); background-repeat: no-repeat"><img src="images/spacer.gif" width="3" height="18" alt = "">' + icq_status_img + '<a href="http://wwp.icq.com/scripts/search.dll?to=' + icq_user_addr + '"><img src="images/spacer.gif" width="35" height="18" border="0" alt="{L_ICQ_NUMBER}"></a></td></tr></table>');
	}
}
//-->
</script>
{POLL_DISPLAY}
<table CLASS="maintable" BORDER="0" CELLSPACING="0" CELLPADDING="4" ALIGN="CENTER">
    <tr>
      <td>
      <a HREF="{U_POST_NEW_TOPIC}"><img SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}"></a>&nbsp;<a HREF="{U_POST_REPLY_TOPIC}"><img SRC="{REPLY_IMG}" BORDER="0" ALT="{L_POST_REPLY_TOPIC}">&nbsp;</a>{TOPIC_WATCH_IMG}<span CLASS="small"> | {PAGE_NUMBER}</span>
      </td>
      <td ALIGN="right">
      <span CLASS="small"><a HREF="tellafriend.php?topic={TOPIC_TITLE}&link={TELL_LINK}">{L_TELL_FRIEND}</a> | {PAGINATION}</span>
      </td>
    </tr>
   </table>
  <table CLASS="maintable" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
    <tr>
      <td COLSPAN="2">
        <table BORDER="0" CELLSPACING="0" CELLPADDING="0">
        <form METHOD="post" ACTION="{S_POST_DAYS_ACTION}">
          <tr>
            <td CLASS="bluerow" NOWRAP WIDTH="200">{TOPIC_TITLE}</td>
            <td><img SRC="templates/CoolOrange/images/blue_cap.gif" WIDTH="34" HEIGHT="31"></td>
            <td WIDTH="500" ALIGN="right"><span CLASS="small">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;
    <input TYPE="submit" VALUE="{L_GO}"  NAME="submit">
    </span></td>
          </tr>
            </form>
        </table>
      </td>
    </tr>
    <tr>
      <td CLASS="dots" COLSPAN="2"></td>
    </tr>
    <tr>
      <td CLASS="orangerow" WIDTH="157">{L_AUTHOR}</td>
      <td CLASS="orangerow">Thread</td>
    </tr>
    <tr>
      <td CLASS="dots" COLSPAN="2"></td>
    </tr>
	<!-- BEGIN postrow -->
    <tr>
      <td COLSPAN="2" CLASS="greyrow">
        <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
          <tr>
            <td><img SRC="templates/CoolOrange/images/spacer.gif" WIDTH="5" HEIGHT="1">{postrow.DELETE_IMG}&nbsp;{postrow.IP_IMG}</td>
            <td WIDTH="100%" ALIGN="CENTER"><span CLASS="small">{postrow.POST_DATE}
              :: <b>{postrow.POST_SUBJECT}</b></span></td>
            <td ALIGN="RIGHT"><img SRC="templates/CoolOrange/images/spacer.gif" WIDTH="5" HEIGHT="1">{postrow.EDIT_IMG}&nbsp;{postrow.QUOTE_IMG}<img SRC="templates/CoolOrange/images/spacer.gif" WIDTH="5" HEIGHT="1"></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td WIDTH="157" CLASS="underpostbit" VALIGN="top">
        <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
          <tr>
            <td><img SRC="templates/CoolOrange/images/postbig_top.gif" WIDTH="157" HEIGHT="9"></td>
          </tr>
          <tr>
            <td BACKGROUND="templates/CoolOrange/images/postbit_bg.gif" ALIGN="CENTER"><span CLASS="small">{postrow.POSTER_AVATAR}<br>
              </span><br>
              <b>{postrow.POSTER_NAME}</b><br>
              {postrow.RANK_IMAGE}<br>
              <br>
              <table WIDTH="90%" BORDER="0" CELLSPACING="1" CELLPADDING="2" BGCOLOR="9E9E9E">
                <tr>
                  <td BGCOLOR="EFEFEF"><span CLASS="small">&nbsp;{postrow.POSTER_JOINED}</span></td>
                </tr>
              </table>
              <table WIDTH="90%" BORDER="0" CELLSPACING="1" CELLPADDING="2" BGCOLOR="9E9E9E">
                <tr>
                  <td BGCOLOR="EFEFEF"><span CLASS="small">&nbsp;{postrow.POSTER_POSTS}</span></td>
                </tr>
              </table>
              <table WIDTH="90%" BORDER="0" CELLSPACING="1" CELLPADDING="2" BGCOLOR="9E9E9E">
                <tr>
                  <td BGCOLOR="EFEFEF"><span CLASS="small">&nbsp;{postrow.POSTER_FROM}<br />{postrow.CASH}</span></td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td>
              <p><img SRC="templates/CoolOrange/images/postbit_bot.gif" WIDTH="157" HEIGHT="37"></p>
            </td>
          </tr>
        </table>
      </td>
      <td WIDTH="100%" CLASS="row2" VALIGN="TOP">
        <p>{postrow.MESSAGE}<br>
          {postrow.ATTACHMENTS}</p>
        </td>
    </tr>
    <tr>
      <td WIDTH="157" CLASS="underpostbit">&nbsp;</td>
      <td WIDTH="100%" CLASS="row2" ALIGN="right" VALIGN="TOP"> <b>{postrow.SIGNATURE}<br>
        {postrow.EDITED_MESSAGE}</b></td>
    </tr>
    <tr>
      <td COLSPAN="2" CLASS="smallorange"></td>
    </tr>
    <tr>
      <td COLSPAN="2" CLASS="footrow">
        <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="3">
          <tr>
            <td><img SRC="templates/CoolOrange/images/spacer.gif" WIDTH="5" HEIGHT="1">&nbsp;{postrow.PROFILE_IMG}
              {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.PM_IMG} {postrow.SEARCH_IMG}</td>
            <td ALIGN="RIGHT"> {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}
              {postrow.ICQ_IMG}<img SRC="templates/CoolOrange/images/spacer.gif" WIDTH="5" HEIGHT="1"></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td CLASS="dots" COLSPAN="2"></td>
    </tr>
	<!-- END postrow -->
  </table>


   <table CLASS="maintable" BORDER="0" CELLSPACING="0" CELLPADDING="4" ALIGN="CENTER">
      <tr>
        <td><span CLASS="small">{PAGINATION} | <a HREF="tellafriend.php?topic={TOPIC_TITLE}&link={TELL_LINK}">{L_TELL_FRIEND}</a></span>

        </td>
        <td ALIGN="right">
         <span CLASS="small">{PAGE_NUMBER} | </span>{TOPIC_WATCH_IMG}&nbsp;<a HREF="{U_POST_NEW_TOPIC}"><img SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}"></a>&nbsp;<a HREF="{U_POST_REPLY_TOPIC}"><img SRC="{REPLY_IMG}" BORDER="0" ALT="{L_POST_REPLY_TOPIC}"></a>
        </td>
      </tr>
   </table>

     <table CLASS="maintable" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
       <tr>
         <td CLASS="dots" COLSPAN="2"></td>
       </tr>
       <tr>
         <td CLASS="orangerow" COLSPAN="2">Quick Reply and Forum Permissions</td>
       </tr>
       <tr>
         <td CLASS="dots" COLSPAN="2"></td>
       </tr>
       <tr>
         <td CLASS="row2" WIDTH="70%" ALIGN="center" VALIGN="middle"><a HREF="{U_INDEX}" CLASS="small">{L_INDEX}</a>
           -> <a CLASS="small" HREF="{U_VIEW_FORUM}">{FORUM_NAME}</a><br>
           <br>
       <form NAME="quick_reply" ACTION="{U_QUICK_REPLY}" METHOD="post">
              <textarea NAME="message" ROWS="7" COLS="60" WRAP="virtual" CLASS="post" onClick="{if(document.quick_reply.message.value=='{L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">{L_QUICK_REPLY_TOPIC}</textarea><br />
              {U_HIDDEN_FORM_FIELDS}
             <input TYPE="submit" VALUE="Quick Reply" onClick="if(document.quick_reply.message.value == '{L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />
     </form>
         </td>
         <td CLASS="row1" WIDTH="30%" ALIGN="right" nowrap> <span CLASS="small">{S_AUTH_LIST}<br><br><center>{S_TOPIC_ADMIN}</center></span>
         </td>
       </tr>
       <tr>
         <td CLASS="spacer"></td>
       </tr>
       <tr> </tr>
       <tr>
         <td CLASS="spacer" COLSPAN="2"></td>
       </tr>
       <tr>
         <td CLASS="dots" COLSPAN="2"></td>
       </tr>
  </table>
<span CLASS="small">
<div ALIGN="CENTER">
<img SRC="templates/CoolOrange/images/arrow_left.gif">
<a HREF="{U_VIEW_OLDER_TOPIC}" CLASS="small">
Last Thread
</a>
 |
<a HREF="{U_VIEW_NEWER_TOPIC}" CLASS="small">
Next Thread
</a>
<img SRC="templates/CoolOrange/images/arrow_right.gif">
</span>
{JUMPBOX}
</div>
Ich hoffe das geht so in Ordnung!
Also, bitte wieder das Geänderte mit dem Code-Tag posten.

Schon mal Danke im Vorraus!

Verfasst: 04.01.2007 17:59
von nickvergessen
Ikku hat geschrieben:Ich hoffe das geht so in Ordnung!
Also, bitte wieder das Geänderte mit dem Code-Tag posten.
leider muss ich dich enttäuschen, les ma das, was in deiner Signatur der Link sagt ;)

Ich kümmer mich heut abend um die Änderung

Verfasst: 05.01.2007 13:17
von nickvergessen
Finde:

Code: Alles auswählen

              <b>{postrow.POSTER_NAME}</b><br>
              {postrow.RANK_IMAGE}<br>
Ersetze mit:

Code: Alles auswählen

              <b>{postrow.POSTER_NAME}</b><br>
              {postrow.POSTER_RANK}<br />
              {postrow.RANK_IMAGE}<br>