Recent content by Sim

  1. Sim

    Known Bots

    Ahh yes - I missed that when I released 6.1.1, can confirm that is an XF 2.3 only class. I suggest you downgrade to KnownBots 6.1.0 - that should be compatible with XF 2.2 When I get a chance, I'll revisit compatibility and decide whether I want to release an updated XF 2.2 compatible version.
  2. Sim

    Known Bots

    I think there's something else going on there. What version of XF are you running? What version of the addon are you running?
  3. Sim

    Unit testing XenForo addons - tutorial

    The mocking system that I've already built was based on the test framework that ships with Laravel. https://laravel.com/docs/12.x/testing There's a lot of similarities in the way that XenForo and Laravel work - particularly around the service container. Laravel has database seeding and model...
  4. Sim

    Unit testing XenForo addons - tutorial

    Given one of the key aspects of running tests is to not cause side-effects so that we can reliably repeat the tests and know we'll get the same result - we need to be able to destroy our XenForo instance and re-create it automatically after each test. There are other approaches such as rolling...
  5. Sim

    XF 2.3 Error importing SQL dump from Cloud: Duplicate entry for primary key

    Are you importing into a Windows based MySQL server by any chance? I ran into this error when creating a local dev copy of my production server - prod is running on Linux, local dev on Windows. The cause was an issue translating binary fields between platforms (doesn't happen on Linux <->...
  6. Sim

    How are you monetizing your forum?

    Country - it's an Australian based site. No - but then, I've never really chased any either. I've had one or two enquiries over the years, but nothing ever came of it. The global audience makes it difficult because most direct advertisers are looking for local engagement (rather than brand...
  7. Sim

    How are you monetizing your forum?

    What works best will very much depend on your niche. My property investing based site generates six-figure revenue from advertising (both direct and programmatic) and from "business" memberships. My zoo community generates only about 10% of that amount from programmatic advertising and premium...
  8. Sim

    What's New Digest

    Test mode only affects the emails that get sent out and has nothing to do with the built-in unsubscribe mechanism - which is what the digest emails hook into when users unsubscribe. If they are unsubscribing from genuine digest emails - then it should work - if it doesn't, there's an issue...
  9. Sim

    Cron Jobs

    That's not what they're looking for. They are talking about unix cron tasks - which can be used to trigger the XenForo Cron tasks more efficiently.
  10. Sim

    What's New Digest

    Receive Email Digest option changes to None when a user unsubscribes. Unsubscribing from digest emails doesn't affect "Receive news and update emails" settings unless they choose to unsubscribe from all emails. Regarding the bug report - the only user who will receive test emails is the admin...
  11. Sim

    XF 2.3 Handling long jobs

    Anything long running should be implemented as a CLI script. $maxRunTime is set to 8 seconds by default - so use that as a guide - anything that could take longer and can't be broken up into multiple short steps - should not be run via the job system.
  12. Sim

    Try out the XenForo 2.3.8 Preview!

    I see what you did there! :cool:
  13. Sim

    XF 2.1 MySQL 8 Upgrade

    I've been running MySQL 8 for years now on both my XF 2.x forums and my XF 1.5 forums!
  14. Sim

    Looking for a logging plugin

    That basically already exists in the xf_ip table - you've got login actions (including cookie logins) and the date and IP address. It doesn't include device details though.
  15. Sim

    What's New Digest

    That's a bad idea on a live site - setting enableMail = false does not just stop emails from being delivered until you re-enable it - it stops them from being queued at all. So any mails that are sent while enableMail is disabled, just disappear and won't ever be sent. You can either disable...
Back
Top Bottom