• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Mobile Push Notifications for XenForo

Mobile Push Notifications for XenForo 1.0.5

No permission to download

gfc

Active member
#21
Actually, in the current version, you can receive SMS messages on iOS. We will be replacing this in the next update with Facebook Messenger messages since those are free and SMS messages are not, and we'll add a different monetization scheme, more on this soon.
How about Whatsapp?
 
#23
#27
Got this error
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect string value: '\xE1\xBA\xBFt \xC4...' for column 'title' at row 1 - library/Zend/Db/Statement/Mysqli.php:214

#0 /home/androi18/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/androi18/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/androi18/public_html/WebPush/1.x/databases.php(6): Zend_Db_Adapter_Abstract->query('INSERT INTO xf_...')
#3 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Chain.php(61): WebPush_Listener::{closure}(Array, Object(WebPush\aop\Chain))
#4 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Filters.php(144): WebPush\aop\Chain->run(Array, Object(Closure))
#5 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/StaticObject.php(11): WebPush\aop\Filters::run('WebPush\\Databas...', 'query', Array, Object(Closure))
#6 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Databases.php(198): WebPush\StaticObject::_run('query', Array)
#7 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Databases.php(172): WebPush\Databases::query(Array)
#8 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Model.php(40): WebPush\Databases::insert(Array)
#9 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Chain.php(94): WebPush\Model->WebPush\{closure}(Array)
#10 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Runtime.php(48): WebPush\aop\Chain->__invoke(Array)
#11 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Chain.php(90): WebPush\Runtime::WebPush\{closure}(Array, Object(WebPush\aop\Chain))
#12 /home/androi18/public_html/WebPush/1.x/models.php(12): WebPush\aop\Chain->__invoke(Array)
#13 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Chain.php(61): WebPush_Listener::{closure}(Array, Object(WebPush\aop\Chain))
#14 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/aop/Filters.php(144): WebPush\aop\Chain->run(Array, Object(Closure))
#15 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/StaticObject.php(11): WebPush\aop\Filters::run('WebPush\\Model', 'save', Array, Object(Closure))
#16 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Model.php(41): WebPush\StaticObject::_run('save', Array, Object(Closure))
#17 /home/androi18/public_html/WebPush/_source/turnkeymobileapps/WebPush/src/Model.php(15): WebPush\Model->save()
#18 /home/androi18/public_html/library/WebPush/Model/Alert.php(56): WebPush\Model::create(Array)
#19 /home/androi18/public_html/library/XenForo/Model/Alert.php(425): WebPush_Model_Alert->alertUser(2292, 2292, '0xDC00', 'user', 2292, 'trophy', Array)
#20 /home/androi18/public_html/library/XenForo/Model/Trophy.php(245): XenForo_Model_Alert::alert(2292, 2292, '0xDC00', 'user', 2292, 'trophy', Array)
#21 /home/androi18/public_html/library/bdSocialShare/XenForo/Model/Trophy.php(7): XenForo_Model_Trophy->awardUserTrophy(Array, '0xDC00', Array, 1510976508)
#22 /home/androi18/public_html/library/XenForo/Model/Trophy.php(305): bdSocialShare_XenForo_Model_Trophy->awardUserTrophy(Array, '0xDC00', Array)
#23 /home/androi18/public_html/library/XenForo/CronEntry/Trophy.php(44): XenForo_Model_Trophy->updateTrophiesForUser(Array, Array, Array)
#24 /home/androi18/public_html/library/XenForo/Model/Cron.php(356): XenForo_CronEntry_Trophy::runTrophyCheck(Array)
#25 /home/androi18/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#26 /home/androi18/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.9876940250397, 'Rebuilding... S...')
#27 /home/androi18/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9876940250397, 'Rebuilding... S...', false)
#28 /home/androi18/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, 'Rebuilding... S...', false)
#29 /home/androi18/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
 
#28
turnkeymobileapps updated Mobile Push Notifications for XenForo with a new update entry:

Patch for 'Incorrect string value' Error

Use of certain characters like those found in Vietnamese trigger the 'Incorrect string value' error due to a bug. This affects boards of all languages. To patch this bug, run the following queries and they will stop immediately:
SQL:
ALTER TABLE  `xf_web_push_alert_queue` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
ALTER TABLE  `xf_web_push_alert_queue` CHANGE  `title`  `title` VARCHAR( 130 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;
ALTER TABLE  `xf_web_push_alert_queue` CHANGE  `body`  `body` VARCHAR( 130 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;
ALTER TABLE  `xf_web_push_alert_queue` CHANGE  `href`  `href` VARCHAR( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL;
This requires an update/overwrite of the files from the zip's upload folder but not the add-on XML.
Read the rest of this update entry...
 
Last edited:
#30
How do you configre the add-on? Is there anywhere you set the FB account alerts go from? I enabled it and it's active for the admin usergrou- I clicked "Ok" on the popup in Chrome on Desktop and Safair on iOS and neither received an alerrt when I got one on the forum.
 
#31
turnkeymobileapps updated Mobile Push Notifications for XenForo with a new update entry:

Notifications Stop Reset

A bug has been discovered that causes users to stop receiving notifications shortly after receiving the first few. The fix is on our side and does not require an add-on or file update, but affected users must "reset" their devices.

To restore notifications, affected users need to clear each device's cookies for the forum, log back in (since successfully clearing cookies will log them out), and hit "Ok" to approve notifications again.
Read the rest of this update entry...
 
Last edited:

snoopy5

Well-known member
#40
If I want to use this addon, but no SMS option, how can I reach those users

a) with Apple iphones, who do not have facebook or whatsapp?
b) android users, who do not use facebook or whatsapp?

c) Any plans to offer this also for threema or signal as a messenger service?