[TH] User Criteria Extended

[TH] User Criteria Extended 1.0.6

No permission to download
Just set your username as one of the criteria
That makes sense, but it's still a hassle to promote my username and fiddle with groups on just my account, then unpromote and fix groups, just to check my criteria logic? Any shortcuts you know of?
 
What about having a test/development forum? Such things aren't meant to be "experimented" on a live forum, just saying 😅
 
I have a test/dev site. Just looking for shortcut before going there. I would've thought others have run into this too, including developer. No big deal.
 
One thing I don't see in this addon is the ability to do and/or logic on multiple usergroups.
Is this really there and I'm just missing it?

User A:
-Is in group "active"
-AND is in group "yes".
-But not in group "rainbow".
 
You don't need advanced criteria for that. This is already included in Xenforo criteria system.

Go to "User Promotions" -> "Add Promotion" -> "Apply this promotion while..."

you'll find the logic for users IN a group and another for users NOT IN a group.
 
Am I missing something? My installation didn't work at all. There are no options in users search?
 
I got this error be using Xenforo 2.10.x

ErrorException: Template error: Function url is unknown src/XF/Template/Templater.php:914

Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function url is...', '/usr/www/users/...', 914, Array)
#1 src/XF/Template/Templater.php(914): trigger_error('Function url is...', 512)
#2 src/XF/Template/Templater.php(906): XF\Template\Templater->func('url', Array, false)
#3 internal_data/code_cache/navigation_cache.php(45): XF\Template\Templater->fn('url', Array, false)
#4 src/XF/Template/Templater.php(6660): XF\Pub\App->{closure}(Object(XF\Template\Templater), 'members', Array)
#5 src/XF/Pub/App.php(560): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'members', Array)
#6 src/XF/Pub/App.php(513): XF\Pub\App->getNavigation(Array, 'members')
#7 src/XF/App.php(2001): XF\Pub\App->renderPageHtml('<div class="blo...', Array, Object(XF\Mvc\Reply\Message), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(402): XF\App->renderPage('<div class="blo...', Object(XF\Mvc\Reply\Message), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Message), 'html')
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}


Request state
array(4) {
["url"] => string(21) "/members/blackboo.146"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Am I missing something? My installation didn't work at all. There are no options in users search?
User search is not using the user criteria system.

I got this error be using Xenforo 2.10.x

ErrorException: Template error: Function url is unknown src/XF/Template/Templater.php:914

Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function url is...', '/usr/www/users/...', 914, Array)
#1 src/XF/Template/Templater.php(914): trigger_error('Function url is...', 512)
#2 src/XF/Template/Templater.php(906): XF\Template\Templater->func('url', Array, false)
#3 internal_data/code_cache/navigation_cache.php(45): XF\Template\Templater->fn('url', Array, false)
#4 src/XF/Template/Templater.php(6660): XF\Pub\App->{closure}(Object(XF\Template\Templater), 'members', Array)
#5 src/XF/Pub/App.php(560): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'members', Array)
#6 src/XF/Pub/App.php(513): XF\Pub\App->getNavigation(Array, 'members')
#7 src/XF/App.php(2001): XF\Pub\App->renderPageHtml('<div class="blo...', Array, Object(XF\Mvc\Reply\Message), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(402): XF\App->renderPage('<div class="blo...', Object(XF\Mvc\Reply\Message), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Message), 'html')
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}


Request state
array(4) {
["url"] => string(21) "/members/blackboo.146"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
You used a wrong function in one of your navigation entries. It's not related to this add-on.
 
No, this add-on intentionally focuses on native XenForo stuff. Any third party add-on should ideally ship their own criteria.
 
I absolutely love this addon! But as warned I am running into some problems, for example when I created a trophy for users who had given reviews.

1600852781150.webp

The error I received was: Error: Call to undefined method XFRM\XF\Entity\User::getThucXfrmResourceGivenReviewCount() in src/XF/Mvc/Entity/Entity.php at line 148

Is this error caused by this addon, and if so is there any way to fix it?

1600852906945.webp
 
With this add-on, is it possible to have it so a user has to post X amount of posts within a certain month? I.e. 1 November - 30 November?
 
How do you use this add-on? I don't see any changes to user profile fields or anything after installing it in 2.2.1?

I want to allow users to fill out a profile field on registration stating why they're on the site and if they set a specific phrase or expression than it upgrades their account, but only if they state those phrases, if not, it takes their input but nothing happens to their account. Is that possible with this add-on? If so, how?
 
How do you use this add-on? I don't see any changes to user profile fields or anything after installing it in 2.2.1?

I want to allow users to fill out a profile field on registration stating why they're on the site and if they set a specific phrase or expression than it upgrades their account, but only if they state those phrases, if not, it takes their input but nothing happens to their account. Is that possible with this add-on? If so, how?

Lol so it's not just me..
 
Top Bottom