PDA

View Full Version : help for close thread


squawell
08-23-2002, 02:59 PM
hello everyone..i have a problem about close thread

i give my member close their own thread permission..

but i find a problem if close the thread u cannt edit the post

how to make user can close their thread and can edit their post

help.....thankz...

Logician
08-23-2002, 04:55 PM
edit editpost.php find


if (!$threadinfo[open]) {


Replace it as

if (!$threadinfo[open] AND $bbuserinfo[userid]!=$postinfo[userid]) {


There are 2 instances of this line: First is for deleting, second is for editing. Replace either one or both according to your wish.

One downside: everybody will be able to edit(or delete) his OWN posts in a closed thread if you apply this change..

squawell
08-23-2002, 05:10 PM
Logician thankz for ur help........

any result i will post it here let u know..... :)