Recent content by Jeremy P

  1. Jeremy P

    Not a bug Logging out a regular user on pub/App.php also logs out Admin CP user on admin/App.php

    Sessions are distinct from users. One user may have multiple sessions, public and admin sessions are stored in separate tables, and neither are stored in the user table. We don't have separate accounts for each though, and that won't be changing.
  2. Jeremy P

    XF does not loop through all possible folders inside '_output' on import/upgrade

    It’s not that they won’t be updated, it’s that the update could be attributed to the wrong version ID at the time they’re imported into the machine the add-on is built with, which only later impacts things like template customization tracking for admins. I think it’s far less likely to happen...
  3. Jeremy P

    Cannot reproduce Deleting a custom user filed does not update xf_user_field.custom_fields

    I can't reproduce this. Deleting it might not update the denormalized cache in xf_user, if that's what you meant, but that's roughly to be expected.
  4. Jeremy P

    Fixed Can't set username for xf:avatar

    I see, I got here from a related bug report where defaultname is likely more appropriate, but we can accommodate this :)
  5. Jeremy P

    Fixed Can't set username for xf:avatar

    The avatar function call it gets compiled into supports a defaultname attribute, unless I'm misunderstanding: <xf:avatar user="{{ null }}" size="xxs" defaultname="John Smith" />
  6. Jeremy P

    XF does not loop through all possible folders inside '_output' on import/upgrade

    It's possible to mangle the tracked version of templates and phrases, especially when working with many parallel branches spanning multiple release cycles. Granted this can be mitigated somewhat if you can build linearly from a blessed installation which tracks the canonical versions in the...
  7. Jeremy P

    XF 2.2 Image Indexing and SEO

    You've posted the URL, Google has no issue crawling or indexing them if it's deemed worthy. Google (and browsers in general) use the Content-Type header and other context clues to determine the resource type, regardless of the file extension in the URL itself (or lack thereof). In the same way...
  8. Jeremy P

    IP Database handling

    Right, but this option is for the xf_content_activity_log table, which does not store IPs: The records in xf_session_activity are pruned via cron every hour.
  9. Jeremy P

    Browser issue Slow logout on Chrome on XF.com

    This will actually be related to us re-enabling the Clear-Site-Data: cache header for logouts: https://xenforo.com/community/threads/logout-bug-when-guest-caching-is-enabled.200977/#post-1746197 We had it briefly a while back but it caused hangs for quite a while...
  10. Jeremy P

    XF 2.3 Online Indicator - change color?

    You should use the Less mixin to change the icon: .message-avatar-online::before { .m-faIcon(@fa-var-solid-circle); }
  11. Jeremy P

    IP Database handling

    The xf_ip table is the central place. The option you noted will prune the records after a period of time. The activity log option is for something else (it logs activity to power trending content) which does not contain IP records. The other records are removed by the logging option values, or...
  12. Jeremy P

    Not planned login as login_form.

    https://xenforo.com/community/threads/customizing-login-page-need-help.231920/post-1752147
  13. Jeremy P

    XF 2.3 Customizing Login Page. Need Help.

    You can do this somewhat trivially through edits to the login template alone, no add-on or code is required. We actually achieve this for the admin page by overriding the page container template: <xf:page option="template">LOGIN_CONTAINER</xf:page> You can create a custom LOGIN_CONTAINER...
  14. Jeremy P

    Not a bug Logging out a regular user on pub/App.php also logs out Admin CP user on admin/App.php

    The public and admin sessions are entirely separate architecturally, but we clear most cookies when logging out of the public app, including the admin session cookie. We do this because otherwise many people will inadvertantly leave their admin session active, so it's more of a deliberate...
  15. Jeremy P

    Fixed Visiting a bare /payment_callback.php?_xfProvider=stripe causes an internal server error

    This has already been addressed for the next release among the other Stripe issues.
Back
Top Bottom