Updating badges by cron job works correctly for me on my development setup and test forum.
Make sure that:
- The criteria you have selected are applicable to recently active users
- For offline users the cron scheduler works according to the option "Cron Activity Interval"
- Nothing prevents updating the xf_user.last_activity columns - the last user visit data is also updated by the XF "Hourly clean up" cron job - make sure it works.
- Nothing prevents cron from running on your site. Use job runner manager add-on to see to see if it's running:
View attachment 315144
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'u335162859_forum.xf_cmtv_badges_badge_category' doesn't exist in src/XF/Db/AbstractStatement.php at line 230
[LIST=1]
[*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
[*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
[*]XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
[*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
[*]XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
[*]XF\Db\AbstractAdapter->fetchOne() in src/addons/OzzModz/Badges/Import/Importer/VersoBitBadges.php at line 136
[*]OzzModz\Badges\Import\Importer\VersoBitBadges->getStepEndCategories() in src/XF/Import/Runner.php at line 210
[*]XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 83
[*]XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 54
[*]XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247
[*]XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
[*]XF\App->run() in src/XF.php at line 806
[*]XF::runApp() in admin.php at line 15
[/LIST]
Try reimportingI have just installed this ad-on but getting this error when I use the Import Data.
I cannot also see Badges on members profiles.
Code:XF\Db\Exception: MySQL statement prepare error [1146]: Table 'u335162859_forum.xf_cmtv_badges_badge_category' doesn't exist in src/XF/Db/AbstractStatement.php at line 230 [LIST=1] [*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207 [*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43 [*]XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61 [*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96 [*]XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152 [*]XF\Db\AbstractAdapter->fetchOne() in src/addons/OzzModz/Badges/Import/Importer/VersoBitBadges.php at line 136 [*]OzzModz\Badges\Import\Importer\VersoBitBadges->getStepEndCategories() in src/XF/Import/Runner.php at line 210 [*]XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 83 [*]XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 54 [*]XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247 [*]XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362 [*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264 [*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121 [*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63 [*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826 [*]XF\App->run() in src/XF.php at line 806 [*]XF::runApp() in admin.php at line 15 [/LIST]
.featuredBadges {
display: flex
;
flex-wrap: wrap;
grid-template-columns: repeat(auto-fit, 22px);
gap: 10px;
margin-top: 5px;
margin-bottom: 10px;
}
Yes! You can achieve that using the [TH] User Criteria Extended addonIs there any way to automatically award badges to users who have posted x amount of times in particular nodes?
EDIT: Please disregard - found it!!Yes! You can achieve that using the [TH] User Criteria Extended addon
EDIT: Please disregard - found it!!
I'm so sorry, but can you link this to me please? The one I found says it's been deleted![]()
Are you able to access the addon through the website? When I use the MORECRITERIA Coupon it doesn't work.User Criteria Extended XenForo 2 Add-on — ThemeHouse
Heavily extend the range of available user criteria.www.themehouse.com
Indeed, it's not working anymore. You can contact the Author.Are you able to access the addon through the website? When I use the MORECRITERIA Coupon it doesn't work.
Please complete all required fields.
Which page are you referring to?Has anyone increased the size of the badges in the Badges page? Need to know what you did.
We use essential cookies to make this site work, and optional cookies to enhance your experience.