SocialEngine Polls Plugin Version Changes

This file contains a list of each file that was modified in each new version as well as any language variables that were added or changed.

Version 3.06

  1. admin/install_poll.php - Incremented version
  2. include/js/class_poll.js - Fixed bug that would prevent view results.


Version 3.05

  1. browse_polls.php - Implemented bit-wise view/vote/create level setting
  2. header_poll.php - Added code to utilize hooked template includes; implemented bit-wise view/vote/create level setting
  3. poll.php - Implemented bit-wise view/vote/create level setting; fixed privacy handling issue
  4. poll_ajax.php - Implemented bit-wise view/vote/create level setting
  5. polls.php - Implemented bit-wise view/vote/create level setting
  6. user_poll.php - Implemented bit-wise view/vote/create level setting
  7. user_poll_edit.php - Added missing censoring; implemented bit-wise view/vote/create level setting
  8. user_poll_new.php - Added missing censoring; implemented bit-wise view/vote/create level setting
  9. admin/admin_levels_pollsettings.php - Implemented bit-wise view/vote/create level setting
  10. admin/install_poll.php - Incremented version; implemented bit-wise view/vote/create level setting
  11. include/class_poll.php - Fixed missing censoring for create and edit; fixed theoretical injection vulnerability; fixed problem with validating privacy options on create/edit
  12. templates/admin_levels_pollsettings.tpl - Implemented bit-wise view/vote/create level setting
  13. templates/admin_viewpolls.tpl - Wrong parameter in view link fixed
  14. templates/browse_polls.tpl - Changed pt font definition to px to ensure Windows DPI does not affect layout
  15. templates/header_poll.tpl - No longer included (provided for backwards compatibility)
  16. templates/poll.tpl - Implemented bit-wise view/vote/create level setting; fixed reporting bug
  17. templates/polls.tpl - Implemented bit-wise view/vote/create level setting
  18. templates/styles_poll.css - Changed pt font definition to px to ensure Windows DPI does not affect layout


Version 3.04

  1. browse_polls.php - Fixed bug that would sometimes cause query to fail for anonymous users; fixed support for "Public Permission Defaults"
  2. header_poll.php - Fixed support for "Public Permission Defaults"; added site statistics hook
  3. poll_ajax.php - Added missing $page variable assignment; added code to prevent anonymous users from wasting db time
  4. admin/admin_header_poll.php - Added site statistics hook
  5. admin/admin_levels_pollsettings.php - Fixed bug in privacy handling that would update users in other levels; fixed checking no privacy options, will now replace it with only the most public
  6. admin/install_poll.php - Incremented version; added se_polls.poll_totalcomments column for speed; new installations will use static language vars for actiontypes, notifytypes, and systememails to ease importing
  7. include/class_poll.php - The method poll_list uses se_polls.poll_totalcomments instead of join to the se_pollcomments table (Requires SE v3.07)
  8. include/functions_poll.php - Added site statistics generation function
  9. templates/admin_levels_pollsettings.tpl - Made plugin loop in menu fully compatible with 3.10 (is backwards compatible with all v3 as well)


Version 3.03

  1. poll_ajax.php - Removed the json_encode() emulation includes as they are now done in the header
  2. admin/admin_levels_pollsettings.php - Fixed the privacy order bug sort() vs rsort()
  3. admin/install_poll.php - Incremented version; fixed the missing system email for poll comments; fixed bug with everything being private when upgrading from v2
  4. templates/poll.tpl - Fixed secure code for comments; removed comment pagination


Version 3.02

  1. poll.php - Now deletes notifications of poll comments correctly
  2. poll_ajax.php - Removed inclusion of json classes because they are now handled in SE304's header.php
  3. user_poll_edit.php - Fixed missing language
  4. admin/install_poll.php - Incremented version; now forces utf8 charset on related tables and columns
  5. include/class_poll.php - Fixed problem with object reference that would incorrectly display poll owner names in browse polls
  6. include/js/class_poll.js - Upgraded to use SE304's preliminary Javascript API
  7. templates/browse_polls.tpl - Added cleaning and escaping of HTML in descriptions
  8. templates/poll.tpl - Fixed radio element error; added support for SE304's comment system and JS API
  9. templates/polls.tpl - Fixed radio element error; added support for SE304's JS API
  10. templates/user_poll.tpl - Added cleaning and escaping of HTML in descriptions; added support for SE304's JS API
  11. templates/user_poll_edit.tpl - Added support for SE304's JS API


Version 3.00alpha/3.01beta


The upgrade to 3.00alpha/3.01beta involves replacing all of your PHP, TPL, and CSS files. This means that you will lose any changes you have made to these files. Unfortunately there is no easy way to avoid this since we've made so many changes to the platform. If possible, make a note about each change you've made in your current installation so that you can reapply them after the upgrade process.


Version 2.20

  1. admin/install_poll.php - Incremented version; fixed poll_answers field being too small
  2. templates/poll.tpl - Fixed incorrect total vote count
  3. templates/polls.tpl - Fixed incorrect total vote count


Version 2.10

  1. poll.php - Added charset specification in the comment AJAX
  2. user_poll_edit_comments.php - Added
  3. templates/polls.tpl - Fixed Javascript bug in IE
  4. templates/user_poll_edit.tpl - Changed user menu links to event plugin's style, added edit comment link
  5. templates/user_poll_edit_comments.tpl - Added
  6. lang/lang_english_group.php
    $user_poll_edit[1] = "Poll Details";
    $user_poll_edit[2] = "Comments";
    $user_poll_edit[18] = "Back to My Polls";
    $user_poll_edit_comments[1] = "Poll Details";
    $user_poll_edit_comments[2] = "Comments";
    $user_poll_edit_comments[4] = "Photos";
    $user_poll_edit_comments[5] = "Comments";
    $user_poll_edit_comments[6] = "poll Style";
    $user_poll_edit_comments[7] = "Cancel poll";
    $user_poll_edit_comments[8] = "Back to My Polls";
    $user_poll_edit_comments[9] = "Poll Comments:";
    $user_poll_edit_comments[10] = "The comments below have been written about this poll by other people. To delete comments, click their checkboxes and then click the \"Delete Selected\" button below the comment list.";
    $user_poll_edit_comments[11] = "Last Page";
    $user_poll_edit_comments[12] = "comment";
    $user_poll_edit_comments[13] = "of";
    $user_poll_edit_comments[14] = "comments";
    $user_poll_edit_comments[15] = "Next Page";
    $user_poll_edit_comments[16] = "No comments have been posted about this poll.";
    $user_poll_edit_comments[17] = "Anonymous";
    $user_poll_edit_comments[18] = "Delete Selected";
    $user_poll_edit_comments[19] = "\o\\n"; //THESE CHARACTERS ARE BEING ESCAPED BECAUSE THEY ARE BEING USED IN A DATE FUNCTION
    $user_poll_edit_comments[20] = "select all comments";


Version 2.00

This was the initial release of the Polls Plugin.


©2008 Webligo Developments