History

Mar 2009

  • Upgrading to Feb 14, 2009 of Dokuwiki
  • Copied email_change_bounce.html (this is a form submit response)
  • Copied faq_form_bounce.html (this is a form submit response)
  • Changed inc/auth/plain.class.php
    • Replaced a call to cleanId() with puz_cleanId() in global code re: allowing mixed case to login names.
    • Includes a custom PHP file:
require_once(DOKU_INC . "lib/tpl/puzzlers2006/puz_auth.php");   // KITE
  • Changed inc/auth.php
    • Replaced a call to cleanId() with puz_cleanId() in function register() re: allowing mixed case to login names.
    • Fix to inc/auth.php re: updating NPL Mail aliases while updating email address in profile.
      • Add call to puz_UpdateAlias() in function updateprofile()
  • Changed inc/html.php
    • Used puzzlers search in function html_index():
  //search($data,$conf['datadir'],'search_index',array('ns' => $ns));
  puz_search($data,$conf['datadir'],'search_index',array('ns' => $ns));  // KITE
  //print html_buildlist($data,'idx','html_list_index','html_li_index');
  print html_buildlist($data,'idx','puz_html_list_index','html_li_index'); // KITE
  • Included the option to send update for eMail alias in function html_updateprofile() (See May_2008).
  //<!-- BEGIN NEW Kite Nov 8, 2008 -->
  $form->addElement(form_makeCheckboxField(
     'AliasForward',             // field name
     $_POST['AliasForward'],     // Value -- use the one the user sent
     'Forward my puzzlers'' email alias to this address.',  // label
     'AliasForward',             // id
     '',                         // class
     array() ));                 // attributes as array()
  $form->addElement();
  //<!--  END  NEW Kite -->
  • Fixed inc/lang/en/lang files
    • Editted line(s) in password.txt: Before you can access all portions of the NPL Web site, your registration needs to be activated. Please send your username and full name in a message to <treasurer@puzzlers.org> and ask for your username to be activated.
    • Editted line(s) in register.txt: **NOTE:** Creating a user account will **__NOT__** grant you access to the Member Only areas of this website. You must be a Member of the National Puzzlers' League (NPL) and be authorized by <treasurer@puzzlers.org>.
  • Brought forward the existing plug-in set.

Nov 2008

This version was never activated on the website
  • Upgrading to May 5, 2008 version
  • Copied email_change_bounce.html (this is a form submit response)
  • Copied faq_form_bounce.html (this is a form submit response)
  • Fix to inc/auth.php re: allowing mixed case to login names.
    • Replaced a call to cleanId() with puz_cleanId() in function register()
    • Fixed inc/auth/plain.class.php similar to /inc/auth.php; also includes a custom PHP file
  • Fix to inc/auth.php re: updating NPL Mail aliases while updating email address in profile.
    • Add call to puz_UpdateAlias() in function updateprofile()
    • Upgraded the profile update form change (See May_2008) to the current version of dokuwiki forms. This code is in inc/html.php
  <!-- BEGIN NEW Kite Nov 8, 2008 -->
  $form->addElement(form_makeCheckboxField(
     'AliasForward',             // field name
     $_POST['AliasForward'],     // Value -- use the one the user sent
     'Forward my puzzlers' email alias to this address.',  // label
     'AliasForward',             // id
     '',                         // class
     array() ));                 // attributes as array()
  $form->addElement();
  <!--  END  NEW Kite -->
  • Did not copy over inc/lang/en/registered.txt
  • Fixed inc/lang/en/lang files
    • Editted line(s) in password.txt: Before you can access all portions of the NPL Web site, your registration needs to be activated. Please send your username and full name in a message to <treasurer@puzzlers.org> and ask for your username to be activated.
    • Editted line(s) in register.txt: **NOTE:** Creating a user account will **__NOT__** grant you access to the Member Only areas of this website. You must be a Member of the National Puzzlers' League (NPL) and be authorized by <treasurer@puzzlers.org>.
  • Installed the loglog plug-in with a small customization to append login/logoff activity to our existing logging file (tracks changes by administrators). I renamed the original function to _log1(), added the alternate implementation of writing to a page as _log2(), then added this alternate version and use it internally. This it similar to the _log2() version but makes no effort to reverse the log since the admin UI already does that.
    /* This function will log all logins and logouts to conf/users.auth.log -- this is where the 
    /* NPL User Admin UI writes changes.  This log allows Mercury to search for user history */
    function _log3($msg){
        global $conf;

        $t   = time();
		$user = $_SERVER["REMOTE_USER"] . "@" . $_ENV["REMOTE_ADDR"];
        //$log = $t."\t".strftime($conf['dformat'],$t)."\t".$_SERVER['REMOTE_ADDR']."\t".$_SERVER['REMOTE_USER']."\t".$msg;
		$log = date("M d Y H:i") . " : " . $user . " : Connect : $msg : " . $_SERVER['PHP_SELF'] . "\n";
        io_saveFile(DOKU_INC . "conf/users.auth.log","$log\n",true);
    }

