Recent content by Sim

  1. 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.
  2. Sim

    Try out the XenForo 2.3.8 Preview!

    I see what you did there! :cool:
  3. 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!
  4. 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.
  5. 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...
  6. Sim

    Country registration check [Deleted]

    You don't need to download it externally - my addon handles that for you. I don't see why being on Cloud would prevent you from using it?
  7. Sim

    Country registration check [Deleted]

    My Geoblock Registration addon does this too. https://xenforo.com/community/resources/geoblock-registration.7516/
  8. Sim

    XF 2.3 Error about jobs cron

    Activity based triggers don't work as well when the forum has low traffic - because it relies on forum activity to trigger the jobs. Are you able to set up cron tasks for your server? Server based trigger is much more reliable - especially for newer forums.
  9. Sim

    XF 2.3 Error about jobs cron

    Is this an active forum with actual users? Or something you're using for testing?
  10. Sim

    XF 2.3 Error about jobs cron

    What are you using for "Job run trigger"? Activity based or Server based trigger?
  11. Sim

    Contact moderators global option?

    Create a "contact the mods" or similar forum where all registered users have the ability to post new threads, but explicitly disable "View threads by others" permissions - and of course, give mods can see and respond to all posts. This will let users message mods and any mod can respond - but...
  12. Sim

    Fastest XenForo site I've seen, how are they so fast?

    Simplest (but not necessarily the cheapest) thing you can do to improve performance is to ensure you have sufficient RAM available to keep the entire database in memory via InnoDB caching via innodb_buffer_pool_size and innodb_buffer_pool_instances in your MySQL settings. Obviously if you have...
  13. Sim

    Can I require app ONLY for 2FA?

    From what I can tell, there is no UI to disable Email 2FA - but if you look at the database table xf_tfa_provider - you'll see that there is a database field to indicate whether TFA providers are active. I don't know what the implications of disabling the XF:Email provider is for other parts of...
  14. Sim

    XF 2.2 Returning a json response as view

    I've not done this specifically myself, but you could try setting the response type to "raw" and then use a View class with the renderRaw() function to set the response type to json and output the json at that point? I use this method to return zip files or xml files generated by my addon. So...
  15. Sim

    Banner Advert Generator

    This tool is for helping you refine your layout only - it is not for creating or managing adverts, just their placement. Once you're ready to display actual adverts in production, you should disable this addon and use whatever mechanism you'd normally use for displaying adverts
Back
Top Bottom