Thread erledigt/unerledigt

Ghostmaster
Titel: Thread erledigt/unerledigt
Version: 1.0
Beschreibung: Thread erledigt/unerledigt




Beschreibung:

Neue Themen und Beiträge werden über ein PopUP erstellt.


Zu ändernde Dateien:
  • /acp/board.php
  • /modcp.php
  • /acp/templates/board_add.htm
  • /acp/templates/board_edit.htm
  • board.php
  • board_threadbit.tpl
  • thread.tpl



Neue Dateien:
  • setup.lng
  • erledigt.gif
  • unerledigt.gif
  • setup.php
  • setup.sql
  • setup.wbb



Abschließende Informationen:
  • Bugs bitte im Supporthtread melden. Ich werde versuchen, solche schnellstmöglich zu beheben!
  • Weder Agi noch ich übernehmen Haftung in irgendeiner Weise für diverse, durch diesen Hack entstandene Fehler!
  • Ich wünsche viel Spaß mit dieser kleinen Erweiterung.
  • PS: Pls habt ein wenig Geduld; wir sind nicht 24/7 da und können euch innerhalb von 2 Minuten Fragen zu Problemen etc beantworten Augenzwinkern

----
Demo: http://i215.photobucket.com/albums/cc224...tunerledigt.jpg

weiter zum Download
lenamaus
cool endlich gibt den hack mal zum download ich bau ihn gleich mal ein und gebe dan feedback! großes Grinsen
energun222
Hab des jetzt mal eingebaut bisher konnte ich keinen Fehler entdecken nur hab ich da ne blöde Frage, wo kann ich das denn einstellen ob der Thread erledigt ist oder nit? Wenn ich auf einen Thread gehe steht oben nur

Dieses Thema wurde als unerledigt markiert. Thread unerledigt


Ist da jetzt ein Fehler, bin ich blind oder Fehler beim Einbau?

EDIT:

1.) Dieses Thema wurde als unerledigt markiert. Thread unerledigt


ist erledigt habe 2 Styles und habe die Grafik nicht dort hochgeladen

2.) habe Benutzerrechte für Admin und User verteilt jedoch kann ich nix auswählen da keine Option dafür da ist.

EDIT2:

Hab es nun gefunden, man muss die Foren bearbeiten und für jedes Forum einzeln Threadmarkierung aktivieren? aktiviern. Danch sieht man auch das kreuz im Thread und kann da drauf drücken und es als erledigt makieren

EDIT die 3. großes Grinsen

und hoffentlich die letzte es steht nun auch bei optionen die man rechts unten hat!!!


Danke für den Hack habe ich echt gebraucht. Super Teil und funktioniert!
Dore
Also ich hab in etwa das gleiche Problem.
Bei mir kann man es nur über die Administrativen Optionen auswählen aber nicht im Thread selbst.

Im Forum selbst ist es aktiviert aber warum steht bei mir nur :

Dieses Thema wurde als unerledigt markiert.

Ich kann in den Threads selbst nichts auswählen. unglücklich
energun222
Haste vielleicht mehrere Styles drauf? Wenn ja müssen die beiden .gif´s auch in diese Style Ordner
Dore
Nein, das ist mein Testboard und da ist nur der Standard WBB Style drin.
Ghostmaster
Die erste Bedingung muss sein, dass der Hack in dem Forum überhaupt aktiviert ist.

Die zweite Bedingung ist, dass alle nötigen Gruppenrechte gesetzt sind.

Die dritte Bedinung ist, dass (in jedem Style) die Templates richtig bearbeitet wurden.

Wenn alle 3 Dinge erfüllt sind, kannst du in der Threadauflistung gleich neben dem Threadtitel den Thread erledigt/unerledigt markieren bzw. im Thread selber unter "Administrative Optionen"
»Vûlçåñø«
Hallo,

ich habe ein Fehler bei den MoD.

Wenn ich IM THREAD auf "Thread erledigt" oder auch "Thread unerledigt" klicke kommt immer die Meldung

"Sie haben einen ungültigen Verweis angegeben. Wenn Sie einem korrekten Link gefolgt sind, sollten Sie den Administrator benachrichtigen."

Der Link der oben steht ist folgender "http://......../thread.php?threadid="
Also irgendwie nimmt er die Thread ID nicht mit.

Wenn ich auf der ThreadÜbersicht auf die Icons klicke, geht alles ohne Probleme!

Habe alles soweit wie in der Beschreibung steht gemacht

Was kann das sein ?

Vielen Dank

PS: Dieser Fehler passiert NUR ALS MEMBER!
Admins können dort drauf klicken!
Worthless Boy
Hallo!

Super Hack! smile
Schöne Grafiken und schneller Einbau.
Klappte alles einwandfrei und prima!

