Recent content by Jeremy P

  1. Jeremy P

    XF 2.3 Can't quote anything after 2.3.7 upgrade

    Is it possible you've accidentally entered plain-text mode? If so, you can click the [ ] icon at the top right of the editor to return to rich text mode.
  2. Jeremy P

    XF 2.2 Using the editor in my own template

    You'd want data-xf-init="quick-reply" on the <xf:form> element with an appropriate data-message-container attribute set to the selector for the element to append the messages to (see eg. the thread_view template). In your controller, you'll want to switch on the _xfWithData input to return a...
  3. Jeremy P

    XF 2.3 Admin navigation for plugin not displayed

    The add-on developer should create the widget definitions in the control panel (Development > Widget definitions) as necessary, ensuring they are associated with the add-on, prior to building the releases for you to install. The same with the admin navigation entries really.
  4. Jeremy P

    XF 2.3 Admin navigation for plugin not displayed

    Then the widget definitions aren't defined properly in the add-on build either. You should inquire with the add-on developer.
  5. Jeremy P

    XF 2.2 How to initialize a carousel in a popup?

    I can't reproduce this. Make sure you're including the setup macro: <xf:macro name="carousel_macros::setup" />
  6. Jeremy P

    XF 2.3 Admin navigation for plugin not displayed

    Admin navigation is not automatic, it will be included if it is defined and associated with the add-on prior to it being built.
  7. Jeremy P

    XF 2.2 Using the editor in my own template

    Sorry, I missed the 2.2 prefix. Class suffixes were added in many places in 2.3. For 2.2, just use the short-name: $input['message'] = $this->plugin('XF:Editor')->fromInput('message'); The editor only requires a column to store the BBCode, but you may also want embed_metadata if you plan to...
  8. Jeremy P

    XF 2.2 Using the editor in my own template

    You should use the editor controller plugin to capture editor input: $input['message'] = $this->plugin(\XF\ControllerPlugin\EditorPlugin::class)->fromInput('message');
  9. Jeremy P

    XF 2.3 Admin navigation for plugin not displayed

    You can enable development mode and check if the entries are present under Development > Naviation > Admin navigation.
  10. Jeremy P

    XF 2.2 Images on the site or forum

    As I pointed out in the other thread, that's simply untrue: https://xenforo.com/community/threads/image-indexing-and-seo.232046/post-1752274 You'd want to set up redirects for SEO when changing the URI of any resource, and, even if you did that, the attachments would still be served a bit...
  11. Jeremy P

    [Violation] 'setTimeout' handler took 87ms

    This isn't actionable as a bug report without many more details. Are you seeing this on every page? Is it when the page is loaded, or after taking some action? Unfortunately these warnings don't seem to include full stack traces, making them essentially impossible to track down without being...
  12. Jeremy P

    XF 2.2 Images on the site or forum

    Any files you upload to your server are served by your web server, which is almost certainly faster than attachments as those must go through XF/PHP. If you mean using the asset uploader in the control panel, those are also served directly by your web server so there will be no discernible...
  13. 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. The users are unified though, and that won't be changing.
  14. 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...
Back
Top Bottom