The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Missing Quick Reply Toolbar in IE

    timberella
    timberella
    Forumember


    Female Posts : 111
    Reputation : 5
    Language : English

    Missing Quick Reply Toolbar in IE Empty Missing Quick Reply Toolbar in IE

    Post by timberella May 13th 2018, 8:30 am

    Some of our members who use Internet Explorer are reporting that the Quick Reply Toolbar "went missing" when I installed a Javascript Module to hide forum signatures.  This is the Javascript code that I have installed.

    Code:
    $(function(){

    /* --- CONFIGURATION --- */
    // Topic IDs where the signatures are hidden
    var topic_ids = [1, 2, 3];
    // Forum IDs where the signatures are hidden
    var forum_ids = [1, 2];
    // Category IDs where the signatures are hidden
    var cat_ids = [5];
    /* --- CONFIGURATION --- */

    var topic_match = window.location.pathname.match(/\/t(\d+)/); if (!topic_match) return;
     Â var current_topic = topic_match[1];
     Â var navbar = document.querySelector('.pathname-box');
     Â if (!current_topic || !navbar) return;
     Â var forum_selector = navbar.querySelectorAll('.nav');
     Â var current_forum = forum_selector[forum_selector.length - 1]; if (!current_forum) return;
     Â var forum_match = current_forum.href.match(/\/f(\d+)/); if (!forum_match) return;
     Â current_forum = forum_match[1]; if (!current_forum) return;
     Â if (topic_ids.includes(parseInt(current_topic)) || forum_ids.includes(parseInt(current_forum))) {
     Â   $('.signature_div').filter(function(){ this.style.display = "none" });
     Â }
     Â var cat_selector = navbar.querySelectorAll('.nav');
     Â var current_cat = cat_selector[cat_selector.length - 2]; if (!current_cat) return;
     Â var cat_match = current_cat.href.match(/\/c(\d+)/); if (!cat_match) return;
     Â current_cat = cat_match[1]; if (!current_cat) return;
     Â if (topic_ids.includes(parseInt(current_topic)) || cat_ids.includes(parseInt(current_cat))) {
     Â   $('.signature_div').filter(function(){ this.style.display = "none" });
     Â }
    });

    Our forum is phpbb3.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Missing Quick Reply Toolbar in IE Empty Re: Missing Quick Reply Toolbar in IE

    Post by SLGray May 13th 2018, 9:40 am

    PC's or mobile devices?



    Missing Quick Reply Toolbar in IE Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    timberella
    timberella
    Forumember


    Female Posts : 111
    Reputation : 5
    Language : English

    Missing Quick Reply Toolbar in IE Empty Re: Missing Quick Reply Toolbar in IE

    Post by timberella May 13th 2018, 10:20 am

    PCs.
    timberella
    timberella
    Forumember


    Female Posts : 111
    Reputation : 5
    Language : English

    Missing Quick Reply Toolbar in IE Empty Re: Missing Quick Reply Toolbar in IE

    Post by timberella May 19th 2018, 6:15 am

    Bump.
    SarkZKalie
    SarkZKalie
    Support Moderator
    Support Moderator


    Male Posts : 1443
    Reputation : 220
    Language : English

    Missing Quick Reply Toolbar in IE Empty Re: Missing Quick Reply Toolbar in IE

    Post by SarkZKalie May 19th 2018, 6:17 am

    Tell them to remove IE please. Choose Chrome, Opera or Microsoft Edge instead



    Missing Quick Reply Toolbar in IE Sarkzk10

      Current date/time is November 13th 2024, 4:28 pm