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: 343,859,998
  • Today: 32,265
Server InfoServer Info
  • Dec 11, 2017
  • 01:13 pm PST
 
 

Daily Inspiration