xoops forums

moss

Just popping in
Posted on: 2010/11/25 10:31
moss
moss (Show more)
Just popping in
Posts: 38
Since: 2009/10/28
#1

Lock the comment's edition in xoops 2.5

Hi,

I want to lock the edition of comments for user in xoops 2.5. Because I don't want user can change their comments 2 days after…

Is it possible ?

thanks for your advice and sorry for my english

ghia

Community Support Member
Posted on: 2010/11/25 11:13
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#2

Re: Lock the comment's edition in xoops 2.5

For posting in the forum NewBB/CBB these settings are provided in the preferences. But for comments AFAIK this does not exists.
You can implement it by modifying /include/comments_edit.php and/or /include/comments_post.php checking if the comment exists and then comparing the timestamp, following by a redirect if the period is too large.

aquaportail

Just popping in
Posted on: 2010/11/26 10:31
aquaportail
aquaportail (Show more)
Just popping in
Posts: 20
Since: 2007/7/18
#3

Re: Lock the comment's edition in xoops 2.5

Hi,

you can find one hack on French support : http://www.frxoops.org/modules/newbb/ ... =&topic_id=33686&forum=61