miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   

Editing messages by users & expired messages

Author Team
8-)
#1 | Posted: 8 Aug 2003 10:17 
Today we've got the following mail (it was not funny to not leave reply email, so I post it here and answer):

Hi MiniBB Team,
I have been using miniBB without too much trouble customizing it so far. It works very well. Good job!
I have been looking at the forum but didn't find any reference to the issue below:
The manual says: "Registered users (and only registered) can edit THEIR messages, but only if they are cookie-logged and
only if the time of the message is not expired"
I get the need for registered and logged, but how do you define the "mssage time expired?" Is it aftr the post is replied
to , after a certain passing time (how long?) or after the user logs off, that it becomes un-editable?
And how can I change this so that it's always editable? I have looked at the code for a long time without finding it.
Many thanks for your help in this matter. If there is a forum post I didn't see, pls point me to it :)
Best regards,
Stephane

Author Team
8-)
#2 | Posted: 8 Aug 2003 10:18 
So, expiration time is defined in options, $useredit variable. After that it is as always nice to read manual:

$useredit=86400; Parameter defines number of seconds, after which user WILL NOT BE ABLE to edit his message. By default is 1 day (86400 sec.) If 0 or not set, user will be able to edit his post everytime.

The Other miniBB Support Forums / The Other / Editing messages by users & expired messages Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB