PDA

View Full Version : Allow post editing per-forum


tubedogg
05-15-2002, 10:00 PM
Another tiny one requested by pHAZE_1 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=38681).

This allows you to control post editing on a per-forum basis. The order of permissions checked is:
- Usergroups
- Forum
So if a usergroup is allowed to edit posts, but the forum is set to not allow editing of posts, they *will not* be able to do so. Basically forum trumps usergroups. Conversely if a usergroup is not allowed to edit posts but the forum is set to allow this, they will not be able to do so.

Simple instructions, download the file and follow em.

No PMs, email, AIM or ICQ about this, it will be ignored.

pHAZE_1
05-16-2002, 05:04 AM
$foruminfo=getforuminfo($threadinfo[forumid]);
this appears twice in editpost.php, where would i place it?

scsa20
05-16-2002, 05:32 AM
I would like to think it would be both

tubedogg
05-16-2002, 06:57 AM
Just the first time.

pHAZE_1
05-24-2002, 06:45 PM
sorry i been forgeting about this, your saying that the code goes under the first of the 2?

tubedogg
05-25-2002, 04:34 AM
Yes.