[OzzModz] Badges

[OzzModz] Badges 2.3.6

No permission to download
php cmd.php xf-rebuild:ozzmodz-badges-user-badge


still only updates badges using this command.
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:

1733514722490.webp
 
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

Hi

Everything was working 100% until we migrated to 2.3. As per your add-on suggestion;

1733515201178.webp

I will review to see if theres any badge configuration errors since upgrading.
 
I am getting this error I have just added this add-on today.

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'u335162859_forum.xf_bdmedal_category' doesn't exist in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
  6. XF\Db\AbstractAdapter->fetchOne() in src/addons/OzzModz/Badges/Import/Importer/BdMedals.php at line 140
  7. OzzModz\Badges\Import\Importer\BdMedals->getStepEndCategories() in src/XF/Import/Runner.php at line 210
  8. XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 83
  9. XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 54
  10. XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247
  11. XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  16. XF\App->run() in src/XF.php at line 806
  17. XF::runApp() in admin.php at line 15
 
@Painbaker
Just checking this and other addons over before updating, I notice there's a template modification that needs to be updated for newer versions of Xenforo where they've changed references from "conversations" to "direct messages", including in phrase titles.
Specifically in the newer versions of XenForo your template modification "ozzmodz_badges_helper_account_award" needs that "receive_email_when_new_conversation_message_is_received" reference updated to "receive_email_when_new_direct_message_is_received".
 
Ah thank you!

Can i ask, what does enabling this option do:

Manage own featured badges
Let's them display badges outside of badge order. Say you have 10 badges — 10, 20, 30, 40, 50 ... — but only want them to display 5. If they can't manage them, badges with display order 10-50 (5 badges) will display. If they can manage featured badges, they will still have a maximum of 5, but choose to show 10, 30, 60, 80, 100 (in the postbit and above profile—all badges are still seen in the Badges tab of the profile regardless).
 
Back
Top Bottom