KJams Wiki:About: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
* added Navigational Images http://meta.wikimedia.org/wiki/User:Jbennet/Navigational_images | * added Navigational Images http://meta.wikimedia.org/wiki/User:Jbennet/Navigational_images | ||
* for the forums: added [http://www.phpbb.com/phpBB/viewtopic.php?t=117359&highlight=userlist Admin Userlist] | * for the forums: added [http://www.phpbb.com/phpBB/viewtopic.php?t=117359&highlight=userlist Admin Userlist] | ||
* added <strike>[http://wikipainting.free.fr/mediawiki-1.6.5/index.php?title=Multilanguage_extension multilang extension]</strike> '''Update:''' if necessary, the replacement is [http://www.mediawiki.org/wiki/Extension:Multilang MultiLang], but it doesn't work yet on the latest wiki. [[Sandbox#Languages_Tests Maybe I fixed it]];) | * added <strike>[http://wikipainting.free.fr/mediawiki-1.6.5/index.php?title=Multilanguage_extension multilang extension]</strike> '''Update:''' if necessary, the replacement is [http://www.mediawiki.org/wiki/Extension:Multilang MultiLang], but it doesn't work yet on the latest wiki. [[Sandbox#Languages_Tests|Maybe I fixed it]];) | ||
* added [http://meta.wikimedia.org/wiki/ParserFunctions ParserFunctions] and [http://www.mediawiki.org/wiki/Template:Languages Languages Template] | * added [http://meta.wikimedia.org/wiki/ParserFunctions ParserFunctions] and [http://www.mediawiki.org/wiki/Template:Languages Languages Template] | ||
* create a new page [[Template:Lowercase]] and add the following:<br> | * create a new page [[Template:Lowercase]] and add the following:<br> | ||
Revision as of 01:46, 3 January 2012
- 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
- installed pear so php can send mail with my store script
- 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.
- 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.
- edit MediaWiki:Edithelppage and change "Help:Editing" to the "http://meta.wikimedia.org/wiki/Help:Editing" without quotes
- added Navigational Images http://meta.wikimedia.org/wiki/User:Jbennet/Navigational_images
- for the forums: added Admin Userlist
- added
multilang extensionUpdate: if necessary, the replacement is MultiLang, but it doesn't work yet on the latest wiki. Maybe I fixed it;) - added ParserFunctions and Languages Template
- create a new page Template:Lowercase and add the following:
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}
- enabled email notifications (in DefaultSettings.php, search for "enotif", set them to TRUE)
- force SSL for registration and login for forums
- Added Google Analytics
using the Analytics Extensionusing Wiki-Wide Analytics plus Analytics Links. - added EmbedVideo for youtube / google video etc
- added google site map
- send notify emails for all watchlist edits regardless of recipient page view by not adding a timestamp to the watchlist table
--- ./includes/UserMailer.orig.php 2011-08-23 08:50:41.000000000 -0700
+++ ./includes/UserMailer.php 2011-08-23 09:02:44.000000000 -0700
@@ -326,7 +326,11 @@
foreach ( $res as $row ) {
$watchers[] = intval( $row->wl_user );
}
+/*
+ Brad: Dave wants to be notified of all edits so we will not add a timestamp to the watchlist.wl_notificationtimestamp field.
if ( $watchers ) {
+*/
+ if ( $watchers && false ) {
// Update wl_notificationtimestamp for all watching users except
// the editor
$dbw->begin();
- Added kJams Documentation link to the forum overall_header.html template.
<li class="icon-faq" style="background-image: url('https://karaoke.kjams.com/forum/styles/prosilver/imageset/kjams_logo16x14.png');">
<a href="https://karaoke.kjams.com/wiki/Documentation" title="kJams Documentation">kJams Documentation</a></li>
- added email obfuscator
- Fixed MailObfuscator.php to work with newer version of mediawiki.
--- MailObfuscator.bak.php 2011-08-26 19:03:29.000000000 -0700
+++ MailObfuscator.php 2011-08-27 07:30:00.000000000 -0700
@@ -15,6 +15,21 @@
##
+## Add our JavaScript file
+##
+$wgHooks['BeforePageDisplay'][] = 'mailObfuscate_JavaScript';
+function mailObfuscate_JavaScript( $out )
+{
+ # -----------------------------------------------
+ # Merge JavaScript into OutputPage
+ # -----------------------------------------------
+ global $wgScriptPath;
+ $script = "<script type=\"text/javascript\" src=\"{$wgScriptPath}/extensions/MailObfuscator/MailObfuscator.js\"></script>";
+ $out->addHeadItem( 'mailObfuscate_JavaScript', $script );
+ return true;
+}
+
+##
## Installs the extension
##
function mailObfuscate_Install()
- Use MailObfuscator on our own Feedback
--- CommentFormEdit.bak.php 2011-08-27 14:41:04.000000000 -0700
+++ CommentFormEdit.php 2011-08-27 15:00:11.000000000 -0700
@@ -19,7 +19,9 @@
<input TYPE=\"HIDDEN\" NAME=\"clientIP\" VALUE=\"{$_SERVER['REMOTE_ADDR']}\">
<input TYPE=\"HIDDEN\" NAME=\"kJams\" VALUE=\"{$_REQUEST['kJams']}\">
<p>Did you know we now have public <a href=\"http://www.kjams.com/forum/\">Forums</a>?<br>
-If you'd rather use your email client, <a href=\"mailto:dave@kjames.com?subject=kJams Feedback\">click here</a>.<br>
+If you'd rather use your email client,
+<script type=\"text/javascript\">writeMail(\"dave\",\"kjams.com?subject=kJams Feedback\",\"click here\");</script>
+<noscript><span style=\"font-style:italic\">(Please activate JavaScript in order to see the eMail address)</span></noscript>.<br>
If you'd like send feeback using this form, fill in fields below and click the "Send" button.</p>
Name : <br>
<input TYPE=\"TEXT\" NAME=\"realname\" SIZE=\"35\"tabindex=\"1\"><br>