Xen Pushover (Push Notifications) [Deleted]

My first suspicion is the permission.

Have you used Never to remove the permission from any usergroups or anything like that?
Found the issue! You have a template mod for navigation_visitor_tab (for the popup menu) but you also need one for account_wrapper otherwise it's missing from here:

upload_2014-4-2_10-42-34.webp
 
For consideration, an option to delay the alert pushes and then only unacknowledged alerts. The reason being is if I am on a site and receive an alert while I'm there then there is no need to get also on my mobile device. This would cut down on the number of alerts a person receives that they've already seen and it would also reduce the number of alerts from the site to help not go over the free monthly limit.
 
Hey Chris, an error occurred this morning when a member double-posted (one of those accidental double posts). The following error shows up in the Server Log :)

ErrorException: Undefined offset: 8796 - library/XenPushover/Model/Alert.php:40
#0/library/XenPushover/Model/Alert.php(40): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/xenadmin/...', 40, Array)
#1 library/XenPushover/DataWriter/Alert.php(10): XenPushover_Model_Alert->push(8796, 54)
#2 library/XenForo/DataWriter.php(1409): XenPushover_DataWriter_Alert->_postSave()
#3 library/XenForo/Model/Alert.php(452): XenForo_DataWriter->save()
#4 library/XenForo/Model/Alert.php(426): XenForo_Model_Alert->alertUser(54, 139, 'tracy perry', 'post', 4223, 'quote', NULL)
#5 library/XenForo/Model/Post.php(1815): XenForo_Model_Alert::alert(54, 139, 'tracy perry', 'post', 4223, 'quote')
#6 library/XenForo/DataWriter/DiscussionMessage/Post.php(141): XenForo_Model_Post->alertQuotedMembers(Array, Array, Array)
#7 library/KeywordAlert/XenForo/DataWriter/DiscussionMessage/Post.php(29): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#8 library/WidgetFramework/XenForo/DataWriter/DiscussionMessage/Post.php(7): KeywordAlert_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#9 library/XenForo/DataWriter.php(1423): WidgetFramework_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#10 library/Dark/TaigaChat/DataWriter/DiscussionMessage/Post.php(7): XenForo_DataWriter->save()
#11 library/XenForo/DataWriter/Discussion.php(477): Dark_TaigaChat_DataWriter_DiscussionMessage_Post->save()
#12 library/XenForo/DataWriter/Discussion.php(426): XenForo_DataWriter_Discussion->_saveFirstMessageDw()
#13 library/XenForo/DataWriter.php(1409): XenForo_DataWriter_Discussion->_postSave()
#14 library/XenForo/Model/Report.php(482): XenForo_DataWriter->save()
#15 library/XenForo/ControllerPublic/Post.php(491): XenForo_Model_Report->reportContent('post', Array, 'Double Post... ...')
#16 XenForo/FrontController.php(347): XenForo_ControllerPublic_Post->actionReport()
#17 XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#18 index.php(13): XenForo_FrontController->run()
#19 {main}
 
Thank you. I'll have that fixed for 1.1.

Sounds like the alert was there, then it was deleted which under circumstances sounds plausible.
 
Thank you. I'll have that fixed for 1.1.

Sounds like the alert was there, then it was deleted which under circumstances sounds plausible.
Since I'm the user :p here is what happened. I had a double post from slow internet and then went back to report one of them. Upon using the "Report" post at time of sending this error cropped up. Tried it several times and it did it each time.
 
