User Essentials

User Essentials [Paid] 4.4.0

No permission to buy ($35.00)
Question regarding this addon:

Allows editing in mentions (user or user group) and sending alerts for new users/groups without sending duplicates.
Supported content types; Posts, Profile Posts, Profile post comments

Does this include when a user adds a quote/reply to an existing post as well, or only direct @ mentions?
 
@Siropu 's chat recently added a new "poll" feature which throws an error in User Essentials when a user creates a poll:
  • InvalidArgumentException: Unknown user log handler type 'siropu_chat_poll' src/addons/SV/UserEssentials/UserLog/Logger.php:124
  • Generated by: Nicolas King Dec 31, 2023 at 8:58 AM



Stack trace​


Code:
#0 src/addons/SV/UserEssentials/UserLog/Logger.php(242): SV\UserEssentials\UserLog\Logger->handler('siropu_chat_pol...', true)
#1 src/addons/SV/UserEssentials/XF/Logger.php(32): SV\UserEssentials\UserLog\Logger->log('siropu_chat_pol...', Object(Siropu\Chat\Entity\Poll), 'poll_create', Array, true)
#2 src/addons/SV/UserEssentials/XF/Service/Poll/Creator.php(29): SV\UserEssentials\XF\Logger->logUserAction('siropu_chat_pol...', Object(Siropu\Chat\Entity\Poll), 'poll_create')
#3 src/XF/Service/ValidateAndSavableTrait.php(42): SV\UserEssentials\XF\Service\Poll\Creator->_save()
#4 src/addons/Siropu/Chat/Pub/Controller/Poll.php(92): XF\Service\Poll\Creator->save()
#5 src/XF/Mvc/Dispatcher.php(352): Siropu\Chat\Pub\Controller\Poll->actionCreate(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('Siropu\\Chat:Pol...', 'Create', Object(XF\Mvc\RouteMatch), Object(Siropu\Chat\Pub\Controller\Poll), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\Chat\Pub\Controller\Poll), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}


Request state​


PHP:
array(4) {
["url"] => string(19) "/shouty/poll/create"
["referrer"] => string(20) "https://hogwarts.nz/"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["_xfToken"] => string(8) "********"
["poll"] => array(9) {
["question"] => string(48) "Going to/Gone to a New Years party this weekend?"
["new_responses"] => array(4) {
[0] => string(3) "Yes"
[1] => string(2) "No"
[2] => string(3) "TBD"
[3] => string(0) ""
}
["max_votes_type"] => string(6) "single"
["change_vote"] => string(1) "1"
["public_votes"] => string(1) "1"
["view_results_unvoted"] => string(1) "1"
["close"] => string(1) "1"
["close_length"] => string(1) "2"
["close_units"] => string(4) "days"
}
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

Not sure which of you will need to tweak something
 
@Xon

Small bug with the self-disable feature. If Minimum time between self-disable requests is set, the "You must wait until ______ before attempting to disable your account again" message displays what I believe is the initial disable request date/time (rather than the date/time after which the member can self-disable again).

The svUserEss_self_disable_next_time phrase also has a typo (untill/until) :)
 
The next version will be XF2.3 compatible

@Xon

Small bug with the self-disable feature. If Minimum time between self-disable requests is set, the "You must wait until ______ before attempting to disable your account again" message displays what I believe is the initial disable request date/time (rather than the date/time after which the member can self-disable again).

The svUserEss_self_disable_next_time phrase also has a typo (untill/until) :)
Both should be fixed for the next update. Just chasing down a few outstanding bugs and a new version should be out early next week
 
Both should be fixed for the next update. Just chasing down a few outstanding bugs and a new version should be out early next week

Thanks for the update. No rush on my part, I know you're slammed with "this doesn't work with XF2.3" stuff (duh) 🙄
 
Xon updated User Essentials with a new update entry:

4.4.0 - XF2.3 compatibility update & bugfixes

  • Require StandardLib v1.20.0+
  • php 8.4+ compatibility
  • XF2.3 compatibility
  • Fix "Minimum time between self-disable requests" option would display the last requested account disable attempt date instead of when they can actually disable their account
  • Fix editing resource updates and media gallary items could XRRM/XFMG would log: [E_WARNING] Undefined array key "quote"
  • Fix posting a XFRM update with only a new version and without update title/message would error

Read the rest of this update entry...
 
Top Bottom