KJams Wiki:About: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
* Added apache redirect for http://www.kjams.com/wiki/Help:Editing so it hits http://meta.wikimedia.org/wiki/Help:Editing.
* Added apache redirect for http://www.kjams.com/wiki/Help:Editing so it hits http://meta.wikimedia.org/wiki/Help:Editing.
* Upgraded to PHP Version 5.0.5-dev and MySQL Version 5.0.16.
* Upgraded to PHP Version 5.0.5-dev and MySQL Version 5.0.16.
* added google maps http://meta.wikimedia.org/wiki/User:Emiller/GoogleMapsExtension
* added google maps http://meta.wikimedia.org/wiki/User:Emiller/GoogleMapsExtension. Note: if you change your GoogleMapsKey (eg: changing domain) then you have to re-save every page that has a map, otherwise it will use the old, cached key.
* added email obfuscator http://meta.wikimedia.org/wiki/User:Tdittmar/MailObfuscator
* added email obfuscator http://meta.wikimedia.org/wiki/User:Tdittmar/MailObfuscator
* added Navigational Images http://meta.wikimedia.org/wiki/User:Jbennet/Navigational_images
* added Navigational Images http://meta.wikimedia.org/wiki/User:Jbennet/Navigational_images

Revision as of 20:09, 18 July 2008

  • Version info
  • PHP Info Page
  • 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
//		if (!$wgUser->isSysop()) {
		if ($wgUser->getName() != "Dave") {
// also copied the urchin.js to local, for better performance, not wait on google