What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » deleting topic

deleting topic
Author: Message:
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: deleting topic
is it really that hard DZ? :P

Editpost.php..
code:
        if($firstpost) {
            if($forumpermissions['candeletethreads'] == "yes") {
                if(ismod($fid, "candeleteposts") != "yes")
                {
                    $db->query("UPDATE threads SET fid='$newfid' WHERE tid='$tid'");
                    updateforumcount($newfid);
                }
                else
                {
                    deletethread($tid);
                }
                updateforumcount($fid);
                redirect("forumdisplay.php?fid=$fid", $lang->redirect_threaddeleted);
            }
            else
            {
                nopermission();
            }
        }

Then you need ot add something similar to postings.php/moderaiton.php (whatever the file is in RC2).

Alternatively you can edit the deletethread function? :chrongue:
05-04-2005 01:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
deleting topic - by saralk on 05-02-2005 at 07:06 PM
RE: deleting topic - by Fraisie on 05-02-2005 at 07:23 PM
RE: deleting topic - by Millenium_edition on 05-02-2005 at 07:25 PM
RE: deleting topic - by .Roy on 05-02-2005 at 07:26 PM
RE: deleting topic - by WDZ on 05-02-2005 at 07:27 PM
RE: deleting topic - by mwe99 on 05-02-2005 at 07:31 PM
RE: deleting topic - by surfichris on 05-04-2005 at 01:48 PM
RE: deleting topic - by WDZ on 05-04-2005 at 01:55 PM
RE: deleting topic - by .Roy on 05-04-2005 at 02:24 PM
RE: deleting topic - by Pr0xY on 05-04-2005 at 03:27 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On