spider blog

    Blog    

    Calendar    

SPIDER's blog

Since Monday 03 October 2005 04:30 pm

Public blogs:

bugs n tweaks

Thursday 26 February 2009 02:50 pm

private messaging
the array_merge change from PHP4 to PHP5 (blanks the result if either merged array is empty) strikes again - the private messaging emails were being wiped. Fixed with a bit of type casting/ logic.

$array=array_merge((array)$array_1,(array)$array_2)

or can do

if (count($array_1)>0) type thing

questionnaire results
updated the view/export result logic - admin level users were only seeing questionnaires on their cluster even if they authored/had access to results of other questionnaires. Also put in cluster headings so staff on mult-clusters see results sorted by cluster then by questionnaire title

 

 

 

  >  comment

Quizzes

Monday 23 February 2009 12:18 pm

quiz results
updated various code in staff.php to share the results of database calls (stored results in array instead of repeat calls to database on same page). Updated absentees, missed deadline and 'all quizzes for class' pages to make use of the cluster + teaching classes code, and added/updated drop down lists at top of pages to allow reload/refresh/ changes without having to return to main results page.

  >  comment

Latest changes

Friday 20 February 2009 04:12 pm

Quizzes
- updated staff view of 'all quizzes by class' to include 'off cluster' classes for staff who are 'teaching on class'
- fixed bug allowing students to open a new instance of a quiz if they have a saved version already

Info
- updated group/cluster info pages to allow direct editing of file attributes from 'view' page

edit users
- added new tables to update when changing username

radiation database
- fixed minor bug in reports that was showing decay activiity twice for moves from temp storage
- added stock_id to superadmin view of stock history to allow easier tracking of usage from back-end
- fixed data error in archive due to rounding errors

attendance register
- updated manage view to limit to users own activities by default
- added email lists in outlook format
- added ordering by 'day' to listings (was alphabetical meaning Friday came before Monday...)

PG database
- updated 'progress' view
- fixes to reports, access rights
- added chemistry and maths-stams admins for testing by related depts

 

 

 

 

 

  >  comment

SCRIPT

Friday 06 February 2009 12:10 pm

bug fix
fixed a problem with saving interaction Rx type - the changes weren't being saved properly if the interaction had no 'errors'.

groups
bug fixed - class self subscription groups were not saving changes to their group family
minor tweak - groups members are now numbered on class view groups page, group home page and in the group edit members page.

 

  >  comment

fixes

Thursday 05 February 2009 02:22 pm

Manage Attendence
some odd bug crept in that caused duplicate listings of students for attendence records. Couldn't track down exactly how this was happening, so put in a logic step to check for an existing record and force an update instead of doing an insert, which will stop this from happening again. Also added in a tick box to allow staff to view only their own activities (default, on) or all cluster activiites (tick off, submit).

Quiz viewer
the tweaks to the quiz viewer last session were to a version of the shockwave prior to another change - showing correct numerical answers in the feedback. Created a new version of the file that includes all the recent updates.

PG DB
bug from array_merge causing indexes to be redone if they were numeric causing problems with staff users who have numeric usernames - the merge would reset their username to a auto-incremented integer value. This resulted in the record being saved incorrectly (key value instead of username value). Fixed by changing array_merge($array1,$array2) to be $array1 + $array 2. 

 

 

  >  comment
You need to log onto Spider to add entries
You need to log in to Spider to post

<<February 2009>>
SMTWTFS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
             

Archive

April 2016 [1]
November 2015 [1]
January 2015 [1]
July 2014 [1]
June 2014 [3]
May 2014 [4]
April 2014 [2]
March 2014 [3]
February 2014 [3]
January 2014 [2]
December 2013 [2]
November 2013 [2]
October 2013 [3]
September 2013 [2]
August 2013 [6]
July 2013 [3]
June 2013 [2]
May 2013 [4]
April 2013 [2]
March 2013 [3]
February 2013 [3]
January 2013 [2]
December 2012 [2]
November 2012 [4]
October 2012 [3]
September 2012 [4]
August 2012 [3]
July 2012 [2]
June 2012 [4]
May 2012 [2]
April 2012 [1]
March 2012 [4]
February 2012 [5]
January 2012 [3]
December 2011 [2]
November 2011 [3]
August 2011 [3]
July 2011 [5]
June 2011 [5]
May 2011 [5]
April 2011 [6]
March 2011 [6]
February 2011 [5]
January 2011 [4]
December 2010 [5]
November 2010 [11]
October 2010 [6]
September 2010 [6]
August 2010 [4]
July 2010 [7]
June 2010 [5]
May 2010 [5]
April 2010 [10]
March 2010 [4]
February 2010 [7]
January 2010 [5]
December 2009 [4]
November 2009 [12]
October 2009 [8]
September 2009 [2]
August 2009 [1]
July 2009 [3]
June 2009 [5]
May 2009 [2]
April 2009 [3]
March 2009 [5]
February 2009 [5]
January 2009 [2]
November 2008 [1]
August 2008 [1]
July 2008 [1]
June 2008 [1]
May 2008 [5]
April 2008 [5]
February 2008 [2]
November 2007 [2]
September 2007 [1]
August 2007 [3]
May 2007 [5]
March 2007 [2]
February 2007 [1]
November 2006 [2]
July 2006 [1]
May 2006 [1]
April 2006 [1]
March 2006 [4]
February 2006 [3]
January 2006 [3]
November 2005 [1]
October 2005 [4]

Favourite blogs