Recent content by Jeremy P

  1. Jeremy P

    XF 2.3 Update quick_filter by link

    It's a little more fanfare, but canonically XF encapsulates pretty much all JS in "handler" objects in separate JS files. There are two main types of handlers, element handlers (initialized immediately via data-xf-init attributes) and event handlers (initialized when an event is fired via...
  2. Jeremy P

    XF 2.3 Update quick_filter by link

    You'd need regular development mode enabled as well. It should load unminified JS and present an unminified stack trace. Maybe, if you use <xf:js> instead of <script> then that kind of stuff should be handled automatically.
  3. Jeremy P

    XF 2.3 Update quick_filter by link

    I just meant that the filter input is on the same page as the link. Not sure what would cause that error but it's potentially unrelated. If you can grab a stack trace with $config['development']['fullJs'] = true; enabled it might help track it down.
  4. Jeremy P

    XF 2.3 Update quick_filter by link

    It looks like it only listens to keyup/keydown/paste. You might try using the XF event methods to trigger a paste instead: XF.trigger(input, 'paste');
  5. Jeremy P

    XF 2.3 Update quick_filter by link

    Are the links on the same page as the filter? If so, you could set the input value via JS. Otherwise you could use a click handler to update the filter local storage item on click to populate your value as the "saved" filter.
  6. Jeremy P

    RM 2.3 Resource titles prepending 'Resource' to them in widgets?

    FWIW this is something we've addressed automatically for the future in XF 2.4: https://xenforo.com/community/threads/featured-content-improvements.229454/#-cleaner-widget-view
  7. Jeremy P

    XF 2.3 Convert search index to InnoDB on shared hosting

    Not automatically, no. You could potentially truncate the table and change the engine to InnoDB via something like phpMyAdmin, and then rebuild the search index via the XF control panel. After the search index is rebuilt, you need to add the following to src/config.php: $config['searchInnoDb']...
  8. Jeremy P

    XF 2.3 Pressing Add template modification button resulted an Oops error.

    I did glance over the original add-on and it seemed fine, but indeed it does check some additional things.
  9. Jeremy P

    XF 2.3 Pressing Add template modification button resulted an Oops error.

    I would try setting it in config.php instead. If that works, it's a bug or limitation of the add-on. If it doesn't, I have no idea why as that's the only permission check aside from having admin style permissions.
  10. Jeremy P

    XF 2.3 How can I put the Post Thread button here?

    In the core, it happens when the title is displayed, but you have this in your extra.less: [data-template="whats_new"] .p-title-value { display: none; } You can probably use visibility: hidden; instead, but otherwise I don't know of the top of my head so it's a matter of brute forcing the...
  11. Jeremy P

    XF 2.3 How can I put the Post Thread button here?

    I see, we typically expect a heading of some sort, which I know you changed per the other thread ;) Since you're using it as your index, you might want one of these... To keep the title as your board title but "What's new" as a heading: <xf:h1>{{ phrase('whats_new') }}</xf:h1> To keep both the...
  12. Jeremy P

    XF 2.3 How can I put the Post Thread button here?

    The whats_new template, I'd put it after </xf:wrap> but it doesn't super matter. Just as a tip, you can find the template corresponding to most pages via the data-template attribute on the <html> tag.
  13. Jeremy P

    XF 2.3 How can I put the Post Thread button here?

    <xf:pageaction> <xf:if is="$xf.visitor.canCreateThread() OR $xf.visitor.canCreateThreadPreReg()"> <xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true" rel="nofollow"> {{ phrase('post_thread...') }} </xf:button>...
  14. Jeremy P

    Not planned Update copyright year

    The copyright displayed out of the box pertains to the software itself. In the control panel you can check out Appearance > Language, and select a language to edit. There will be a tab for "Commonly edited phrases" with a field for "Extra footer copyright" to add your own site copyright:
  15. Jeremy P

    Issue: XenForo Media Gallery videos not indexed as VideoObjects by Google

    Just wanted to add I'm leaving this open to investigate if we can improve support for embedded media eventually, but it's non-trivial as we don't currently track whether a media site is for images, audio, or video.
Back
Top Bottom