Fehlermeldung "ERROR"

bazmeg
Problembeschreibung:
Also ich habe heute ein weiteres Design in mein Forum installiert und seit dem kommt folgende fehlermeldung

Fehlermeldung:

Parse error: syntax error, unexpected T_VARIABLE in /nfs/extra/8/80/80_**_***_72/wwwroot/wbb2/thread.php(310) : eval()'d code on line 64

Parse error: syntax error, unexpected T_VARIABLE in /nfs/extra/8/80/80_**_***_72/wwwroot/wbb2/thread.php(310) : eval()'d code on line 64

Parse error: syntax error, unexpected T_VARIABLE in /nfs/extra/8/80/80_**_***_72/wwwroot/wbb2/thread.php(310) : eval()'d code on line 64

Parse error: syntax error, unexpected T_VARIABLE in /nfs/extra/8/80/80_**_***_72/wwwroot/wbb2/thread.php(310) : eval()'d code on line 64



Wie kann das behoben werden?

Das problem ist mein letzter backup ist schon ziemlich alt unglücklich
American
Schau mal welches Template in der Zeile 310 aufgerufen wird und Schaue dann dort in dem Template bei Zeile 64 nach, dort sollte der fehler sein.
bazmeg
Zitat:
Original von American
Schau mal welches Template in der Zeile 310 aufgerufen wird und Schaue dann dort in dem Template bei Zeile 64 nach, dort sollte der fehler sein.


Sorry wenn ich jetzt vielleicht zu ratlos wirke aber wie od. besser gesagt wo genau kann ich nach sehen?
Maniac_81
in der thread.php in zeile 310 steht irgendwas mit "eval...template..."

dort wird das template aufgerufen. nun schaust du welches template aufgerufen wird und schaust in die zeile 64 dieses templates.

wenn du nicht weiterkommst, einfach das template hier posten :-)
bazmeg
Dann poste ich es mal lieber Versagt


Kann das es sein?:

code:
1:
eval("\$tpl->output(\"".$tpl->get("thread")."\");");





*EDIT:

Ok, das problem scheint behoben zu sein. es war
code:
1:
$verwarnungen
das Problem. Nur jetzt kann kein Mod mehr durch den verwarn button verwarnen Augen rollen
Maniac_81
genau, aber nicht die thead.php anhängen sondern das thread.tpl.

zu finden:

acp-->templates bearbeiten-->thread--> alles markieren (Strg+a) -->kopieren (Strg+C) und hier als code einfügen das ist das BB-Code zeichen #
bazmeg
Noch einmal zu absicherung:

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:
<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="obenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" 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 width="100%"><table cellpadding="{$style['tableincellpadding']}" 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="4" 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>
        <if($useravatar!="")><then><br /><br />$useravatar</then></if><br /><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="4" cellspacing="0" border="0" class="{$tdclass}_fc">
    <tr>
     <td style="width:100%" class="normalfont" align="left">
      <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&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> $verwarnung &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)>
$verwarnungen
      <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>
<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table><br />
Maniac_81
also bei mir ist das template welches du gepostet hast, das thread_postbit und nicht das thread.
bazmeg
so sorry, jetzt ist es richtig

ps. da mein style keine eigene thread.php hat ist die standart


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:
<?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

<link rel="contents" href="board.php?boardid=$boardid{$SID_ARG_2ND}" />
<if($t->pages>1)>
<then>
<link rel="first" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=1{$SID_ARG_2ND}" />
<link rel="last" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=$t->pages{$SID_ARG_2ND}" />

<if($t->pages>$t->page)><then><link rel="next" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}" /></then></if>
<if($t->page>1)><then><link rel="prev" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page-1)</expression>{$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");
}

function verwarnung(userid, postid) {
 window.open("verwarnung.php?userid="+userid+"&postid="+postid+"&sid=$session[hash]", "Verwarnungen", "toolbars=no, scrollbars=yes, statusbars=no, menubars=no, resizable=yes, width=500, height=550");
}

//-->
</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 &raquo; </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">
    <td align="left"><span class="smallfont"><a href="thread.php?goto=lastpost&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_LASTPOST']}</a> | <a href="thread.php?goto=firstnew_thread&amp;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&amp;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&amp;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->items['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&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;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&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;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>&laquo;</b> <a href="thread.php?goto=nextoldest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTOLDEST']}</a> | <a href="thread.php?goto=nextnewest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTNEWEST']}</a> <b>&raquo;</b></span></td>
     </tr>
    </table></td>
   </tr>
  </table>
  $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&amp;threadview=1&amp;hilight=$hilight&amp;hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_THREADED']}</a> | <a href="thread.php?threadid=$threadid&amp;threadview=0&amp;hilight=$hilight&amp;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']}</b>&nbsp;</span><span class="smallfont"><br /><br />
                          {$lang->items['LANG_THREAD_VERYPOOR']}&nbsp;<img src="{$style['imagefolder']}/thumbs_down.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYPOOR']}" title="{$lang->items['LANG_THREAD_VERYPOOR']}" />&nbsp;</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"> 
                          <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">&nbsp;<img src="{$style['imagefolder']}/thumbs_up.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYGOOD']}" title="{$lang->items['LANG_THREAD_VERYGOOD']}" />&nbsp;{$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>
 <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 &raquo; </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><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") && !$thread[pollid])>
  	<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>
    <else>
     <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>
Maniac_81
also ich kann keinen fehler entdecken.

hast du den verwarnhack eingebaut?
bazmeg
ja

und zwar im ersten code post, wo ich die postbit gepostet habe.

wenn ich allerdings

<if($showonlineinthread==1)>
$verwarnungen
<then>

entferne funktioniert alles, nur das der verwarn button weg ist und somit keiner verwarnen kann traurig


ps. ich habe ein neues design installiert und dort "$verwarnungen" probiert irgendwo zu plazieren das man auch mit dem neuen style verwarnen kann

aber das komische ist das dieser Fehler im alten eigentlich unveränderten style auftritt wo schon vor der installation des neuen zusätzlichen styles der verwarnhack installiert war und problemlos funktionierte
Maniac_81
ich hab den auch eingebaut und an dieser stelle ist die variable $verwarnungen nicht bei mir.

lösche mal nur "$verwarnungen" und geh die hackanleitung nochmal genau durch. vielleicht hast du es nur an falscher stelle eingebaut.

in der anleitung steht:

suche:
code:
1:
<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>

und füge darunter ein:

$verwarnungen


also hast du es an falsche stelle eingebaut im "thread_postbit"
bazmeg
Vielen Vielen Dank!

Alles funktioniert wieder.

Ich habe dir bereits Feedback gegeben Augenzwinkern
Maniac_81
danke, immerwieder gerne solang ich helfen kann :-)