Missing Quick Reply Toolbar in IE
3 posters
Page 1 of 1
Missing Quick Reply Toolbar in IE
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.
Our forum is phpbb3.
- 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.
Re: Missing Quick Reply Toolbar in IE
PC's or mobile devices?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Missing Quick Reply Toolbar in IE
Tell them to remove IE please. Choose Chrome, Opera or Microsoft Edge instead
Similar topics
» Problems with Quick-Reply (Missing Options)
» Quick Reply for Guests is missing smiley button
» add a form on reply and quick reply
» smilies code for quick reply in reply
» Quick Reply and Reply Not Showing Correctly
» Quick Reply for Guests is missing smiley button
» add a form on reply and quick reply
» smilies code for quick reply in reply
» Quick Reply and Reply Not Showing Correctly
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum