Spaltengröße...

1860|4ever
Also habe bei meinem Board getrennten Kategorien, nun besteht das Problem das die Spalten wie Anzahl der Beiträge usw... bei jeder Kategorie ne andere größe haben kann man das irgendwie ändern wenn ja wie?
Gummihuhn
ich schmeiss meine Frage hier auch gleich mal mit rein:

wo kann ich die Breite der Avatar-Spalte einstellen in welchem Template?
habe Avatar mit den Maßen 120x120 .. aber die Spalte ist allgemein noch etwas zu breit
KleenMicha
Zur ersten Frage dazu musst du dir folgendes Template näher anschaun:
index_boardbit. Dort bei der Spalte für den letzten Beitrag jeweils eine feste Breite vergeben.

Zur zweiten frage: Um welche Breite es denn? Also in welchem Bereich des Forums?
1860|4ever
habs mal probiert hat aber net geklappt zuminderst blieb es dennoch so!
KleenMicha
Dann häng mal deine Änderungen bzw dass von dir geänderte Template hier an.
Gummihuhn
ich hab mein Problemchen schon selber gelöst smile

habe im thread_postbit.tpl geändert:
<br /><img src="{$style['imagefolder']}/spacer.gif" width="130" height="1" border="0" alt="" title="" /></td>

hab da grad noch ne frage, passt zwar weniger zum Thema, aber in welcher Sprachdatei muss ich suchen ..um unterm Avatar das Wort "Herkunft" fett zu schreiben?
Danke schon mal für die Hilfe smile
1860|4ever
So hier muss zugeben bin net sehr Templategewandt!
Gummihuhn
Zitat:
Original von Gummihuhn

hab da grad noch ne frage, passt zwar weniger zum Thema, aber in welcher Sprachdatei muss ich suchen ..um unterm Avatar das Wort "Herkunft" fett zu schreiben?
Danke schon mal für die Hilfe smile


hmm.. kann niemand helfen? Versagt
Samwan
Das kannst du bei LANG_USERCP_INTRODUCE_LOCATION ändern (Sprachvariablen)
Gummihuhn
hab jetzt nachgeschaut
Sprachpaket bearbeiten -> übersetzen -> Kategorie: usercp

aber dort finde ich die Variable nicht traurig
KleenMicha
@1860|4ever: Hier mal dein gewünschtes Template.
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:
<tr>
 <if($depth == 1)>
  <then>
  
  <td  id="wbb_boardtitle_$boards[boardid]"  align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"</then><else> colspan="2"</else></if>><table cellpadding="0" cellspacing="0">
   <tr class="tablea_fc">
      <td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
  <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if> id="wbb_boardtitle_$boards[boardid]"><span class="normalfont"><b><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}" id="boardtitle_$boards[boardid]">$boards[title]</a></b></span><span class="smallfont">
   <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
   </tr>
   </table></td>
  
  </then>
  
  <else>
  
  
  <if($depth == 2)>
   <then>
  
   <td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
   <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
    <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if>
    
    <if(isset($favorites) && $favorites)>
     <then><br /><b><a href="newthread.php?boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWTHREAD']}</a> <a href="usercp.php?action=removesubscription&amp;boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
    </if>
    
    </span></td>
 
  </then>
  
  <else>
  
  <td class="tableb" align="center">&nbsp;</td>
  <td id="wbb_boardtitle_$boards[boardid]" class="tablea" align="left"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><table cellpadding="0" cellspacing="0">
   <tr class="tablea_fc">
    <td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" />&nbsp;&nbsp;</td>
    <td><span class="normalfont"><b><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}" id="boardtitle_$boards[boardid]">$boards[title]</a></b></span><span class="smallfont">
     <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
   </tr>
   </table></td>
  
  </else>
  </if>
  
  </else>
 </if>
 
 <if($boards['externalurl'] == '')><then>
 
 <td class="tableb" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
 <td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
 <td class="tableb" nowrap="nowrap" align="left" style="width:280px"><if($boards['threadcount']!=0)>
  
  <then>
   <if($showlastposttitle==1)>
    <then>
    
     <table border="0" cellspacing="0" cellpadding="0" style="width:280px">
      <tr align="left" class="tableb_fc">
       <td nowrap="nowrap">&nbsp;&nbsp;$ViewPosticon&nbsp;</td>
       <td nowrap="nowrap"><span class="smallfont"><if($boards['threadprefix']!="" && $permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><span class="prefix">$boards[threadprefix]</span><br /></then></if> <if($permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><b><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_START_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span>&nbsp;{$lang->items['LANG_START_FROM']}&nbsp;<if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
      </tr>
     </table>
    
    </then>
    <else>
    
     <table style="width:280px">
      <tr class="tableb_fc">
       <td nowrap="nowrap" align="right" style="width:100%"><span class="smallfont">$lastpostdate <span class="time">$lastposttime</span><br />{$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
       <td><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/lastpost.gif" border="0" alt="{$lang->items['LANG_START_GOTO_LASTPOST']}" title="{$lang->items['LANG_START_GOTO_LASTPOST']}" /></a></td>
      </tr>
     </table>
    
    </else>
   </if>
  </then>
  
  <else>
   <div align="center"><span class="smallfont">{$lang->items['LANG_START_NOPOSTS']}</span></div>
  </else>
  
 </if></td>
 <if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then><td class="tablea" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else>&nbsp;</else></if></span></td></then></if>
 
 </then></if>
</tr>


@Gummihuhn: Da das Feld: Herkunft ein Profilfeld ist musst du wohl eine 'nderung am Template: thread_userfields hierfür machen.
Gummihuhn
und was genau?
da steht ja nur:
code:
1:
$val[title]: $fieldcontent<br />
KleenMicha
Aus:
code:
1:
$val[title]: $fieldcontent<br />


wird:
code:
1:
<strong>$val[title]:</strong> $fieldcontent<br />


Gilt dann aber für alle extra Profilfelder.
Gummihuhn
danke *knutsch* .. es hat geklappt smile