[XB] Badges

[XB] Badges 2.3.7

No permission to download
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

1740134178533.webp
1740134281707.webp
1740134316781.webp

still doesn't work, only manually via cmd.php.

1740134451609.webp

EDIT:

Resolved this by simply adding a time to "real time badge update interval". Which I've set to 300.
 
Last edited:
Hey guys Ive downloaded the addon, Im trying to get a badge that Ive created to show on manual approval for approved threads in the thread title, how do I go about that?
 
I 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]
 
I 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]
Try reimporting
 
How can I increase the number of Badges displayed on my profile?
I would like to display 8 badges instead of just 4.
 
Hello,

I just wanted to say that this add-on you made is really nice!

There was a small display issue one of the members of my forum noticed that I wanted to share with you in case you wanted to make the adjustment.

On profile pages, the badges were really close to the join date text. After looking into it, the fix I came up with was to add a "margin-bottom" set to 10px to extra.less.

Here's the exact code along with the adjustment I made in case you want to know more.
Code:
.featuredBadges {
    display: flex
;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, 22px);
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

Thank you for developing this!
 
Removing badges does not work very well. If you type in a name and click Exact Match you should not have to fill out all the other fields.
Code:
Please complete all required fields.
 
When rebuilding user badges, this error occurs:

LogicException: Please provide source_language_id in src/addons/OzzModz/Badges/Job/MasterPhrasesMerge.php at line 18
 
Has anyone increased the size of the badges in the Badges page? Need to know what you did.
 
Back
Top Bottom