[AP] Additional User Onboarding Tasks

[AP] Additional User Onboarding Tasks 2.0.1

No permission to download
@Joe Link unfortunately I'm having a lot of trouble fulfilling this, perhaps I'm missing something simple but I don't think the original addon was really made to handle "not" scenarios, even when I try work around it I can't get the task to check off automatically, I'm only having success in the batch processing job which triggers when you actually create the task. But since I've had all the other requested tasks completed for a while I can't really hold off on putting out the update any longer.

I'll keep it on my todo list so I'll come back to it every now and then, and hopefully it can make it into a future update - for everyone else who has posted ITT, expect an update later today.

No problem, I appreciate you trying!
 
Hello, nice add-on I have a suggestion too, we are using this rule for full member access:

User has been registered for at least X days
 
Would it be possible to add:

User has posted at least X messages with Y thread prefix.

(for when 2.0 addon compability is coming) :)
 
Would it be possible to add:

User has posted at least X messages with Y thread prefix.

(for when 2.0 addon compability is coming) :)
Sorry, only saw this now that I released an update. I can definitely take a look soon.

Hello, nice add-on I have a suggestion too, we are using this rule for full member access:

User has been registered for at least X days
Only saw this now as well, though the latest User Onboarding version supports Xenforo's user criteria so this should be covered if your license enables you to upgrade to UO 2. If you're stuck with an earlier version, let me know and I can write that up for you.
 

Please be aware that this has not yet been reviewed to be compatible with User Onboarding 2.0.0 - versions older than 2.0.0 will work.​

Any chance to let it works with 2.0.2 !
I need to add Additional tasks
 
Hmm, when I try rebuild caches I get this errors:

Code:
ErrorException: [E_WARNING] Attempt to read property "user_id" on null in src/addons/apathy/OnboardingTasks/Condition/MessageCount.php at line 38
XF::handlePhpError() in src/addons/apathy/OnboardingTasks/Condition/MessageCount.php at line 38
apathy\OnboardingTasks\Condition\MessageCount->apathy\OnboardingTasks\Condition\{closure}() in src/XF/Extension.php at line 52
XF\Extension->fire() in src/XF.php at line 959
XF::fire() in src/XF/Mvc/Entity/Entity.php at line 1276
XF\Mvc\Entity\Entity->save() in src/XF/Job/AbstractEmbedMetadataJob.php at line 122
XF\Job\AbstractEmbedMetadataJob->saveMetadata() in src/XF/Job/AbstractEmbedMetadataJob.php at line 104
XF\Job\AbstractEmbedMetadataJob->run() in src/XF/Job/Manager.php at line 260
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 86
XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 141
XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in admin.php at line 13

Code:
ErrorException: [E_WARNING] Attempt to read property "user_id" on null src/addons/apathy/OnboardingTasks/Condition/MessageCount.php:38
Generated by: Ascalon 12 Březen 2022 v 08:43

Stack trace
#0 src/addons/apathy/OnboardingTasks/Condition/MessageCount.php(38): XF::handlePhpError(2, '[E_WARNING] Att...', '/data/web/virtu...', 38)
#1 src/XF/Extension.php(52): apathy\OnboardingTasks\Condition\MessageCount->apathy\OnboardingTasks\Condition\{closure}(Object(SV\ReportImprovements\XF\Entity\Post))
#2 src/XF.php(959): XF\Extension->fire('entity_post_sav...', Array, 'XF\\Entity\\Post')
#3 src/XF/Mvc/Entity/Entity.php(1276): XF::fire('entity_post_sav...', Array, 'XF\\Entity\\Post')
#4 src/XF/Job/AbstractEmbedMetadataJob.php(122): XF\Mvc\Entity\Entity->save()
#5 src/XF/Job/AbstractEmbedMetadataJob.php(104): XF\Job\AbstractEmbedMetadataJob->saveMetadata(Object(SV\ReportImprovements\XF\Entity\Post), Array)
#6 src/XF/Job/Manager.php(260): XF\Job\AbstractEmbedMetadataJob->run(8)
#7 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#9 src/XF/Admin/Controller/Tools.php(141): XF\Job\Manager->runQueue(true, 8)
#10 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}

Request state
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(46) "https://prekladyher.eu/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(10) "/admin.php"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(0) ""
  }
}
 
@apathy I have finished installing it, and it is working well. I have a suggestion: whenever you have time, can you please consider adding the following tasks?

Download all or a resources in a specified category.
View all or a topics in a specified forum (eg rules).
User has replied to a thread in the following forum.
 
Hi,
I’m receiving quite a few server errors saying:

MySQL query error [1062]: Duplicate entry '5306-1' for key 'PRIMARY'

I’ve attached a couple of screenshots showing the details. Can you tell me how I can fix this please?

Thanks
 

Attachments

  • IMG_0245.webp
    IMG_0245.webp
    188.3 KB · Views: 4
  • IMG_0246.webp
    IMG_0246.webp
    156.4 KB · Views: 4
@apathy I have finished installing it, and it is working well. I have a suggestion: whenever you have time, can you please consider adding the following tasks?

Download all or a resources in a specified category.
View all or a topics in a specified forum (eg rules).
User has replied to a thread in the following forum.
Unfortunately I've not got the time to implement requests atm, but I'll add these to the to-do list anyways and if things change then I'll implement them.

Hi,
I’m receiving quite a few server errors saying:

MySQL query error [1062]: Duplicate entry '5306-1' for key 'PRIMARY'

I’ve attached a couple of screenshots showing the details. Can you tell me how I can fix this please?

Thanks
Is this only happening with the "User has posted X times" task? I'll take a look over the next few days to see if I can reproduce it.
 
Top Bottom