FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » [SOLVED] Group Manager: Post Editing disabled is being ignored
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Group Manager: Post Editing disabled is being ignored [message #163185 is a reply to message #163180] Tue, 05 October 2010 20:58 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Yes, the default is zero, or unlimited.

You can always change the logic in ./data/src/drawmsg.inc.t

Look for this line:
if (_uid && ($perms & 16 || (_uid == $obj->poster_id && (!$GLOBALS['EDIT_TIME_LIMIT'] || __request_timestamp__ - $obj->post_stamp < $GLOBALS['edit_TIME_LIMIT'] * 60)))) {

For example, you could add the following to disable "Edit" on external messages:
&& empty($obj->mlist_msg_id)

My personal favourite is to disable editing after the first reply with:
&& $obj->id == $obj->last_post_id
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: odd issue with it complaining about invalid links when posting...
Next Topic: User Administration System: max 50 users displayed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 11:34:05 GMT 2024

Total time taken to generate the page: 0.04770 seconds