Quickreply 2.0 Problem |
Ic3m4n™
Mitglied
Dabei seit: 02.12.05
Beiträge: 16
|
|
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.
Problembeschreibung: Also ich hab vorhin das Quickreply2.0 eingebaut und seid dem kommt wenn ich nen Thread ansehen will immer:
Fehlermeldung: Parse error: syntax error, unexpected '?', expecting '}' in /usr/export/www/hosting/wrestlingnews/board/thread.php(921) : eval()'d code on line 116
Link zum Forum oder Screenshot: http://wrestlingnews.wr.ohost.de/screenie.JPG
Was wurde zuletzt geändert oder eingebaut? Quickreply2.0 eingebaut
Ich hoffe ihr könnt mir helfen
|
|
27.03.06 17:32 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Ic3m4n™
Mitglied
Dabei seit: 02.12.05
Beiträge: 16
Themenstarter
|
|
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
|
$posts['username'] = htmlconverter($posts['username']);
$username = $posts['username'];
/** mod / admin option -> set visible post **/
if ($posts['visible'] == 0 && $posts['posttime'] != $thread['starttime']) $invisible = 1;
else $invisible = 0;
$tdclass = getone($count, 'tableb', 'tablea');
// use postcache if possible
if ($posts['cache']) $posts['message'] = $this->parse->parseCache($posts['cache']);
else $posts['message'] = $this->parse->doparse($posts['message'], $posts['allowsmilies'], $posts['allowhtml'], $posts['allowbbcode'], $posts['allowimages']);
$posts['posttopic'] = htmlconverter(textwrap($posts['posttopic']));
if ($posts['iconid']) $posticon = makeimgtag($posts['iconpath'], getlangvar($posts['icontitle'], $lang), 0);
else $posticon = '';
if ($posts['posttime'] > $thread['lastvisit']) $newpost = 1;
else $newpost = 0;
$postdate = formatdate($wbbuserdata['dateformat'], $posts['posttime'], 1);
$posttime = formatdate($wbbuserdata['timeformat'], $posts['posttime']); |
|
Laut der Meldung ist es Zeile 116
quasi die: if ($posts['cache']) $posts['message'] = $this->parse->parseCache($posts['cache']);
|
|
27.03.06 17:51 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
mathysjp
Mitglied
Dabei seit: 21.01.04
Beiträge: 45
Herkunft: Schweiz Forenversion: 2.3.4
|
|
Also ich habe das jetzt gerade eingebaut und es funktioniert wunderbar.
__________________ Gruss
Mathys JP
|
|
27.03.06 19:32 |
E-Mail
Finden
Als Freund hinzufügen
|
|
Ic3m4n™
Mitglied
Dabei seit: 02.12.05
Beiträge: 16
Themenstarter
|
|
Zitat: |
Original von mathysjp
Also ich habe das jetzt gerade eingebaut und es funktioniert wunderbar. |
na das hilft mri jetzt aber^^
hier mal thread_postbit(könnte das mal jemand durchsehen?)
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:
|
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tr><td><img src="{$style['imagefolder']}/posttable_obenlinks.gif" border="0" alt="" title="" /></td><td style="width: 100%; background-image: url({$style['imagefolder']}/posttable_oben.gif);"></td><td><img src="{$style['imagefolder']}/posttable_obenrechts.gif" border="0" alt="" title="" /></td></tr></table>
<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><table cellpadding="0" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr align="left">
<td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
<table style="width:100%" cellpadding="0" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="background-color: #42474D; vertical-align: top;" class="smallfont" align="center"><br/><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b></span> <if($posts['gender'] == 1)><then><img src="{$style['imagefolder']}/male.gif" border="0" alt="{$LANG_THREAD_MALE}" title="{$LANG_THREAD_MALE}" /></then></if>
<if($posts['gender'] == 2)><then><img src="{$style['imagefolder']}/female.gif" border="0" alt="{$LANG_THREAD_FEMALE}" title="{$LANG_THREAD_FEMALE}" /></then></if><br />
<if($useravatar!="")><then><br />$useravatar<br/></then></if><br />
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<if($rankimages!="")><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center"><span class="smallfont">$rankimages</span></td></tr></table></td></tr></then></if>
<tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Rang:</b> $posts[ranktitle]</span></td></tr></table></td></tr>
<if($showuserpostsinthread==1)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Posts:</b> $posts[userposts]</span></td></tr></table></td></tr></then></if>
<if($showregdateinthread==1)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Dabei seit:</b> $posts[regdate]</span></td></tr></table></td></tr></then></if>
$userfields
<if($userrating!="")><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center"><span class="smallfont">$userrating</span></td></tr></table></td></tr></then></if>
<if($userlevel)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center"><span class="smallfont">$userlevel</span></td></tr></table></td></tr></then></if>
</table>
<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}" /><br/></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/>
<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>
</then>
</if>
<br/>
<img src="{$style['imagefolder']}/spacer.gif" width="170" height="1" border="0" alt="" title="" />
</td>
<td rowspan="2" style="background-image: url({$style['imagefolder']}/postbit_links.gif); vertical-align: top; width: 11px; background-color: #3C4047;"><img src="{$style['imagefolder']}/postbit_ecke.gif" border="0" alt="" title="" /></td>
<td rowspan="2" style="background-image: url({$style['imagefolder']}/postbit_oben.gif); background-repeat: repeat-x; width:100%; vertical-align: top; background-color: #3C4047;" class="normalfont" align="left">
<br/>
<table style="width:100%" cellpadding="4" 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&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> <if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&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>
<br/><br/>
</td>
</tr>
<tr>
<td style="background-color: #42474D; vertical-align: bottom; padding-bottom: 5px;" class="smallfont" align="center">
<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><br/>
</td>
</tr>
</table >
</td>
</tr>
</table></td></tr></table>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr><td style=" background-image: url({$style['imagefolder']}/posttable_unten.gif); background-repeat: repeat-x;"><div style="position: relative; top: -30px; left: -2px;"><img src="{$style['imagefolder']}/posttable_untenlinks.gif" alt="" border="0" title="" /></div></td>
<td align="right" valign="top" style="width: 100%; background-image: url({$style['imagefolder']}/posttable_unten.gif); background-repeat: repeat-x;"><img src="{$style['imagefolder']}/posttable_untenrechts2.gif" border="0" alt="" title="" /><img src="{$style['imagefolder']}/posttable_untenrechts.gif" border="0" alt="" title="" /></td></tr></table>
<table style="position: relative; top: -30px;" align="right" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/posttable_leiste_oben.gif); background-repeat:repeat-x;"><img height="0" id="post_obenlinks_$posts[postid]" src="{$style['imagefolder']}/posttable_leiste_obenlinks.gif" alt="" border="0" title="" /><if($posts['userid'])><then><a href="search.php?action=user&userid=$posts[userid]{$SID_ARG_2ND}"><img height="0" id="post_search_$posts[postid]" src="{$style['imagefolder']}/thread_search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a><if($posts['showemail']==1)><then><a href="mailto:$posts[email]"><img height="0" id="post_email_$posts[postid]" src="{$style['imagefolder']}/thread_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 height="0" id="post_email_$posts[postid]" src="{$style['imagefolder']}/thread_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 height="0" id="post_www_$posts[postid]" src="{$style['imagefolder']}/thread_www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then></if><if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&userid=$posts[userid]{$SID_ARG_2ND}"><img height="0" id="post_pm_$posts[postid]" src="{$style['imagefolder']}/thread_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]&action=add"><img height="0" id="post_icq_$posts[postid]" src="{$style['imagefolder']}/thread_icq.gif" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if><if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?"><img height="0" id="post_aim_$posts[postid]" src="{$style['imagefolder']}/thread_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]&.src=pg"><img height="0" id="post_yim_$posts[postid]" src="{$style['imagefolder']}/thread_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 height="0" id="post_msn_$posts[postid]" src="{$style['imagefolder']}/thread_msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if><a href="usercp.php?action=buddy&add=$posts[userid]{$SID_ARG_2ND}"><img height="0" id="post_homie_$posts[postid]" src="{$style['imagefolder']}/thread_homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a></then></if></td>
<td style="background-image: url({$style['imagefolder']}/posttable_leiste_oben.gif); background-repeat:repeat-x;" align="right"><img height="0" id="post_obenrechts_$posts[postid]" src="{$style['imagefolder']}/posttable_leiste_obenrechts.gif" alt="" border="0" title="" /></td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/posttable_leiste_unten.gif); background-repeat:repeat-x; vertical-align: top;"><img src="{$style['imagefolder']}/posttable_leiste_untenlinks.gif" alt="" border="0" align="top" title="" /></td>
<td nowrap="nowrap" align="right" style="background-image: url({$style['imagefolder']}/posttable_leiste_unten.gif); background-repeat:repeat-x; vertical-align: top;"><a href="javascript: void(0);" onClick="menu('$posts[postid]');"><img src="{$style['imagefolder']}/posttable_leiste_untenrechts2.gif" border="0" alt="Optionen anzeigen" title="Optionen anzeigen" style="position: relative; top: -5px;" /></a><img src="{$style['imagefolder']}/posttable_leiste_untenrechts.gif" alt="" border="0" width="56" align="top" title="" /></td>
</tr>
</table>
</td></tr></table>
<script language="javascript" type="text/javascript">
<!--
allpostids.push('$posts[postid]');
//-->
</script> |
|
|
|
27.03.06 21:14 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
hm da bei dem hack eigentlich keine Änderungen an der thread_postbit zu machen waren, glaub ich nicht das es an der liegt, bitte nochmal die thread.tpl anhängen
|
|
27.03.06 21:18 |
Finden
Als Freund hinzufügen
|
|
KleenMicha
Webentwickler
Dabei seit: 16.01.04
Beiträge: 2.592
Fähigkeiten: WBB3 Fortgeschritten; WBB2 Profi
|
|
So langer rede kruzer Sinn:
In der datei: thread.php wird in der Zeile: 921 ein Template aufgerufen, worin auch der Fehler, genauergesagt dortdrin in Zeile: 116 befindet.
Meine Vermutung ist hierbei das Template thread. Aber schau selbst nochmal nach, am besten mit einem Editor, wie: weaverslave oder ähnliche.
__________________ Gruß Micha
|
|
27.03.06 21:24 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Ic3m4n™
Mitglied
Dabei seit: 02.12.05
Beiträge: 16
Themenstarter
|
|
Könnt ihr bitte mal danach schaun(von templ. hab ich nich soo die ahnung^^)
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:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
|
<?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 | $board[title] | $thread[prefix] $thread[topic]</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
var allpostids = new Array();
function menu(postid) {
document.getElementById("post_obenlinks_" + postid).height = (document.getElementById("post_obenlinks_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_search_" + postid)) document.getElementById("post_search_" + postid).height = (document.getElementById("post_search_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_email_" + postid)) document.getElementById("post_email_" + postid).height = (document.getElementById("post_email_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_www_" + postid)) document.getElementById("post_www_" + postid).height = (document.getElementById("post_www_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_pm_" + postid)) document.getElementById("post_pm_" + postid).height = (document.getElementById("post_pm_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_icq_" + postid)) document.getElementById("post_icq_" + postid).height = (document.getElementById("post_icq_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_aim_" + postid)) document.getElementById("post_aim_" + postid).height = (document.getElementById("post_aim_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_yim_" + postid)) document.getElementById("post_yim_" + postid).height = (document.getElementById("post_yim_" + postid).height==17) ? (0) : (17);
if(document.getE????
?A?º?lementById("post_msn_" + postid)) document.getElementById("post_msn_" + postid).height = (document.getElementById("post_msn_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_homie_" + postid)) document.getElementById("post_homie_" + postid).height = (document.getElementById("post_homie_" + postid).height==17) ? (0) : (17);
if(document.getElementById("post_obenrechts_" + postid)) document.getElementById("post_obenrechts_" + postid).height = (document.getElementById("post_obenrechts_" + postid).height==17) ? (0) : (17);
}
function hardclosemenu(postid) {
document.getElementById("post_obenlinks_" + postid).height = 0;
if(document.getElementById("post_search_" + postid)) document.getElementById("post_search_" + postid).height = 0;
if(document.getElementById("post_email_" + postid)) document.getElementById("post_email_" + postid).height = 0;
if(document.getElementById("post_www_" + postid)) document.getElementById("post_www_" + postid).height = 0;
if(document.getElementById("post_pm_" + postid)) document.getElementById("post_pm_" + postid).height = 0;
if(document.getElementById("post_icq_" + postid)) document.getElementById("post_icq_" + postid).height = 0;
if(document.getElementById("post_aim_" + postid)) document.getElementById("post_aim_" + postid).height = 0;
if(document.getElementById("post_yim_" + postid)) document.getElementById("post_yim_" + postid).height = 0;
if(document.getElementById("post_msn_" + postid)) document.getElementById("post_msn_" + postid).height = 0;
if(document.getElementById("post_homie_" + postid)) document.getElementById("post_homie_" + postid).height = 0;
if(document.getElementById("post_obenrechts_" + postid)) document.getElementById("post_obenrechts_" + postid).height = 0;
}
function closemenus() {
for(var i=0; i < allpostids.length; i++) {
hardclosemenu(allpostids[i]);
}
}
//-->
</script>
<link rel="contents" href="board.php?boardid=$boardid{$SID_ARG_2ND}" />
<if($t->pages>1)>
<then>
<link rel="first" h????
?A?º?ref="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=1{$SID_ARG_2ND}" />
<link rel="last" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=$t->pages{$SID_ARG_2ND}" />
<if($t->pages>$t->page)><then><link rel="next" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=$t->page+1{$SID_ARG_2ND}" /></then></if>
<if($t->page>1)><then><link rel="prev" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=$t->page-1{$SID_ARG_2ND}" /></then></if>
</then>
</if>
<script type="text/javascript">
<!--
var imageMaxWidth = $picmaxwidth;
var imageMaxHeight = $picmaxheight;
//-->
</script>
<script type="text/javascript" src="js/images.js"></script>
<script type="text/javascript">
<!--
function rating(userid) {
window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
//-->
</script>
</head>
<body onload="resizeImages();">
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar » </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<t????
?A?º?d align="left"><span class="smallfont"><a href="thread.php?goto=lastpost&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_LASTPOST']}</a> | <a href="thread.php?goto=firstnew_thread&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FIRST_NEWPOST']}</a></span></td>
<td align="right" valign="top"><span class="smallfont"><a href="print.php?threadid=$threadid&page=$t->page{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PRINTTHREAD']}</a> | <if($turnoff_formmail==0)><then><a href="formmail.php?threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_SENDTOFRIEND']}</a> |</then></if> <a href="usercp.php?action=addsubscription&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_ADD_FAVORITES']}</a></span></td>
</tr>
</table></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="left" valign="bottom"><span class="smallfont">$t->pagelink</span></td>
<td align="right" valign="bottom"><span class="smallfont">$newthread $addreply</span></td>
</tr>
</table>
$thread_poll
<table cellpadding="0" cellspacing="0" border="0" style="width:{$style['tableinwidth']}" align="center">
<tr>
<td><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tablecat" align="left"<if(isset($t->postbitlist))><then> colspan="3"</then></if>><span class="normalfont"><a href="javascript:self.scrollTo(0,50000);"><img src="{$style['imagefolder']}/asc.gif" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a> <b>$thread[topic] $threadrating</b></span></td>
</tr>
<if(isset($t->postbitlist))>
<then>
<tr align="center">
<td class="tabletitle" style="width:80%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POSTBITLIST']}</b></span></td>
<td class="tabletitle" style="width:20%"><span class="smallfont"><b>{$lang->ite????
?A?º?ms['LANG_THREAD_AUTHOR']}</b></span></td>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_DATE']}</b></span></td>
</tr>
<if($t->page!=1)>
<then>
<tr align="center">
<td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PREVPAGE']}</a></span></td>
</tr>
</then>
</if>
{$t->postbitlist}
<if($t->page<$t->pages)>
<then>
<tr align="center">
<td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTPAGE']}</a></span></td>
</tr>
</then>
</if>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
</then>
<else>
</table>
</else>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" align="left" style="width:<expression>((2*$style['tableincellpadding'])+159)</expression>px" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
<td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POST']}</b></span></td>
<td align="right"><span class="smallfont"><b>«</b> <a href="thread.php?goto=nextoldest&am????
?A?º?p;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTOLDEST']}</a> | <a href="thread.php?goto=nextnewest&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTNEWEST']}</a> <b>»</b></span></td>
</tr>
</table></td>
</tr>
</table>
<br/>
$postbit
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="2">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="smallfont">$t->pagelink</span></td>
<td align="right"><span class="smallfont"><a href="thread.php?threadid=$threadid&threadview=1&hilight=$hilight&hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_THREADED']}</a> | <a href="thread.php?threadid=$threadid&threadview=0&hilight=$hilight&hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FLATTHREAD']}</a></span></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="left" valign="top">$boardjump</td>
<td align="right" valign="top"><span class="smallfont">$newthread $addreply</span></td>
</tr>
</table>
<if(checkpermissions("can_rate_thread")==1 && $board['allowratings']==1 && !$thread['isvoted'])>
<then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><form action="threadrating.php" method="post"><table border="0" cellspacing="0" cellpadding="0" align="center" class="tablea_fc">
<tr align="center">
<td valign="bottom" align="right"><span class="normalfont"><b>{$lang->items['LANG_THREAD_THREADRATING']}<????
?A?º?/b> </span><span class="smallfont"><br /><br />
{$lang->items['LANG_THREAD_VERYPOOR']} <img src="{$style['imagefolder']}/thumbs_down.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYPOOR']}" title="{$lang->items['LANG_THREAD_VERYPOOR']}" /> </span>
</td>
<td style="background-color: $colors[0]"><span class="smallfont">
<input type="radio" name="rating" value="1" onclick="this.form.submit();" />
<br />
1 </span></td>
<td style="background-color: $colors[1]"><span class="smallfont">
<input type="radio" name="rating" value="2" onclick="this.form.submit();" />
<br />
2 </span></td>
<td style="background-color: $colors[2]"><span class="smallfont">
<input type="radio" name="rating" value="3" onclick="this.form.submit();" />
<br />
3 </span></td>
<td style="background-color: $colors[3]"><span class="smallfont">
<input type="radio" name="rating" value="4" onclick="this.form.submit();" />
<br />
4 </span></td>
<td style="background-color: $colors[4]"><span class="smallfont">
<input type="radio" name="rating" value="5" onclick="this.form.submit();" />
<br />
5 </span></td>
<td style="background-color: $colors[5]"><span class="smallfont">
<input type="radio" name="rating" value="6" onclick="this.form.submit();" />
<br />
6 </span></td>
<td style="background-color: $colors[6]"><span class="smallfont">????
?A?º?
<input type="radio" name="rating" value="7" onclick="this.form.submit();" />
<br />
7 </span></td>
<td style="background-color: $colors[7]"><span class="smallfont">
<input type="radio" name="rating" value="8" onclick="this.form.submit();" />
<br />
8 </span></td>
<td style="background-color: $colors[8]"><span class="smallfont">
<input type="radio" name="rating" value="9" onclick="this.form.submit();" />
<br />
9 </span></td>
<td style="background-color: $colors[9]"><span class="smallfont">
<input type="radio" name="rating" value="10" onclick="this.form.submit();" />
<br />
10 </span></td>
<td align="left" valign="bottom"><span class="smallfont"> <img src="{$style['imagefolder']}/thumbs_up.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYGOOD']}" title="{$lang->items['LANG_THREAD_VERYGOOD']}" /> {$lang->items['LANG_THREAD_VERYGOOD']}</span></td>
</tr>
</table>
<input type="hidden" name="sid" value="$session[hash]" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="page" value="{$t->page}" />
</form></td>
</tr>
</table><br />
</then>
</if>$quickreply
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea" align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar » </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if>????
?A?º?<b>$thread[topic]</b></span></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="right">
<if(checkmodpermissions())>
<then>
<form action="modcp.php" method="get" name="modoption">
<select name="action">
<option value="-1">{$lang->items['LANG_THREAD_ADMINOPTIONS']}</option>
<if(checkmodpermissions("m_can_thread_close"))>
<then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_move"))>
<then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_edit"))>
<then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
</if>
<if(checkmodpermissions("m_can_post_del"))>
<then><option value="post_del">{$lang->items['LANG_THREAD_POSTDEL']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_del"))>
<then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_merge"))>
<then><option value="thread_merge">{$lang->items['LANG_THREAD_THREADMERGE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_cut"))>
<then><option value="thread_cut">{$lang->items['LANG_THREAD_THREADCUT']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_top"))>
<then><option value="thread_top">{$lang->items['LANG_THREAD_THREADTOP']}</option></then>
</if>
<if(checkmodpermissions("m_can_add_poll"))>
<then><option value="polladd">{$lang->items['LANG_THREAD_POLLADD']}</option></then>
</if>
</select>
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="sid" value="$session[hash]" />
</form>
</then>
<e????
?A?º?lse>
<if($wbbuserdata['userid'] && $wbbuserdata['userid']==$thread['starterid'] && (checkpermissions("can_close_own_topic")==1 || checkpermissions("can_del_own_topic")==1 || checkpermissions("can_edit_own_topic")==1 || checkpermissions("can_move_own_topic")==1))>
<then>
<form action="modcp.php" method="get" name="modoption">
<select name="action">
<option value="-1">{$lang->items['LANG_THREAD_OTHEROPTIONS']}</option>
<if(checkpermissions("can_close_own_topic")==1)>
<then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
</if>
<if(checkpermissions("can_move_own_topic")==1)>
<then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
</if>
<if(checkpermissions("can_edit_own_topic")==1)>
<then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
</if>
<if(checkpermissions("can_del_own_topic")==1)>
<then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
</if>
</select>
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="sid" value="$session[hash]" />
</form>
</then>
</if>
</else>
</if>
</td>
</tr>
</table>
$footer
</body>
</html> |
|
|
|
27.03.06 21:43 |
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
|
|
In dem Template waren diverse Links, html Anweisungen und Sprachvariabeln defekt.
Im Anhang mal eine korrigierte Fassung des Templates.
Dateianhang: |
thread.tpl (19,46 KB, 1 mal heruntergeladen)
|
__________________ Gruß Micha
|
|
27.03.06 21:51 |
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
|
|
In dem Falle schau dir mal den Supportbeitrag an, so ohne weitertes kann man nicht sagen woran es liegt.
Das template ist soweit korrekt bearbeitet. Hast du eventuell den Code in: ./thread.php vergessen?
__________________ Gruß Micha
|
|
27.03.06 22:04 |
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
|
|
Und im Userprofil beid en Einstellungen wurde der Quickreply Hack auch aktiviert?
Edit: Eine zweite Idee wäre nochd ass du die Änderung in allen vorhanden templatepacks machen musst, wo das Template thread vorkommt.
__________________ Gruß Micha
|
|
27.03.06 22:09 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
ich glaube du musst im profil unter einstellungen die option erst aktivieren, das du direkt antworten kannst.
lol edit: KleenMicha war schneller
Dieser Beitrag wurde 1 mal editiert, zum letzten Mal von KorbanDallas: 27.03.06 22:10.
|
|
27.03.06 22:09 |
Finden
Als Freund hinzufügen
|
|
|