I've had another error (got it a few times):
  • Error:
    Code:
    Zend_Controller_Response_Exception: Cannot send headers; headers already sent in /--path--/library/XenForo/Cron.php, line 47 - library/Zend/Controller/Response/Abstract.php:321
  • Trace:
    Code:
    #0 /--path--/library/Zend/Controller/Response/Abstract.php(115): Zend_Controller_Response_Abstract->canSendHeaders(true)
    #1 /--path--/library/XenForo/ViewRenderer/Abstract.php(63): Zend_Controller_Response_Abstract->setHeader('X-Frame-Options', 'SAMEORIGIN')
    #2 /--path--/library/XenForo/ViewRenderer/HtmlPublic.php(18): XenForo_ViewRenderer_Abstract->__construct(Object(XenForo_Dependencies_Public), Object(Zend_Controller_Response_Http), Object(Zend_Controller_Request_Http))
    #3 /--path--/library/XenForo/Dependencies/Public.php(213): XenForo_ViewRenderer_HtmlPublic->__construct(Object(XenForo_Dependencies_Public), Object(Zend_Controller_Response_Http), Object(Zend_Controller_Request_Http))
    #4 /--path--/library/XenPushover/Model/Alert.php(184): XenForo_Dependencies_Public->getViewRenderer(Object(Zend_Controller_Response_Http), 'Html', Object(Zend_Controller_Request_Http))
    #5 /--path--/library/XenPushover/Model/Alert.php(74): XenPushover_Model_Alert->_renderAlertTemplate(Array)
    #6 /--path--/library/XenPushover/DataWriter/Alert.php(10): XenPushover_Model_Alert->push(30, 3)
    #7 /--path--/library/XenForo/DataWriter.php(1409): XenPushover_DataWriter_Alert->_postSave()
    #8 /--path--/library/XenForo/Model/Alert.php(452): XenForo_DataWriter->save()
    #9 /--path--/library/bdTagMe/XenForo/Model/Alert.php(11): XenForo_Model_Alert->alertUser(3, 0, 'User', 'post', 14111, 'insert', NULL)
    #10 /--path--/library/XenForo/Model/Alert.php(426): bdTagMe_XenForo_Model_Alert->alertUser(3, 0, 'User', 'post', 14111, 'insert', NULL)
    #11 /--path--/library/XenForo/Model/ForumWatch.php(310): XenForo_Model_Alert::alert(3, 0, 'User', 'post', 14111, 'insert')
    #12 /--path--/library/bdTagMe/XenForo/Model/ForumWatch.php(9): XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, NULL, Array, Array)
    #13 /--path--/library/XenForo/DataWriter/DiscussionMessage/Post.php(176): bdTagMe_XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, NULL, Array, Array)
    #14 /--path--/library/WidgetFramework/XenForo/DataWriter/DiscussionMessage/Post.php(7): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #15 /--path--/library/bdTagMe/XenForo/DataWriter/DiscussionMessage/Post.php(13): WidgetFramework_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #16 /--path--/library/XenForo/DataWriter.php(1423): bdTagMe_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #17 /--path--/library/XenForo/DataWriter/Discussion.php(477): XenForo_DataWriter->save()
    #18 /--path--/library/XenForo/DataWriter/Discussion.php(426): XenForo_DataWriter_Discussion->_saveFirstMessageDw()
    #19 /--path--/library/XenForo/DataWriter.php(1409): XenForo_DataWriter_Discussion->_postSave()
    #20 /--path--/library/XenForo/Model/Feed.php(495): XenForo_DataWriter->save()
    #21 /--path--/library/XenForo/Model/Feed.php(536): XenForo_Model_Feed->_insertFeedEntry(Array, Array, Array)
    #22 /--path--/library/XenForo/Model/Feed.php(563): XenForo_Model_Feed->_insertFeedData(Array, Array)
    #23 /--path--/library/XenForo/Model/Feed.php(588): XenForo_Model_Feed->importFeedData(Array)
    #24 /--path--/library/XenForo/CronEntry/Feeder.php(15): XenForo_Model_Feed->scheduledImportTimeLimited(15)
    #25 [internal function]: XenForo_CronEntry_Feeder::importFeeds(Array)
    #26 /--path--/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
    #27 /--path--/library/XenForo/Cron.php(29): XenForo_Model_Cron->runEntry(Array)
    #28 /--path--/library/XenForo/Cron.php(64): XenForo_Cron->run()
    #29 /--path--/cron.php(12): XenForo_Cron::runAndOutput()
    #30 {main}
  • State:
    Code:
    array(3) {
      ["url"] => string(26) "http://--testserver--/cron.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
Another few things I've noticed is that there is a Cron, named "Scrape for Pushover Alerts" which is deactivated and that I only get messages when somebody visits the forum it's self but not by the PHP cronjob (maybe something caused by the fact that it is a testserver right now).
 
Ignore that Cron, it's for a beta version.

Am I correct in saying that these are alerts generated when a Cron entry imports RSS feed items into a thread that is in a forum that you are watching?

If so, I will do some testing on that.
 
I can't currently reproduce this. Please let me know when you can test this on a live server.
 
Chris D updated Xen Pushover with a new update entry:

Lots of new features...

This update brings with it some new features:
  • A new queue system. No longer any delay when performing an action that would trigger a Pushover.
  • The queue system can auto-retry any Pushover notifications that cannot be sent.
  • If a user has been active in the last 5 minutes, the Pushover process is delayed by 60 seconds (customisable in options).
  • If a user has already read the alert in the forum, it is no longer sent to Pushover.
  • The Admin can control globally which alert types the user can choose to receive.
  • The Admin can provide friendly names to the Alert content type and actions in the Admin CP by clicking on their names.
  • The user can choose which alert types they wish to receive (from the ones allowed by the Admin)
  • The user can also specify a priority for each alert. Low priority alerts do not give any audible notification on your device. Normal priority alerts are... normal :). High priority alerts are sent to the device, and ignore a user's "Quiet Time" settings. They are also highlighted in red in the app.
This feature also includes some cool, Admin only enhancements:
  • Admin Alerts
    • Receive notification when Server Errors have been logged (you are notified that server errors exist, not for each one that occurs)
    • Receive notification when a new user has been set to Awaiting Approval
  • Pushover for XenForo.com Community
    • Receive push notifications from alerts at XenForo.com
Both of the above features are controlled by Admin permissions. If you are not a Super Administrator, you will need to configure these permissions before they are visible in the Admin CP > Applications > Xen Pushover menu.

