What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Gallery - Top Menu & Breadcrumbs On Mobile View

Discussion in 'XenGallery' started by Case, Dec 16, 2013.

  1. Case

    Case Authorized Member Authorized

    Hi

    When I view a thread on mobile view, the top menu isn't loading correctly and the breadcrumbs are also broken.

    You can see what I mean here:

    bug.jpg

    If I disable the Gallery Add-On then it loads correctly:

    disabled.jpg

    It only seems to happen when viewing a thread. Other pages such as view forum or forum index load correctly.

    Any ideas?

    Link to forum: http://www.thefightingcock.co.uk/forum/

    Thanks :)
     
  2. Case

    Case Authorized Member Authorized

    I think it's stopping some js from loading because I noticed that it's broken the edit post pop-up from working as well.
     
  3. sonnb

    sonnb Administrator Staff Member

    Are you using addon "Bb Codes & Buttons Manager"?
     
  4. Case

    Case Authorized Member Authorized

    Yes. Does it conflict?
     
  5. sonnb

    sonnb Administrator Staff Member

    Yes. I have posted on his thread about this issue. Because it override other buttons then XenGallery cannot inject buttons and JS will fail to locate it's buttons.

    I will update XenGallery to check this case and ignore show up until he made a fix.
     
  6. Case

    Case Authorized Member Authorized

    OK, thanks.
     
  7. sonnb

    sonnb Administrator Staff Member

    To temporary disable XenGallery's editor buttons, please go to: library\sonnb\XenGallery\Listener.php

    Comment out line 275:

    PHP:
    if (XenForo_Application::$versionId 1020000)
                    {
                        
    $template->addRequiredExternal('js''js/sonnb/XenGallery/gallery.editor.js');
                    }
     
  8. Case

    Case Authorized Member Authorized

    Thank you.

    I don't need those buttons on my forum anyway. Perhaps that could be an option?
     
  9. sonnb

    sonnb Administrator Staff Member

    Yes. I am thinking about that.
     
    Case likes this.

Share This Page