Recent content by Sim

  1. Sim

    XF 2.3 Validating data on certain events and it's performance implications

    SimpleCache is limited in the size of data that can be returned - so storing data for every user is very likely to cause issues. You might get away with storing data for only 40 people - but only if the data is small. It may be simpler overall to avoid the caching completely if it's only for...
  2. Sim

    What's New Digest

    What version of XenForo are you using?
  3. Sim

    XF 2.3 Validating data on certain events and it's performance implications

    Cron tasks are generally fine - they run asynchronously from any user interaction so won't impact on user experience Indeed if possible it is always better to use a cron task to do external API calls rather than doing it synchronously with user activity - so it sounds like you are on the right...
  4. Sim

    XF 2.3 Validating data on certain events and it's performance implications

    That's a really a "how long is a piece of string" type of question - there's no right or wrong answer. Not all queries are made equal either - some simple queries will be very quick to complete and are easily cacheable by the database engine. It's the complex queries that take time to complete...
  5. Sim

    IP Database handling

    Just in case it's useful, here is the query I run to identify all IP addresses used by a specific user or group of users: SELECT ip.user_id, user.username, ip.content_type, ip.content_id, ip.action, INET6_NTOA(ip.ip) AS ip_text, ip.log_date, CONVERT_TZ(FROM_UNIXTIME(log_date)...
  6. Sim

    What's New Digest

    Send yourself a test digest email using the updated test tool in Admin CP in the new version. Then look at the message source of the email you get sent - the unsubscribe header added by XenForo looks like the following: List-Unsubscribe...
  7. Sim

    What's New Digest

    I should also note that if your ESP modifies the unsubscribe headers like SparkPost does - then the unsubscribe won't work for What's New Digest emails. However, assuming you have implemented a system to capture the unsubscribe notification coming from your ESP and turn off "Receive news and...
  8. Sim

    What's New Digest

    Thanks for bringing this to my attention Stuart - there was indeed a bug with the unsubscribe handling - it broke due to a change in behaviour introduced in XF 2.3 that I didn't pick up. Partially because I use SparkPost which over-writes the unsubscribe headers created by XenForo with their own...
  9. Sim

    What's New Digest - v5.3.0 - Bugfixes and updated test tool

    bugfix: user preference field in AdminCP wasn't showing in XF 2.3 due to template modifications that no longer worked - this has been fixed bugfix: unsubscribe uses stopAllExcept by default in XF 2.3 - so we need to ensure we're stopping Whats New Digest if this is called instead of StopAll...
  10. Sim

    What's New Digest

    Sim updated What's New Digest with a new update entry: v5.3.0 - Bugfixes and updated test tool Read the rest of this update entry...
  11. Sim

    XF 2.3 Is there any way to automatically disable/stop sending an email to users with Hard Bounce status?

    I think the issue is that you can't really have it both ways. If you want the users to be able to fix their own accounts once their email addresses issues have been sorted, then they need to be able to manually initiate a new confirmation email. Given it's a manual operation, it is generally a...
  12. Sim

    Real names forum - what's your policy?

    I run a private members-only forum for an industry association where I insist that people use real names - but I also insist they use a work email address so it's usually pretty easy to verify. I can also check names against the membership list if required - which is fairly definitive. The...
  13. Sim

    What's New Digest

    I address this question in the FAQ.
  14. Sim

    XF 2.3 AI agents

    So now we know who to blame when Skynet destroys us all! 🤖
  15. Sim

    XF 2.3 Validating data on certain events and it's performance implications

    It depends on the specific event. Sometimes it's easier to use a Class extension to hook into an event - sometimes it's easier to use one of the pre-defined code event listeners. You need to trace through the code that causes the event and identify a good spot to hook into - usually around the...
Back
Top Bottom