KJams Wiki:About: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 62: Line 62:
  // the editor
  // the editor
  $dbw->begin();
  $dbw->begin();
</pre>
* Added kJams Documentation link to the forum overall_header.html template.<br>
<pre>
  <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>
</pre>
</pre>
==SVN==
==SVN==

Revision as of 18:12, 23 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
<script type="text/javascript" src="/w/extensions/MailObfuscator.js"></script>
{{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>

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?