It's also worth noting that to receive alerts from XenForo.com you must first have given your usergroup/user account permission to use Xen Pushover and also added your API key to the Admin CP options.

View attachment 71375

View attachment 71374

View attachment 71373

View attachment 71376

View attachment 71377

Read the rest of this update entry...
 
I can confirm that this is a fantastic update :)
I can confirm that confirmation too. :D

Superb update! It's great that admins can control which alerts are available to keep Pushover alert costs down (and free in many cases). Great too that users can control the alert priority so they don't get buzzed for every alert type. As for the admin only options, they're just brilliant! Alerts for server errors and users waiting for approval are really useful and I love it that I can get alerts for Xenforo.com too. :D

Excellent work as always, @Chris D (y)
 
nice update
after thinking of buy it i was shocked that there app is not free =( and i cancel the idea

hope if there other service similar to pushover with free app install

thanks for your hard working @Chris D
 
The app is excellent value for money. And if you consider for a moment the service that they provide, the infrastructure it requires, the amount of development time that goes into it and the effort it takes to support and develop Pushover on an ongoing basis, why should it be free? The truth is, you will never find a company releasing a free app that's capable of doing such a task because of the sheer amount of investment that's required to start it, maintain it, support it and grow it.
 
nice update
after thinking of buy it i was shocked that there app is not free =( and i cancel the idea

hope if there other service similar to pushover with free app install

thanks for your hard working @Chris D
The problem with finding a totally free solution is finding a service provider like pushover.net that is willing to develop clients for multiple platforms. If Google offered a free push service, for example, the odds are pretty good that iOS would be low on their priority and if Apple offered a service then Android would be non-existent on their priority list. In the scenario where both Google offered a free push service and Apple offered a free push service then add-ons like Xen Pushover would need to support multiple providers.

For now, at least, a non-biased 3rd party like Pushover.net is the best choice since you're likely going to see more availability. From a business perspective then the question becomes how does the 3rd party make money? Yes, $5 is a bit high compared to most mobile apps but so-called power users won't mind and for site admins $5 becomes a small price to pay for getting alerts (especially now that Chris has added "Admin Alerts" to the newest version).

Even if nobody else on my sites end up using it because they don't want to spend the $5 on the client app, it will still have been a good investment for me, both the client app & Chris's add-on, because now I can get a pulse of what is going on with my sites while on the road.
 
nice update
after thinking of buy it i was shocked that there app is not free =( and i cancel the idea

hope if there other service similar to pushover with free app install

thanks for your hard working @Chris D
Forum users have been happy to pay for the Tapatalk app for years and that's only a little less in cost than the Pushover app. If users want alerts, then £3 really isn't much - it's less than a pint of beer.
 
The problem with finding a totally free solution is finding a service provider like pushover.net that is willing to develop clients for multiple platforms. If Google offered a free push service, for example, the odds are pretty good that iOS would be low on their priority and if Apple offered a service then Android would be non-existent on their priority list. In the scenario where both Google offered a free push service and Apple offered a free push service then add-ons like Xen Pushover would need to support multiple providers.

For now, at least, a non-biased 3rd party like Pushover.net is the best choice since you're likely going to see more availability. From a business perspective then the question becomes how does the 3rd party make money? Yes, $5 is a bit high compared to most mobile apps but so-called power users won't mind and for site admins $5 becomes a small price to pay for getting alerts (especially now that Chris has added "Admin Alerts" to the newest version).

Even if nobody else on my sites end up using it because they don't want to spend the $5 on the client app, it will still have been a good investment for me, both the client app & Chris's add-on, because now I can get a pulse of what is going on with my sites while on the road.

ya thats right

but check this
https://www.pushbullet.com its also something similar to pushover

i dont have a problem with paying to use it myself but as i want it for other to use it

i know my member will not pay
90% they dont bother them self to read a full text to know what is going one and i know they will never bother them self to pay for that


Forum users have been happy to pay for the Tapatalk app for years and that's only a little less in cost than the Pushover app. If users want alerts, then £3 really isn't much - it's less than a pint of beer.
believe me they will not pay even if its cost them 1$



@Chris D did https://www.pushbullet.com have something nice same as pushover
and is it hard to implemented also with ur addon or its need to rewrite the whole thing ?!
 
The app is excellent value for money. And if you consider for a moment the service that they provide, the infrastructure it requires, the amount of development time that goes into it and the effort it takes to support and develop Pushover on an ongoing basis, why should it be free? The truth is, you will never find a company releasing a free app that's capable of doing such a task because of the sheer amount of investment that's required to start it, maintain it, support it and grow it.

well the problem not with me ^_^ the problem with the users who want to pay for it :( , cuz i need them to use it not just me !!
 
well the problem not with me ^_^ the problem with the users who want to pay for it :( , cuz i need them to use it not just me !!
Fine. You're not buying this. No problem.

If you have a suggestion for another add-on, you can make that suggestion in the appropriate forum.

This thread is about Xen Pushover and I have no control over the app's pricing so there's not really much more to discuss here.
 
Back
Top Bottom