KJams Wiki:About: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:
* 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 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
* edit MediaWiki:Edithelppage and change "Help:Editing" to the "http://meta.wikimedia.org/wiki/Help:Editing" without quotes
* added [http://meta.wikimedia.org/wiki/User:Tdittmar/MailObfuscator email obfuscator], be sure to add this into /skins/MonoBook.php in the <head> section:
<script type="text/javascript" src="/w/extensions/MailObfuscator.js"></script>
* 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]
Line 68: Line 66:
     <a href="https://karaoke.kjams.com/wiki/Documentation" title="kJams Documentation">kJams Documentation</a></li>
     <a href="https://karaoke.kjams.com/wiki/Documentation" title="kJams Documentation">kJams Documentation</a></li>
</pre>
</pre>
* Roll our own mail obfuscation functionality. [https://karaoke.kjams.com/wiki/Special:CommentForm Feedback]
* added [http://meta.wikimedia.org/wiki/User:Tdittmar/MailObfuscator email obfuscator]
** Roll our own mail obfuscation functionality.
* Fixed MailObfuscator.php to work with newer version of mediawiki.
* Fixed MailObfuscator.php to work with newer version of mediawiki.
<pre>
<pre>

Revision as of 05:35, 27 August 2011

  • 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
{{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 Extension using 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
    • Roll our own mail obfuscation functionality.
  • Fixed MailObfuscator.php to work with newer version of mediawiki.
--- extensions/MailObfuscator.bak.php	2011-08-26 19:03:29.000000000 -0700
+++ extensions/MailObfuscator.php	2011-08-26 19:23:52.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.js\"></script>";
+  $out->addHeadItem( 'mailObfuscate_JavaScript', $script );
+  return true;
+}
+
+##
 ## Installs the extension
 ##
 function mailObfuscate_Install() 

SVN

http://agileshrugged.com/blog/?p=14
http://www.makkintosshu.com/journal/automating-fixdavsvn

Are we using this? Ok, really, are we using this? yes, i think so aboot

Brad

Would be real nice to create a www/www.kjams.com svn repository.

Dave should be getting multiple same watchlist page notifies without having to visit the page. Everyone else will be getting the same behavior.

Brad2

Great idea, lets do it soon.

already done

just sayin'

What's already done?