 |
 |
 |
 |
 |
| Author |
Message |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
Specifying author for approving |
|
I would like to specify a author, whose post has to be approve. (f.e. post of author X has to be approve, the other's posts not). Is it possible?
AND
I'd welcome a feature of optional approving - it would be useful for correction of posts 
|
|
| Thu Feb 22, 2007 10:38 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
In inc/mod/addnews.mdu and editnews.mdu change this:
 |  | 'hidden' => (($config_approve_news == 'yes' and $member['level'] > 2) ? true : false) |
to this:
 |  | 'hidden' => (($config_approve_news == 'yes' and $member['level'] > 2 and $member['username'] == 'author_X') ? true : false) |
|
|
| Thu Feb 22, 2007 11:19 pm |
|
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
Thanks. Can I use it for more authors?
|
|
| Fri Feb 23, 2007 9:25 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | 'hidden' => (($config_approve_news == 'yes' and $member['level'] > 2 and ($member['username'] == 'author_X' or $member['username'] == 'author_Y' or $member['username'] == 'author_Z')) ? true : false) |
|
|
| Fri Feb 23, 2007 2:03 pm |
|
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
Very well, thanks a lot!
|
|
| Fri Feb 23, 2007 9:15 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|