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
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.
Changed inc/html.php
//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 -->
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.
Fix to inc/auth.php re: updating NPL Mail aliases while updating email address in profile.
<!-- 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 -->
/* 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);
}
<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 />
puz_UpdateAlias($_SERVER['REMOTE_USER'], $changes['mail'], $_POST['AliasForward']); // May 1, 2008 Kite
-
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');
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.
**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>.
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.
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.