KJams Wiki:About: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
<?php | <?php | ||
// End Edit ?></pre> | // End Edit ?></pre> | ||
* Addes the following lines to LocalSettings.php to force SSL for logins. | |||
<pre>// 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 | |||
</pre> | |||
* Added skin navigation hack (Note: MonoBook only) | * Added skin navigation hack (Note: MonoBook only) | ||
** Link to [http://meta.wikimedia.org/wiki/MediaWiki_FAQ#Using_a_wikipage_as_a_source_for_a_navigation_bar Using a wikipage as a source for a navigation bar] | ** Link to [http://meta.wikimedia.org/wiki/MediaWiki_FAQ#Using_a_wikipage_as_a_source_for_a_navigation_bar Using a wikipage as a source for a navigation bar] | ||
Revision as of 15:44, 21 September 2005
MediaWiki v 1.4.9 (released on 2005-08-29)
- 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 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
- Added skin navigation hack (Note: MonoBook only)