Yeah I've been meaning to change that default behaviour.
So here we go:
https://github.com/chrisdeeming/LiveUpdate/releases/tag/4.1.0-rc4
If you've already installed a previous version, to reset everything you will need to uninstall and reinstall.
By default now, the following happens:
- A new install, will only have the 'tab_icon' method enabled.
- Upgrades will carry over whatever their setting was on the previous versions.
- The default for newly registering users will always just be the 'tab_icon' method unless you change it in the options to something else.
To install this version I made sure I uninstalled it and even purged the server files.
We are getting this error in ACP when ever someone saves their preferences page.
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'liveupdate_display_option' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By:
The Dark Wizard, A moment ago
Stack Trace
#0 /home/rpnation/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('UPDATE `xf_user...')
#1 /home/rpnation/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'UPDATE `xf_user...')
#2 /home/rpnation/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('UPDATE `xf_user...')
#3 /home/rpnation/public_html/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_user...', Array)
#4 /home/rpnation/public_html/library/XenForo/DataWriter.php(1654): Zend_Db_Adapter_Abstract->update('xf_user_option', Array, '(user_id = 9719...')
#5 /home/rpnation/public_html/library/XenForo/DataWriter.php(1623): XenForo_DataWriter->_update()
#6 /home/rpnation/public_html/library/XenForo/DataWriter.php(1419): XenForo_DataWriter->_save()
#7 /home/rpnation/public_html/library/LiveUpdate/ControllerPublic/Account.php(33): XenForo_DataWriter->save()
#8 /home/rpnation/public_html/library/BetterLogout/Extend/XenForo/ControllerPublic/Account.php(7): LiveUpdate_ControllerPublic_Account->actionPreferencesSave()
#9 /home/rpnation/public_html/library/XenGallery/ControllerPublic/Account.php(74): BetterLogout_Extend_XenForo_ControllerPublic_Account->actionPreferencesSave()
#10 /home/rpnation/public_html/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Account->actionPreferencesSave()
#11 /home/rpnation/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/rpnation/public_html/index.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(49) "
https://www.rpnation.com/account/preferences-save"
["_GET"] => array(1) {
["/account/preferences-save"] => string(0) ""
}
["_POST"] => array(23) {
["style_id"] => string(2) "73"
["language_id"] => string(1) "1"
["timezone"] => string(16) "America/New_York"
["bl_logout_option"] => string(1) "0"
["default_watch_state"] => string(1) "1"
["xengallery_default_media_watch_state"] => string(1) "1"
["xengallery_default_album_watch_state"] => string(1) "1"
["xengallery_default_category_watch_state"] => string(1) "1"
["xengallery_unviewed_media_count"] => string(1) "0"
["xengallery_preferences_form"] => string(1) "1"
["enable_rte"] => string(1) "1"
["enable_flash_uploader"] => string(1) "1"
["content_show_signature"] => string(1) "1"
["visible"] => string(1) "1"
["liveupdate_display_option"] => array(3) {
[0] => string(8) "tab_icon"
[1] => string(17) "notifications_api"
[2] => string(9) "tab_title"
}
["desired_actions"] => array(25) {
["delete_soft"] => string(1) "1"
["delete_hard"] => string(1) "1"
["undelete"] => string(1) "1"
["approve"] => string(1) "1"
["unapprove"] => string(1) "1"
["merge_target"] => string(1) "1"
["edit"] => string(1) "1"
["title"] => string(1) "1"
["stick"] => string(1) "1"
["unstick"] => string(1) "1"
["lock"] => string(1) "1"
["unlock"] => string(1) "1"
["prefix"] => string(1) "1"
["move"] => string(1) "1"
["post_move_source"] => string(1) "1"
["post_move_target"] => string(1) "1"
["post_move_target_existing"] => string(1) "1"
["post_copy_source"] => string(1) "1"
["post_copy_target"] => string(1) "1"
["post_copy_target_existing"] => string(1) "1"
["poll_edit"] => string(1) "1"
["poll_add"] => string(1) "1"
["reply_ban"] => string(1) "1"
["reply_ban_delete"] => string(1) "1"
["warn"] => string(1) "1"
}
["desired_type"] => string(3) "all"
["select_all"] => string(1) "1"
["_xfToken"] => string(8) "********"
["save"] => string(12) "Save Changes"
["_xfRequestUri"] => string(20) "/account/preferences"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}