miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Other miniBB Community Forum / Other /

Editing messages by users & expired messages

 
Team
8-)
#1 | Posted: 8 Aug 2003 10:17
Reply 
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
Team
8-)
#2 | Posted: 8 Aug 2003 10:18
Reply 
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.
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 31
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®