Page 1 of 1

Malarbar update

Posted: Wed Apr 02, 2008 2:06 pm
by Ari Rahikkala
- removed Periodic Spore (it hasn't been updated since November)
- made This Month in Shireroth automatically link to the current month (hopefully. It doesn't take leap years into account and might be buggy...)
- rehosted the #micronations chat link on our server. Post changes here if you would like that page to be modified. For now, I replaced the references to Xelium with Psigenix, since the network #micronations is on changed its name.

Here are the numbers on the month-choice code, in case someone would like to check them:

Code: Select all

        $thismonth_datenow = getdate();
        $yday = $thismonth_datenow['yday'];
        if (($yday < 18) || ($yday > 353)) {
          $thismonth = 1;
        }
        elseif ($yday < 45)
          $thismonth = 2;
        elseif ($yday < 74)
          $thismonth = 3;
        elseif ($yday < 102)
          $thismonth = 4;
        elseif ($yday < 130)
          $thismonth = 5;
        elseif ($yday < 158)
          $thismonth = 6;
        elseif ($yday < 186)
          $thismonth = 7;
        elseif ($yday < 214)
          $thismonth = 8;
        elseif ($yday < 242)
          $thismonth = 9;
        elseif ($yday < 269)
          $thismonth = 10;
        elseif ($yday < 298)
          $thismonth = 11;
        elseif ($yday < 326)
          $thismonth = 12;
        else
          $thismonth = 13;
Uh... I might have to change the colour scheme of code snippets on the forum... that white background is... bright...

Re: Malarbar update

Posted: Sun Apr 06, 2008 10:33 am
by b3n|<3r|\|
Yay! That auto-update "This Month in Shireroth" is here! :archy