How to change the duration of a public broadcast message

16.3. How to change the duration of a public broadcast message

So you want the public broadcast message to show for a longer/shorter period? There is a simple solution (see How to change the duration of a public broadcast message):

You can increase the time the message will be displayed by editing the following lines in mainfile.php:

$ref_date = $tdate+600;

and

setcookie("p_msg",$mid,time()+600);

Adjust the 600 to a value that matches the time you want the message displayed.

 

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 347,847,232
  • Today: 38,700
Server InfoServer Info
  • Feb 18, 2018
  • 02:07 pm PST
 
 

Daily Inspiration