YourWBB


yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Ideen, Wünsche und Suche » thread_postbit tabellen einfügen » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag 1.623 Views | | Thema zu Favoriten hinzufügen

Neues Thema erstellen Antwort erstellen

Dieses Thema wurde als erledigt markiert. Thread erledigt

Zum Ende der Seite springen thread_postbit tabellen einfügen
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
eXzil
Mitglied


Dabei seit: 10.03.07
Beiträge: 11
Fähigkeiten: WBB2 Fortgeschritten
Forenversion: 2.3

 thread_postbit tabellen einfügen Antworten Zitieren Editieren Melden       UP

Hallo und guten Abend zusammen,

leider benötige ich auch bei einem weiteren Problem eure Hilfe smile

Zur Problemstellung:
Ich möchte gerne zusätzliche Zeilen in der Autorspalte der thread_postbit.tpl hinzufügen. Und diese dann andersfarbig darstellen ähnlich der abwechselnden Farbdarstellung bei der Startseite des wbb2.x.x im Standart Style. Wenn ich jetzt jedoch damit anfange einfach <tr> Tags dazwischen zu schmeißen zerreißt es mit alles.
Da ich auch keine wirklich css datei vom Forum finden kann wo die ganzen class definiert sind weiß ich auch nicht in welche class ich die <tr> setzen soll...
Ich hab mal ein Bild angehangen wie ich mir das eigentlich vorstelle (ich benutze den extra rang hack also nicht wundern über "rangname2 & rangimage2"

Template Code:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
<table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tr><if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if><td width="100%"><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
 <tr align="center">	
  <td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
   <table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
    <tr>
     <td style="width:100%" class="smallfont"><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b></span><br />     
      $posts[ranktitle]
        <if($rankimages!="")><then><br />$rankimages</then></if><br />
       <if($acp_userpic!="")><then>$posts[acp_usertext]<br />$acp_userpic<br /></then></if>
       <if($useravatar!="")><then><br />$useravatar</then></if><br />
	<if($showregdateinthread==1)><then>{$lang->items['LANG_THREAD_REGDATE']} $posts[regdate]<br /></then></if>
	<if($showuserpostsinthread==1)><then>{$lang->items['LANG_THREAD_USERPOSTS']} $posts[userposts]<br /></then></if>
	$userfields
	$userrating
	<if($userlevel)><then><br />$userlevel</then></if>
	<if($threadstarter==1)><then><br />{$lang->items['LANG_THREAD_THREADSTARTER']} <img src="{$style['imagefolder']}/threadstarter.gif" border="0" alt="{$LANG_THREAD_THREADSTARTER_ALT}" title="{$LANG_THREAD_THREADSTARTER_ALT}" /></then></if>
	 </then>
	 <else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
	 </if>
     <br /><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
    </tr>
   </table>
  </td>
  <td class="$tdclass" valign="top" style="width:100%">
   <table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
    <tr>
     <td style="width:100%" class="normalfont" align="left">
      <table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
       <tr>
        <td><span class="smallfont">$posticon <b>$posts[posttopic]</b></span></td>
        <td align="right" nowrap="nowrap"><a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/replypost.gif" border="0" alt="{$lang->items['LANG_THREAD_REPLYPOST']}" title="{$lang->items['LANG_THREAD_REPLYPOST']}" /></a> <a href="addreply.php?action=quote&amp;postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/quote.gif" border="0" alt="{$lang->items['LANG_THREAD_QUOTE']}" title="{$lang->items['LANG_THREAD_QUOTE']}" /></a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/editpost.gif" border="0" alt="{$lang->items['LANG_THREAD_EDITPOST']}" title="{$lang->items['LANG_THREAD_EDITPOST']}" /></a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/report.gif" border="0" alt="{$lang->items['LANG_THREAD_REPORT']}" title="{$lang->items['LANG_THREAD_REPORT']}" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&amp;postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/ip.gif" border="0" alt="{$lang->items['LANG_THREAD_VIEWIP']}" title="{$lang->items['LANG_THREAD_VIEWIP']}" /></a> </then></if><a href="javascript:self.scrollTo(0,0);"><img src="{$style['imagefolder']}/goup.gif" border="0" alt="{$lang->items['LANG_THREAD_GOUP']}" title="{$lang->items['LANG_THREAD_GOUP']}" /></a></td>
       </tr>
      </table><hr size="{$style['tableincellspacing']}" class="threadline" />
      $posts[message]
      $attachments
      $signature
      <if($posts['editorid'])><then><p><span class="smallfont">{$LANG_THREAD_EDITOR}</span></p></then></if>
      <if($invisible==1)><then><p align="right"><span class="normalfont">{$lang->items['LANG_THREAD_INVISIBLE']}</span></p></then></if>
     </td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td class="$tdclass" align="center" nowrap="nowrap"><span class="smallfont">
   <if($newpost==1)>
    <then><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticonnew.gif" border="0" alt="{$lang->items['LANG_THREAD_NEWPOST']}" title="{$lang->items['LANG_THREAD_NEWPOST']}" /></a></then>
    <else><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticon.gif" border="0" alt="" title="" /></a></else>
   </if>  
   $postdate <span class="time">$posttime</span></span></td>
  <td class="$tdclass" align="left" style="width:100%" valign="middle"><span class="smallfont">
   <if($posts['userid'])>
    <then>
     <if($showonlineinthread==1)>
      <then>
       <if($user_online==1)>
        <then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></then>
        <else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></else>
       </if>
      </then>
     </if>
     
     <if($posts['showemail']==1)>
      <then><a href="mailto:$posts[email]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
      <else>
       <if($posts['usercanemail']==1)>
        <then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
       </if>
      </else>
     </if>
     
     <if($posts['homepage'])>
      <then><a href="$posts[homepage]" target="_blank"><img src="{$style['imagefolder']}/www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then>
     </if>
   
     <a href="search.php?action=user&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a>
  
     <a href="usercp.php?action=buddy&amp;add=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a>
    
     <if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$LANG_MEMBERS_PM}" title="{$LANG_MEMBERS_PM}" /></a></then></if>
     
     <if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&amp;action=add"><img src="http://web.icq.com/whitepages/online?icq=$posts[icq]&amp;img=5" width="18" height="18" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>
     
     <if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&amp;message=Hi.+Are+you+there?"><img src="{$style['imagefolder']}/aim.gif" border="0" alt="{$LANG_MEMBERS_AIM}" title="{$LANG_MEMBERS_AIM}" /></a></then></if>
     
     <if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&amp;.src=pg"><img src="{$style['imagefolder']}/yim.gif" border="0" alt="{$LANG_MEMBERS_YIM}" title="{$LANG_MEMBERS_YIM}" /></a></then></if>
     
     <if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]"><img src="{$style['imagefolder']}/msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if>
     
    </then>
   </if> 
  </span></td>
 </tr>
</table></td></tr></table>


Würde mich sehr freuen mir da jemand helfen könnte.
Wünsche euch schonmal frohe Weihnachen smile

EDIT SAGT:
Ok Leute hab doch noch selbst eine Lösung gefunden, trozdem Danke smile Frohes Fest

Dieser Beitrag wurde 1 mal editiert, zum letzten Mal von eXzil: 23.12.10 21:58.

23.12.10 17:31 eXzil ist offline E-Mail Finden Als Freund hinzufügen
Baumstruktur | Brettstruktur
Gehe zu:

Neues Thema erstellen Antwort erstellen

yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Ideen, Wünsche und Suche » thread_postbit tabellen einfügen