- Version info
- Auth_phpbb.php v 1.5 (released 2005-09-12)
- Overides includes/AuthPlugin.php functions to provide authentication against phpBB user table for wiki edit access.
- Added the following lines to includes/templates/Userlogin.php at line 19 to provide account creation info for new users.
<?php
// Begin Edit
// Added link to forum with text for signup.
// Author: Brad on 20050920 ?>
<h2>Create an Account:</h2>
<p>To create an account please <a href="https://www.kjams.com/forum/profile.php?mode=register">register</a> in our forum.
Once you have registered send an email to the Wiki Group Moderator requesting a Wiki membership.</p>
<?php
// End Edit ?>
- Addes the following lines to LocalSettings.php at line 2 to force SSL for logins.
// Begin Edit
// We are only operating on port 443 (SSL) for logins
// Author: Brad on 20050920
if($_SERVER['SERVER_PORT'] != '443' && $_REQUEST['title'] == 'Special:Userlogin')
{
header('Location: https://www.kjams.com'.$_SERVER['REQUEST_URI']);
}
elseif($_SERVER['SERVER_PORT'] == '443' && $_REQUEST['title'] != 'Special:Userlogin')
{
header('Location: http://www.kjams.com'.$_SERVER['REQUEST_URI']);
}
// End Edit