Oh; with all of the posts in here, I almost missed that you already fulfilled my request!! Awesome!!0.0.2 released (changelog above) - to update you'll need to reupload the files and upgrade the addon xml.
ETA: Do I just reupload the XML file?
Oh; with all of the posts in here, I almost missed that you already fulfilled my request!! Awesome!!0.0.2 released (changelog above) - to update you'll need to reupload the files and upgrade the addon xml.
you need to reupload everything.ETA: Do I just reupload the XML file?
Server Error
Mysqli statement execute error : Duplicate entry 'massAlert-alert_handler_class' for key 'PRIMARY'
- [*]Zend_Db_Statement_Mysqli->_execute()inZend/Db/Statement.phpat line292
[*]Zend_Db_Statement->execute()inZend/Db/Adapter/Abstract.phpat line479
[*]Zend_Db_Adapter_Abstract->query()inDark/MassAlert/Install.phpat line97
[*]Dark_MassAlert_Install->_installVersion1()inDark/MassAlert/Install.phpat line83
[*]Dark_MassAlert_Install::install()inXenForo/Model/AddOn.phpat line214
[*]XenForo_Model_AddOn->installAddOnXml()inXenForo/Model/AddOn.phpat line169
[*]XenForo_Model_AddOn->installAddOnXmlFromFile()inXenForo/ControllerAdmin/AddOn.phpat line180
[*]XenForo_ControllerAdmin_AddOn->actionInstall()inXenForo/FrontController.phpat line310
[*]XenForo_FrontController->dispatch()inXenForo/FrontController.phpat line132
[*]XenForo_FrontController->run()in/home7/teambdne/public_html/hlxbans/admin.phpat line13
The only reason we haven't already done it (Mass Alerts) is that it potentially adds millions of rows to the alerts table in a single hit, whereas normal alerts tend to only insert records for active users. If you insert alerts for users who never log in, they will never be cleared from the alerts table, and your performance will suffer.
xenforo uses a kind of faux cron to do x action every y hours (such as update thread count and such). it shouldnt be too difficult for some clever person to create a cronjob to run a mysql query to remove unread alerts after x amount of time.
Great idea.I've got a few things planned for the next release: (should be done sometime later today)
- A nightly cron to delete alerts created by MassAlert that have not been marked as viewed after a week since their creation
Sounds like that would avoid the problem
- A table to store the messages/links so that they aren't included thousands of times in the alerts table
Your previous solutions cover the bases. You also want to capture the people who are active on the forum during the time the alert is active. Might some people who weren't around a few days before the alert feel left out they didn't get the alert ? Lots of holes in this approach, but some might find it useful.
- Possibly an option to only send alerts to those who have been active x number of days ago.
Yea that would be cool to do it from there instead of going to the ACP
there is no provision for adding a link or selecting the usergroup.
there is no provision for adding a link or selecting the usergroup.
imo, these alerts shouldnt occur so frequently that one needs to send them from outside the acp.
+1 agreed.there is no provision for adding a link or selecting the usergroup.
imo, these alerts shouldnt occur so frequently that one needs to send them from outside the acp.
there is no provision for adding a link or selecting the usergroup.
imo, these alerts shouldnt occur so frequently that one needs to send them from outside the acp.
0.1.0 (04/01/2010):
- Added seperate table for massalerts rather than redundantly storing them in the alerts table
- Added cron to delete unread alerts after a week
- Fixed install bug
We use essential cookies to make this site work, and optional cookies to enhance your experience.