[bd] Push Notification [Deleted]

@xfrocks 1.5 errors

Code:
XenForo_Exception: Missing following state for user ID 56 in user 2378 - library/XenForo/Model/User.php:2486
Generated By: Shadow, 1 minute ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/UserProfile.php(117): XenForo_Model_User->passesPrivacyCheck('members', Array, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/ProfilePost.php(516): XenForo_Model_UserProfile->canViewFullUserProfile(Array, NULL, Array)
#2 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/AlertHandler/ProfilePostComment.php(39): XenForo_Model_ProfilePost->canViewProfilePostAndContainer(Array, Array, NULL, Array)
#3 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Alert.php(234): XenForo_AlertHandler_ProfilePostComment->getContentByIds(Array, Object(bdTagMe_XenForo_Model_Alert), 56, Array)
#4 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/XenForo/Model/Alert.php(7): XenForo_Model_Alert->_getContentForAlerts(Array, 56, Array)
#5 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Helper/Alert.php(188): bdPushover_XenForo_Model_Alert->bdPushover_getContentForAlerts(Array, 56, Array)
#6 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Helper/Alert.php(161): bdPushover_Helper_Alert::work1_prepare(Array, Array)
#7 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Listener.php(40): bdPushover_Helper_Alert::work()
#8 [internal function]: bdPushover_Listener::front_controller_post_view(Object(XenForo_FrontController), '{"templateHtml"...')
#9 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#10 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(179): XenForo_CodeEvent::fire('front_controlle...', Array)
#11 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#12 {main}
 
Which option in the pushable content is for "Likes"

My forum abuses the hell out of them...might be best to disable that.
 
@xfrocks 1.5 errors

Code:
XenForo_Exception: Missing following state for user ID 56 in user 2378 - library/XenForo/Model/User.php:2486
Generated By: Shadow, 1 minute ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/UserProfile.php(117): XenForo_Model_User->passesPrivacyCheck('members', Array, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/ProfilePost.php(516): XenForo_Model_UserProfile->canViewFullUserProfile(Array, NULL, Array)
#2 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/AlertHandler/ProfilePostComment.php(39): XenForo_Model_ProfilePost->canViewProfilePostAndContainer(Array, Array, NULL, Array)
#3 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Alert.php(234): XenForo_AlertHandler_ProfilePostComment->getContentByIds(Array, Object(bdTagMe_XenForo_Model_Alert), 56, Array)
#4 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/XenForo/Model/Alert.php(7): XenForo_Model_Alert->_getContentForAlerts(Array, 56, Array)
#5 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Helper/Alert.php(188): bdPushover_XenForo_Model_Alert->bdPushover_getContentForAlerts(Array, 56, Array)
#6 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Helper/Alert.php(161): bdPushover_Helper_Alert::work1_prepare(Array, Array)
#7 /var/www/vhosts/wweforums.net/httpdocs/library/bdPushover/Listener.php(40): bdPushover_Helper_Alert::work()
#8 [internal function]: bdPushover_Listener::front_controller_post_view(Object(XenForo_FrontController), '{"templateHtml"...')
#9 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#10 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(179): XenForo_CodeEvent::fire('front_controlle...', Array)
#11 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#12 {main}

I guess you're back @xfrocks, could you let me know if this will be fixed before I buy Chris D's addon?
 
Out of curiosity have you tried this in XF 1.5.1?

Although there is a workaround in my add-on, we actually also made some changes in the 1.5.1 code that should prevent this error.
 
yes...many members get 50-100 likes a day and want the likes to be completely off
Wow, 100 likes a day, not sure if he/she should be happy or mad for receiving that many notifications :ROFLMAO: I will add new option in future version of this add-on to turn on/off notifications for likes then.
 
Does this support other 3rd party add-on alerts?

If it doesnt, do you think you could add a really simple way for 3rd party add-on developers to make their alerts work with your addon?
 
Does this support other 3rd party add-on alerts?

If it doesnt, do you think you could add a really simple way for 3rd party add-on developers to make their alerts work with your addon?
Yes. It supports third party alerts out of the box.
 
Top Bottom