Karakas Online

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.

Last updated Sun Aug 7 21:14:12 CEST 2005 Permalink: http://www.karakas-online.de/EN-Book/change-duration-of-public-broadcast-message.html All contents © 2004 Chris Karakas, Claudio Erba