Ich habe nur eine kleine Verständnisfrage:
Ist das normal, daß nun bei jedem Beitrag den ich erstelle (bisher lediglich als Admin-User aufgefallen) die Meldung "Dieses Thema wurde als unerledigt markiert." kommt?
Habe ich beim Einbau etwas übersehen?
Ich habe bisher auch nur in einem einzigen Unterforum die Einstellung vorgenommen, diese Option zu nutzen.
kokolores
...ich frag mich schon länger, ob man diesen Hack auch an den modoptions-Hack anpassen kann, der ja statt Klappfenster sonne schicke Leiste mit Icons präsentiert..... Augen rollen
Ghostmaster
@»Vûlçåñø«
Weiß nicht wo das Problem liegen könnte, jedoch könntest du mal folgendes probieren:
Suche in der modcp.php folgendes:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
/** settle/unsettle thread **/
if ($action == 'thread_settle') {
	if (!isset($threadid)) error($lang->get("LANG_GLOBAL_ERROR_FALSELINK", array('$adminmail' => $adminmail)));
	
	if (!checkmodpermissions('m_can_thread_settle') && (!$isuser || checkpermissions('can_settle_own_topic') == 0)) access_error();
	$db->query("UPDATE bb".$n."_threads SET settled=1-'$thread[settled]' WHERE threadid='$threadid'");
	header("Location: thread.php?threadid=$threadid" . $SID_ARG_2ND_UN);
	exit();
}


und ersetze es mit:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
/** settle/unsettle thread **/
if ($action == 'thread_settle') {
	if (isset($_POST['threadid'])) $threadid = intval($_POST['threadid']);
	else $threadid = 0;
	if (!isset($threadid)) error($lang->get("LANG_GLOBAL_ERROR_FALSELINK", array('$adminmail' => $adminmail)));
	
	if (!checkmodpermissions('m_can_thread_settle') && (!$isuser || checkpermissions('can_settle_own_topic') == 0)) access_error();
	$db->query("UPDATE bb".$n."_threads SET settled=1-'$thread[settled]' WHERE threadid='$threadid'");
	header("Location: thread.php?threadid=$threadid" . $SID_ARG_2ND_UN);
	exit();
}


#########################

@Worthless Boy
Das stimmt, da hast du vollkommen Recht:
Suche dazu in der thread.tpl folgendes:

code:
1:
2:
3:
4:
5:
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea"><span class="normalfont"><if($thread['settled'] == 1)><then>{$lang->items['LANG_THREAD_SETTLE_COMPLETE']} <img src="{$style['imagefolder']}/erledigt.gif" title="Thread erledigt" alt="Thread erledigt" border="0" /></then><else>{$lang->items['LANG_THREAD_SETTLE_INCOMPLETE']} <img src="{$style['imagefolder']}/unerledigt.gif" title="Thread unerledigt" alt="Thread unerledigt" border="0" /></else></if></td>
 </tr>
</table><br />


und ersetze es mit:

code:
1:
2:
3:
4:
5:
6:
7:
<if($board['canusesettle'] == 1)><then>
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
  <tr>
   <td class="tablea"><span class="normalfont"><if($thread['settled'] == 1)><then>{$lang->items['LANG_THREAD_SETTLE_COMPLETE']} <img src="{$style['imagefolder']}/erledigt.gif" title="Thread erledigt" alt="Thread erledigt" border="0" /></then><else>{$lang->items['LANG_THREAD_SETTLE_INCOMPLETE']} <img src="{$style['imagefolder']}/unerledigt.gif" title="Thread unerledigt" alt="Thread unerledigt" border="0" /></else></if></td>
  </tr>
 </table><br />
</then></if>


#########################

@kokolores

Was möchtest du?
»Vûlçåñø«
Vielen Dank.

Jedoch hat es nicht geholfen!


Kann es sein, dass es mit der USERID zusammenhäbgt ?

Den USER 0 oder 1 gibts nicht mehr!
Ghostmaster
Nein UserID ist völlig egal.
Und eine UserID 0 gibt es soundso nicht. Augenzwinkern
kokolores
...es gibt den MODOPTIONS-Hack, der das Aufklappteil (ADMINISTRATIVE OPTIONEN) unter den Threads als Buttonleiste darstellt, so dass ein Hackeinbau deines Hacks so ohne weiteres nicht möglich ist, da er den gesamten Templateaufbau verändert hat.

Ich hab den drin, kann also die Änderungen deines Hacks nicht durchführen, da weite Teile des Codes schon verändert wurden.
Ghostmaster
Kenne den Hack nicht, aber laut dem Bild ist dort nur die DropDownLeiste mit einer Standartleiste ausgetauscht worden - also nicht sonderlich aufwendig.

Wenn du mir den Iconnamen und die thread.tpl hier anhängst, kann ich es für dich ändern.
kokolores
Cool..... großes Grinsen

Hier die thread.tpl:

Wenn da icons reinsollen, die ich nicht habe, bitte einfach mit 0000.png ersetzen - den Rest bau ich dann selbst ein....

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:
334:
335:
336:
337:
338:
339:
340:

