How to change time interval between site messages.

The default interval is one minute, so if you want to send another message in less than one minute, you will see the error message:

You have to wait for 1 minute(s) before you can write another message!

To change this interval into, say, 15 seconds, you will need to do the following:

  1. In the file inc/classes/BxDolMailBox.php:
    replace
    var $iWaitMinutes  = 1;
    with
    var $iWaitMinutes  = 15;

    replace
    date_add(`Date`, INTERVAL {$this -> iWaitMinutes} MINUTE) > Now()
    with
    date_add(`Date`, INTERVAL {$this -> iWaitMinutes} SECOND) > Now()

  2. In the language key _You have to wait for PERIOD minutes before you can write another message!
    replace the word minute(s) with second(s)

    The language key can be edited in Admin Panel -> Settings -> Language Settings.

I hope this will be helpful.

 

Quote · 21 Dec 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.