Startseiten-Auflistung umändern & Thread_Postbit Bild in LInk ändern |
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Die Moderatoren unter der Forenbeschreibung kannst du mit diesem Hack erreichen:
Moderatoren unter Forenbeschreibung
Den Verwarnhack kenne ich nicht.
Aber da sind doch sicher Templates, die irgendwas mit verwarn heißen. Da könntest du suchen.
Um die Anzahl der Themen und Beiträge zwischen Forenbeschreibung und letzten Beitrag zu bekommen, könntest du dir das originale Template index mal ansehen. Dort ist es nämlich so.
Du kannst auch gerne dein Template index mal posten, dann schaue ich es mir mal an.
__________________
|
|
13.05.09 18:48 |
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Hey
Die Templates zum Verwarnhack hab cih schon alles durchgeschaut, leider bin ich dabei nicht fündig geworden
|
|
13.05.09 18:56 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
leswo
Mitglied
Dabei seit: 04.02.09
Beiträge: 56
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Der Verwarnhack ist etwas "unkonventionell" geschrieben.
Der Hack orientiert sich leider nicht an unterschiedlichen Templates. Die Buttons sind fest codiert.
Die für die thread_postbit in acp\lib\ver_thread.inc.php und zwar diese Zeile ist dafür zuständig:
php: |
1:
|
if($wbbuserdata['verw_can_verw']) $verwarnung = "<a href=\"javascript:verwarnung(".$posts['userid'].",".$posts['postid'].")\"><img src=\"".$style['imagefolder']."/thread_verwarn.gif\" border=\"0\" alt=\"".$lang->get("LANG_VERW_ALT_TAG")."\" /></a>"; |
|
die anderen Funktionen sind auch in acp\lib\ver_xxx.inc.php zu finden, hab aber nun nicht intensiv geschaut was wohingehört.
|
|
13.05.09 19:08 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Hallo
Danke.
Das mit der Startseite und der index.tpl haut leider nicht hin irgendwie
|
|
14.05.09 22:09 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
KleenMicha
Webentwickler
Dabei seit: 16.01.04
Beiträge: 2.592
Fähigkeiten: WBB3 Fortgeschritten; WBB2 Profi
|
|
Wenn ich dich richtig verstanden habe bei mywbb, dann hat doch alles gepasst?
Was funktioniert genau noch nicht im Template index?
__________________ Gruß Micha
|
|
14.05.09 22:36 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Hey
ich hab lediglich gesagrt das ich Tipps bekommen ahbe ;-) Konnte nur noch nicht alles umsetzen.
Naja wenn ich die Index gegn die original Austausche ist trotzdem keine Änderung auf der Startseite zu sehen^^
|
|
14.05.09 23:25 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Du sollst das ja nicht einfach tauschen, sondern dir ansehen.
Da du ja noch andere Hacks im index hast, machst du dir die nur kaputt, wenn du das originale Template verwendest.
Poste doch bitte mal dein Template index.
Und ich bin gerade nicht sicher, evtl. auch index_catbit und index_boardbit.
Je nachdem, wie der Style aufgebaut ist, sind es jedenfalls diese drei Templates, die zuständig sind für die Tabellen auf der Startseite des Boards.
__________________
|
|
15.05.09 11:35 |
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Hey
das ist mir auch klar
Ich hab auch nur das ausgetauscht was ich für die Anordnung gehalten habe
Index.tpl:
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:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
|
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_START_TITLE']}</title>
$headinclude
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($wbbuserdata['userid']==0)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="2"><span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="left" style="width:100%" rowspan="2"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
<td class="tablecat" align="left"><span class="normalfont"><b>{$lang->items['LANG_START_MEMBERLOGIN']}</b></span></td>
</tr>
<tr>
<td class="tablea" nowrap="nowrap">
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" /></then></if>
<table cellpadding="1" cellspacing="0" border="0" style="width:100%">
<tr>
<td align="left"><span class="smallfont">{$lang->items['LANG_START_FIELDUSERNAME']}</span></td>
<td align="left"><input type="text" name="l_username" maxlength="50" style="width:65px" class="input" tabindex="1" /></td>
<td align="left">
<if($allowloginencryption==1)>
<then>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /></td>
<td align="left" nowrap="nowrap"><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_START_FIELDCRYPTION']}</label></span></td>
</tr>
</table>
</then>
</if>
</td>
</tr>
<tr>
<td align="left"><span class="smallfont">{$lang->items['LANG_START_FIELDPASSWORD']}</span></td>
<td align="left"><input type="password" name="l_password" maxlength="30" style="width:65px" class="input" tabindex="2" /></td>
<td align="left"><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" style="width:65px" class="input" tabindex="3" /></td>
</tr>
</table>
</form>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</td>
</tr>
</then>
<else>
<if($showpmonindex==1 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then>
<tr>
<td class="tableb" style="width:1%"><if($countnew>0)><then><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEWPM']}" title="{$lang->items['LANG_START_NEWPM']}" /></then><else><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEWPM']}" title="{$lang->items['LANG_START_NONEWPM']}" /></else></if></td>
<td class="tablea">
<table style="width:100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
<td align="right"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
</tr>
<if(in_array(4,$wbbuserdata['groupids']) && count($wbbuserdata['groupids'])==1)><then>
<tr class="tablea_fc">
<td align="center" colspan="2"><b><span class="3">Bitte stell dich zuerst im <a href="http://www.hamsterboard.de/board.php?boardid=26">Vorstellungsforum</a> vor. Danach kannst du in allen Bereichen posten0
<br>Vorher sind dir leider nicht alle Bereiche des Hamsterboards zugänglich, in den Kernforen kannst du nur lesen und die Mitgliederecke sowie die Aktionen des Hamsterboards kannst du nicht sehen.</b></span></td>
</tr>
</then></if>
</table>
</td>
</tr>
</then>
<else>
<tr>
<td class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
</tr>
</else>
</if>
</else>
</if>
</table>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
$boardbit
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td>
</tr>
<tr>
<td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($useronline=="")><then> </then></if>$useronline</span></td>
</tr>
</then>
</if>
$verwarnleiste
<!-- Wer War Da Anfang -->
<if($showuservisited==1)><then>
<tr><td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWUSERVISITED']}</b></span></td></tr>
<tr><td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td><td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERVISITED']}</span></td></tr>
<tr><td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($uservisited=="")><then> </then></if>$uservisited</span></td></tr>
</then></if>
<!-- Wer War Da Ende -->
<if(isset($birthdaybit) || isset($eventbit))>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWEVENTS']}</b></span></td>
</tr>
<if(isset($birthdaybit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/birthday.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BIRTHDAY']}</b><br />$birthdaybit</span></td>
</tr>
</then>
</if>
<if(isset($eventbit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/events.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_TODAYEVENT']}</b><br />$eventbit</span></td>
</tr>
</then>
</if>
</then>
</if>
<if($showstats==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>">
<table border="0" cellspacing="0" cellpadding="0" style="width:100%">
<tr>
<td align="left" style="width:50%"><span class="smallfont"><b>{$lang->items['LANG_START_STATISTIC']}</b></span></td>
<td align="right" style="width:50%"><span class="smallfont"><b>{$lang->items['LANG_GLOBAL_LEGEND']}</b></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td rowspan="3" class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']}) | {$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a></span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_NEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_NONEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_BOARD_CLOSED']} </span></td>
<td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_BOARD_LINK']}</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"><span class="smallfont"><a href="search.php?action=24h{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a></span></td>
</tr>
</then>
<else>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_GLOBAL_LEGEND']}</b></span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_NEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_NONEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_BOARD_CLOSED']} </span></td>
<td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
<td nowrap="nowrap"><span class="smallfont"> {$lang->items['LANG_START_BOARD_LINK']}</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="tableb" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><a href="search.php?action=24h{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a></span></td>
</tr>
</else>
</if>
</table>
<br />
$footer
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8402442-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html> |
|
|
|
15.05.09 11:57 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Achso, ok.
Also eigentlich ist es dieser Part (Zeile 118 - 125):
code: |
1:
2:
3:
4:
5:
6:
7:
8:
|
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr> |
|
Der müsste dann so aussehen:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
|
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr> |
|
Allerdings bin ich mir gerade nicht ganz sicher, ob das reicht.
Das sollte die Tabellenzellen der Tabellenkopfzeile tauschen.
Also die Zeile, in der "Foren Letzter Beitrag Themen Beiträge" steht sollte dann diese Reihenfolge haben:
"Foren Themen Beiträge Letzter Beitrag"
Danach kommt ja $boardbit. An der Stelle werden index_catbit und index_boardbit eingebunden.
Wenn sich also nur die Reihenfolge der Überschriften ändern sollte mit der Änderung am Template index, dann muss in den anderen beiden Templates noch was sein, um die Reihenfolge der ganzen Tabelle zu ändern.
Achja, im Template board findest du die gleiche Stelle auch nochmal für die Anzeige der einzelnen Kategorien.
Im Template board_cat finde ich es auch nochmal.
Puh, dabei fällt mir auf, dass ich speziell danach noch nie geschaut habe.
Manchmal ist es schon irre, wie die Templates so miteinander zusammen hängen.
__________________
|
|
16.05.09 01:19 |
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Hey
wenn ich das einbaue, verändert sich gar nix
|
|
16.05.09 14:41 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Doch, die Überschriften der Tabellen müssten dann getauscht sein.
Aber eben nur die Überschriften.
Der Rest steht im index_boardbit. Ich habe gerade nochmal reingeschaut. Ist etwas komplizierter.
Poste das doch bitte mal.
__________________
|
|
21.05.09 09:38 |
Finden
Als Freund hinzufügen
|
|
Jolaya
Mitglied
Dabei seit: 07.08.06
Beiträge: 166
Fähigkeiten: WBB3 Fortgeschritten Herkunft: Leverkusen Forenversion: 3.1
Themenstarter
|
|
Huhu
So jetzt hat das mit den Überschriften Austauschen geklappt!
Index_boardbit
Zitat: |
<tr>
<if($depth == 1)>
<then>
<td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"</then><el
se> colspan="2"</else></if>><table cellpadding="0" cellspacing="0">
<tr class="tablea_fc">
<td><a href="archive/$boards[boardid]/board.html"><img src="{$style['Imagesetter']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a> </td>
<td align="left"><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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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"><a href="archive/$boards[boardid]/board.html"><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a></td>
<td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></i
f>><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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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&boardid=$boards[boardid]{$SI
D_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
</if>
</span></td>
</then>
<else>
<td class="tableb" align="center"> </td>
<td class="tablea" align="left"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></i
f>><table cellpadding="0" cellspacing="0">
<tr class="tablea_fc">
<td><a href="archive/$boards[boardid]/board.html"><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a> </td>
<td><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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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" nowrap="nowrap" align="left"><if($boards['threadcount']!=0)>
<then>
<if($showlastposttitle==1)>
<then>
<table border="0" cellspacing="0" cellpadding="0">
<tr align="left" class="tableb_fc">
<td nowrap="nowrap"> $ViewPosticon </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&threadid=$boards[lastthreadid]{$SID_ARG_
2ND}" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_ST
ART_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span> <if($edited)><then><b>{$lang->items[
'LANG_START_EDITED']}</b> </then></if>{$lang->items['LANG_START_FROM']
} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$lastposter</
a></b></then><else>$lastposter</else></if></span></td>
</tr>
</table>
</then>
<else>
<table style="width:100%">
<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[lastp
oster]</a></b></then><else>$boards[lastposter]</else></if></span></td>
<td><a href="thread.php?goto=lastpost&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>
<td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
<td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
<if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then><td class="tableb" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else>&n
bsp;</else></if></span></td></then></if>
</then></if>
</tr> |
|
|
15.06.09 18:02 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Probier's mal so:
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 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><a href="archive/$boards[boardid]/board.html"><img src="{$style['Imagesetter']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a> </td>
<td align="left"><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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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"><a href="archive/$boards[boardid]/board.html"><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a></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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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&boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
</if>
</span></td>
</then>
<else>
<td class="tableb" align="center"> </td>
<td 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><a href="archive/$boards[boardid]/board.html"><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" title="{$lang->items['LANG_START_ARCHIVELINK']} $boards[title]" /></a> </td>
<td><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($moderatorbit!="")><then><br /><if($modcount <>1)><then><b>Moderatoren:</b></then><else><b>Moderator:</b></else></if> $moderatorbit</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"><if($boards['threadcount']!=0)>
<then>
<if($showlastposttitle==1)>
<then>
<table border="0" cellspacing="0" cellpadding="0">
<tr align="left" class="tableb_fc">
<td nowrap="nowrap"> $ViewPosticon </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&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> <if($edited)><then><b>{$lang->items['LANG_START_EDITED']}</b> </then></if>{$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$lastposter</a></b></then><else>$lastposter</else></if></span></td>
</tr>
</table>
</then>
<else>
<table style="width:100%">
<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&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> </else></if></span></td></then></if>
</then></if>
</tr> |
|
__________________
|
|
16.06.09 11:24 |
Finden
Als Freund hinzufügen
|
|
Biggi
Mitglied
Dabei seit: 08.01.07
Beiträge: 3.479
Fähigkeiten: WBB2 Profi Forenversion: 2.3
|
|
Die sind falschrum, ja?
Dann muss es so gehen (Zeile 50 - 54):
code: |
1:
2:
3:
4:
5:
|
<if($boards['externalurl'] == '')><then>
<td class="tableb" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
<td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
<td class="tableb" nowrap="nowrap" align="left"><if($boards['threadcount']!=0)> |
|
Also einfach [threadcount] mit [postcount] tauschen.
__________________
|
|
16.06.09 11:31 |
Finden
Als Freund hinzufügen
|
|
|