Alert Improvements by Xon

Alert Improvements by Xon 2.10.13

No permission to download
XFMG isn't supported, and it is unlikely as a fair chunk of this add-on needs to be rewrite for XF2.1
 
Not sure if i should report it here or no but Alert is displayed twice when using UI.X / Dark styles

189880
 
I noticed im getting a lot of errors that seem to be a conflict between this addon and @au lait's user account self delete addon:

Code:
Server error log
Error: Call to undefined method XF\Mvc\Reply\Redirect::setParam() src/addons/xenMade/UASD/XF/Pub/Controller/Account.php:104
Generated by: roughdraft Dec 8, 2018 at 6:16 AM
Stack trace
#0 src/XF/Mvc/Dispatcher.php(249): xenMade\UASD\XF\Pub\Controller\Account->actionAccountDetails(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'AccountDetails', 'json', Object(XF\Mvc\ParameterBag), 'account', Object(SV\AlertImprovements\XF\Pub\Controller\Account), NULL)
#2 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#3 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#4 src/XF.php(329): XF\App->run()
#5 index.php(13): XF::runApp('XF\\Pub\\App')
#6 {main}
Request state
array(4) {
  ["url"] => string(24) "/account/account-details"
  ["referrer"] => string(50) "https://squattheplanet.com/account/account-details"
  ["_GET"] => array(1) {
    ["/account/account-details"] => string(0) ""
  }
  ["_POST"] => array(9) {
    ["user"] => array(1) {
      ["custom_title"] => string(0) ""
    }
    ["option"] => array(2) {
      ["show_dob_date"] => string(1) "1"
      ["show_dob_year"] => string(1) "1"
    }
    ["profile"] => array(2) {
      ["location"] => string(11) "Qosqo, Peru"
      ["website"] => string(0) ""
    }
    ["custom_fields"] => array(31) {
      ["hometown"] => string(8) "Delmarva"
      ["gender"] => string(0) ""
      ["fav_place"] => string(140) "Isla Grande de Chiloe-Chile, Olympic Peninsula-WA, Umpqua Valley-OR, Ancash-Peru, Qosqo-Peru and most importantly anywhere with real friends"
      ["preferred_travel"] => string(0) ""
      ["occupation"] => string(0) ""
      ["traveling_now"] => string(13) "traveling_yes"
      ["Spoken_Languages"] => string(48) "English / Spanish is very good - studying others"
      ["gender_identity"] => array(1) {
        [0] => string(11) "gender_male"
      }
      ["sexual_orientation"] => array(1) {
        [0] => string(24) "orientation_heterosexual"
      }
      ["preferred_pronoun"] => string(10) "pronoun_he"
      ["relationship_status"] => string(13) "status_single"
      ["have_children"] => string(11) "children_no"
      ["any_pets"] => string(41) "i love animals but do not travel with one"
      ["doyou_drink"] => string(18) "drink_occassionaly"
      ["smoking"] => string(18) "smoke_occasionally"
      ["drugs"] => string(0) ""
      ["political_leaning"] => string(54) "corruption and greed is collectively the biggest issue"
      ["list_skills"] => string(0) ""
      ["instruments_played"] => string(34) "some mandolin & 4 chords on guitar"
      ["fav_curse"] => string(0) ""
      ["favorite_websites"] => string(0) ""
      ["phone"] => string(0) ""
      ["email"] => string(0) ""
      ["facebook"] => string(0) ""
      ["ello"] => string(0) ""
      ["myspace"] => string(0) ""
      ["twitter"] => string(0) ""
      ["tumblr"] => string(0) ""
      ["soundcloud"] => string(0) ""
      ["skype"] => string(0) ""
      ["Other"] => string(0) ""
    }
    ["about_html"] => string(0) ""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(24) "/account/account-details"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

not sure which one is stepping on the other, but i thought i'd post it here and see if you have any thoughts.
 
This add-on isn't directly in that call-chain (it is in preferencesSaveProcess but it doesn't change the results).

It is very likely src/addons/xenMade/UASD/XF/Pub/Controller/Account.php:104 not checking the return result properly.
 
When I uploaded the files for 2.4.1, the add-on still showed up as 2.4.0 in the ACP, and it didn't give an option to upgrade, it just said "Pending changes".

EDIT: I rebuilt the master data for the add-on, and it appears to h ave fixed the problem, now it is showing up as 2.4.1.
 
That happens if you have your forum in development mode and there are _output files, it is annoying.
 
Found these two small bugs (?), ...

192182

Looks like, there is a wrong Phrase used?! alert_preferences did not exist in my 2.1 install, only notification_preferences.


192184

When marking an Alert unread, while on Thread View, I got this JS Error. Any other page did not throw that error.
 
Last edited:
I just upgraded from XF1.5, now I'm receiving this error every minute:
Code:
ErrorException: Template error: Template public:alert_post_like_summary is unknown src/XF/Template/Templater.php:611

Looks like coming from your XF1 addon?

Can it be fix by installing this XF2 version?
 
Top Bottom