Releases: TheMacLab/game-on
Releases · TheMacLab/game-on
Game On Refactoring
- Refactored the entirety of Game On to match Wordpress Coding Standards.
- This includes changes to the structure of ALL PHP, JS, and CSS files. More to be refactored over time.
- Added support for Youtube & Vimeo videos to the
go_display_video
shortcode.- Videos containing a URL from Youtube or Vimeo will now open in an iframe inside of the video lightbox.
Air Horn Fix
- Fixed air horn firing multiple times in a future timed task
Date/Timer Update
- Date + time filter now works cross browser
- Added jQuery UI clock fallback for browsers that don't support HTML5
<input type='time'/>
element
- Added jQuery UI clock fallback for browsers that don't support HTML5
- Added air horn sound to both date/future timers when they expire
- Air horn only sounds the first time a user visits the task after time runs out
- Removed CSSpie.js and it's related files from Game On since they're no longer used
NOTE: If tasks from previous versions of Game On have any date/future time filters associated with them, installing this version will cause some strange behaviors.
- The date filter specifically changed its behavior to now take the percentage value associated with a day to be a reduction, rather than a modification. I.e. a task with a 90% modifier in the date filter on 2.3.7 and before would be 90% of the value of the task (a 10% reduction), whereas in 2.3.8 and onwards a task with a 90% modifier in the date filter would be a reduction of 90% of the value of the task.
- To account for this change, we recommend taking the previous value (90) and subtracting it from 100 (100 - 90 = 10) and replacing the previous value (90) with the new calculated value (10) and updating the task for 2.3.8.
Admin Message History and Admin Add Bar
- Admins now have history of sent messages in new Clipboard tab
- Admins always have all Add bar values available, whether or not Minutes Only is checked
Tasks Now Have Commenting
- Comments are visible on tasks by default
- Comments can be disabled in the tasks tab on the admin side under screen options in the top right
Date Modifier Fix and New Accordion Functionality
- The date modifier for tasks now takes the modifier off of the original value
- Opening an options accordion closes any other open ones
Bonus Loot
- Store items have two new options: Unpurchasable and Bonus Loot
- Tasks have a new option called Bonus Loot which allows you to provide store items marked with the bonus loot option for mastery
- Each bonus loot item has a corresponding percentage box in which determines the users chance of receiving the item upon completing a tasks last stage
- Items with 100% chance will appear as "Quest Loot"
- Unpurchasable will allow a store item to be viewable but not purchasable
Admin Bar Update
- Messages bar now appears black when there are no new messages
- New messages are red
- When messages are red they turn white
- Changed admin bar from round to square
- New store item page no longer show shortcode in WYSIWYG editor
Date/Timer Update
- Added time to the calendar time modifier in task creation page
- Added future time reward modifier which activates on accept (stage 2) of a task and starts a timer which, when it hits 0, modifies rewards given by completing the task (stage 3)
Data Reset Option, Safari Notifications, and Store Item Fixes
- Removed "badge_count" column from individual reset query
- Refactored individual reset query to properly check for column values not being null
- Added a check for the "All" option being selected as well as all individual reset options, before the truncate query is run
- Added parameter to go_update_ranks() to handle deciding if the level notification should be returned or echoed
- Updated the use of on-notification z-index updates through jQuery.css()
- Removed loop that checked the z-index of every element on the page, on every go_notification() call
- Added parsing to the gotoBuy ajax, to separate notifications from other messages; store notifications are now appended to the end of the tag (to deal with z-index issues in Safari)
- Added a note to the data reset option in the options page which says "Select data to reset." while the data reset option is checked
- Added a check for there being one or more data reset checkboxes selected. Otherwise, the reset button will alert the user to select data to reset first