May 2008

  • Added an option to the “Profile” from in inc/html.php in function html_updateprofile() to use your new email to forward your alais to.
      <label class="block">
      <?php echo $lang['email']?>
      <input type="text" name="email" <?php if(!$auth->canDo('modName')) echo 'disabled="disabled"'?> class="edit" size="50" value="<?php echo formText($_POST['email'])?>" />
    </label>
    <!-- BEGIN NEW kite May 1, 2008 -->
    <label class="block">
      <input name="AliasForward" type="checkbox" value="" />
      Forward my puzzlers' email alais to this address.
    </label>
    <!-- END NEW kite -->
	<br /><br />
  • After adding a function to lib\tpl\puzzlers2006\puz_auth.php, I implemented the functionality with a line in inc/auth.php:
puz_UpdateAlias($_SERVER['REMOTE_USER'], $changes['mail'], $_POST['AliasForward']);   // May 1, 2008 Kite

Jul 2007

Dec 2006

  • Kite@puzzlers.org upgraded the Wiki to the 2006-11-06 release of Dokuwiki.
    • Applied each of the previously noted patches from Sept/2006.
    • Brought forward the plugins from the previous website version.
    • Patched the User Admin Plugin by replacing cleanid() with puz_cleanid() so the plugin now permits mixed case user IDs.
    • Fixed the stylesheet problem caused by the version change – all styles are now listed in style.ini in the template folder.
    • Applied a patch to inc/html.php, replacing the last two of html_index() lines with:
  // search($data,$conf['datadir'],'search_index',array('ns' => $ns));
  puz_search($data,$conf['datadir'],'search_index',array('ns' => $ns));
  //  print html_buildlist($data,'idx','html_list_index','html_li_index');
  print html_buildlist($data,'idx','puz_html_list_index','html_li_index');

Sept 2006

  • Kite@puzzlers.org upgraded the Wiki to the 2006-03-09 release of Dokuwiki which, because of a series of new plugins, is close to requiring only customizations in the the Template.
    • inc/html.php was modified; in html_index() the call to search() was changed to puz_search() to retain the order of folders named after years in descending order.
    • inc/auth.php required a call to cleanID() to be replaced with puz_cleanID() as we now permit user IDs that a little more open than Dokuwiki. A similar change was done in /inc/auth/plain.class.php
    • created a replacement function puz_html_list_index() that default using the sidebar index to opening the start page in a namespace.
    • edited inc/lang/eng/password.txt to include
Before you can access all portions of the NPL Web site, 
your registration needs to be activated. Please send 
your username and full name in a message to <treasurer@puzzlers.org> and 
ask for your username to be activated. 
  • edited inc/lang/eng/register.txt to include
**NOTE:** Creating a user account will **__NOT__** grant you access to 
the Member Only areas of this website.   You must be a Member of the 
National Puzzlers' League (NPL) and be authorized by  <treasurer@puzzlers.org>.

Dec 2005

  • Kite@puzzlers.org posted the new Wiki to replace the old HTML based site. This was at the same time the site moved from the OLM Servers to NetNation servers and, by changing ISPs, the old site was abandoned in favor of the new site format. Dart@puzzlers.org provided new graphics to customize the navigation of the site.

July 2005

  • Kite@puzzlers.org began conversion of the entire site to a Wiki using the Dokuwiki codebase. This was chosen because of the simplicy of making it work; others were tried and seemed to take days to get very much done. Dokuwiki was up and running in under an hour and customizations followed quickly and easily.


 
 
webmaster/history.txt · Last modified: 2009/03/08 15:25 by kite
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

All content is copyright © 1893-2017, National Puzzlers' League. All rights reserved. For permissions, apply to the editor.