Countdown
1.0
adds a countdown to a certain date in the board index. the date is able to be changed in the admin center. edit "Countdown to My Event" to whatever you want in english.lng but make sure it says that again if you uninstall it.
killa-b
http://www.killa-b.com
Sources/BoardIndex.pl
if( $username ne 'Guest' ) {
print <<"EOT";
EOT
Settings.pl
$timeoffset = -1; # Time Offset (so if your server is EST, this would be set to -1 for CST)
$cdyear = 2001; # Target Year of Countdown
$cdmonth = 9; # Target Month of Countdown (in number format)
$cdday = 1; # Target Date of Countdown
$cdhour = 12; # Target Hour of Countdown (24-hour format)
$cdmin = 00; # Target Minute of Countdown
$cdsec = 00; # Target Second of Countdown
$cdtzone = -0500; # Timezone of countdown (in +0000 format, EST would be -0500)
english.lng
1;
$cd{'01'} = "Countdown to My Event";
$cd{'02'} = "Target year of countdon";
$cd{'03'} = "Target month of countdown (in number format)";
$cd{'04'} = "Target date of countdown";
$cd{'05'} = "Target hour of countdown (in 24-hour format)";
$cd{'06'} = "Target minute of countdown";
$cd{'07'} = "Target second of countdown";
$cd{'08'} = "Timezone of countdown (in +0000 format, EST would be -0500)";
Sources/Admin.pl
$txt{'371'}
$cd{'02'}
$cd{'03'}
$cd{'04'}
$cd{'05'}
$cd{'06'}
$cd{'07'}
$cd{'08'}
$timeoffset = $FORM{'timeoffset'} || 0;
$cdyear = $FORM{'cdyear'} || 2001;
$cdmonth = $FORM{'cdmonth'} || 9;
$cdday = $FORM{'cdday'} || 1;
$cdhour = $FORM{'cdhour'} || 12;
$cdmin = $FORM{'cdmin'} || 00;
$cdsec = $FORM{'cdsec'} || 00;
$cdtzone = $FORM{'cdtzone'} || -0500;
\$timeoffset = $timeoffset; # Time Offset (so if your server is EST, this would be set to -1 for CST)
\$cdyear = $cdyear; # Target Year of Countdown
\$cdmonth = $cdmonth; # Target Month of Countdown (in number format)
\$cdday = $cdday; # Target Date of Countdown
\$cdhour = $cdhour; # Target Hour of Countdown (24-hour format)
\$cdmin = $cdmin; # Target Minute of Countdown
\$cdsec = $cdsec; # Target Second of Countdown
\$cdtzone = $cdtzone; # Timezone of countdown (in +0000 format, EST would be -0500)