<?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">
<!--
function who(threadid) {
 window.open("misc.php?action=whoposted&threadid="+threadid+"&sid=$session[hash]", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300");
}
//-->
</script>




<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 cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
  <td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
  <td width="100%" background="{$style['imagefolder']}/obenmitte.gif"></td>
  <td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
 <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"><strong><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar &raquo; </strong><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><strong>$thread[topic]</strong></span></td>
    <td align="right"><span class="smallfont"><strong>$usercbar</strong></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 cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td width="100%" background="{$style['imagefolder']}/untenmitte.gif"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></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 cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
  <td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
  <td width="100%" background="{$style['imagefolder']}/obenmitte.gif"></td>
  <td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<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.png" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a> <strong>$thread[topic] $threadrating</strong></span></td>
   </tr>
   
   <if(isset($t->postbitlist))>
   <then>
   
    <tr align="center">
     <td class="tabletitle" style="width:80%"><span class="smallfont"><strong>{$lang->items['LANG_THREAD_POSTBITLIST']}</strong></span></td>
     <td class="tabletitle" style="width:20%"><span class="smallfont"><strong>{$lang->items['LANG_THREAD_AUTHOR']}</strong></span></td>
     <td class="tabletitle" nowrap="nowrap"><span class="smallfont"><strong>{$lang->items['LANG_THREAD_DATE']}</strong></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"><strong>{$lang->items['LANG_THREAD_AUTHOR']}</strong></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"><strong>{$lang->items['LANG_THREAD_POST']}</strong></span></td>
      <td align="right"><span class="smallfont"><strong>&laquo;</strong> <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> <strong>&raquo;</strong></span></td>
     </tr>
    </table>
	
	</td>
   </tr>
  </table>
  <table cellspacing="0" cellpadding="0" border="0" width="100%"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td width="100%" background="{$style['imagefolder']}/untenmitte.gif"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></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">
<if(checkmodpermissions())>
    <then>
<if(checkmodpermissions("m_can_thread_close"))>
    <then>
<span class="smallfont">Administrative Optionen:</span></then></if>
<if(checkmodpermissions("m_can_thread_close"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_close"><img src="modoptions/thread_close.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADCLOSE']}" title="{$lang->items['LANG_THREAD_THREADCLOSE']}"></a></then></if>
<if(checkpermissions("m_can_thread_move"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_move"><img src="modoptions/thread_move.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADMOVE']}" title="{$lang->items['LANG_THREAD_THREADMOVE']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_edit"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_edit"><img src="modoptions/thread_edit.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADEDIT']}" title="{$lang->items['LANG_THREAD_THREADEDIT']}"></a></then></if>
<if(checkmodpermissions("m_can_post_del"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=post_del"><img src="modoptions/post_del.gif" border=0 alt="{$lang->items['LANG_THREAD_POSTDEL']}" title="{$lang->items['LANG_THREAD_POSTDEL']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_del"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_del"><img src="modoptions/thread_del.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADDEL']}" title="{$lang->items['LANG_THREAD_THREADDEL']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_merge"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_merge"><img src="modoptions/thread_merge.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADMERGE']}" title="{$lang->items['LANG_THREAD_THREADMERGE']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_cut"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_cut"><img src="modoptions/thread_cut.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADCUT']}" title="{$lang->items['LANG_THREAD_THREADCUT']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_top"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_top"><img src="modoptions/thread_top.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADTOP']}" title="{$lang->items['LANG_THREAD_THREADTOP']}"></a></then></if>
<if(checkmodpermissions("m_can_add_poll"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=polladd"><img src="modoptions/poll.gif" border=0 alt="{$lang->items['LANG_THREAD_POLLADD']}" title="{$lang->items['LANG_THREAD_POLLADD']}"></a></then></if></then></if></td>

</td>
	   
	   
	   
	   
	   
	   
     </tr>
     </table>
    </td>
   </tr>
  </table></td>
 </tr>
</table>

<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td width="100%" background="{$style['imagefolder']}/untenmitte.gif"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></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"><strong>{$lang->items['LANG_THREAD_THREADRATING']}</strong>&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>
$quickreply


<!-- ebay Start -->

<br />
<table cellspacing="4" cellpadding="1" border="0" style="width:{$style['tableinwidth']}">
	<tr>
		<td align="center">

$sponsorhackoutput

</td>
	</tr>
</table>

<br />

<!-- Ebay Ende -->

<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
  <td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
  <td width="100%" background="{$style['imagefolder']}/obenmitte.gif"></td>
  <td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
  <tr class="tablea">
<td align="left" style="width:82%"><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" style="width:18%"><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>
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td width="100%" background="{$style['imagefolder']}/untenmitte.gif"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>

$footer

</body>
</html>

Ghostmaster
Bitte schön. Grafik muss "thread_settle.gif" heißen. Augenzwinkern
kokolores
Na geiel - vielen Dank!!!!

Dann bau ich das nachher mal ein.......

großes Grinsen
jana
wenn ich unter admin,,,optionen geh, da auf thema bearbeiten geh, kommt diese Fehlermeldung:

Parse error: syntax error, unexpected '}' in /www/htdocs/w0064d65/forum/modcp.php on line 30


was hab ich falsch gemacht?

lg jana
Ghostmaster
Du hast aus versehen, etwas gelöscht Augenzwinkern