Editing icons on posts - Printable Version +- PG-HQ Forums (https://www.pg-hq.com/comms) +-- Forum: Panzer Grenadier (https://www.pg-hq.com/comms/forumdisplay.php?fid=3) +--- Forum: PG-HQ Q&A (https://www.pg-hq.com/comms/forumdisplay.php?fid=8) +--- Thread: Editing icons on posts (/showthread.php?tid=380) |
Editing icons on posts - campsawyer - 11-19-2012 Shad, it seems the icons right above do not work for me. If I click on Bold, i get undefined tags. Any idea? I have tried with both Firefox and Chrome with the same results. I have dropped IE, unless I am force, as there are too many other issues with it. RE: Editing icons on posts - Shad - 11-19-2012 This works for me in Chrome/Firefox two different ways: 1. I first click the B and it drops in one Code: [b] Code: [CLOSE TAGS] Code: [/b] 2. I first type a word, then highlight it and click the B to make it become surrounded by the Code: [b][/b] What exactly do you mean by undefined tags? And are you using any javascript blocking plug-ins? RE: Editing icons on posts - campsawyer - 11-19-2012 [attachment=259] Pictures worth 000's of words. When I click Bold, I get these tags at the bottom. Also my close tags does not work as well. No javascript blocking here, I need it for work. RE: Editing icons on posts - Shad - 11-19-2012 1. Is this a new problem? or has it always been this way? 2. do the other formatting buttons work and only bold is undefined? The only change I've made lately is adding the TableGenerator. It may be causing some compatibility bugs and depending on your answer to those two questions I might disable it and we can test again. RE: Editing icons on posts - campsawyer - 11-19-2012 (11-19-2012, 08:52 AM)Shad Wrote: 1. Is this a new problem? or has it always been this way? 1. Recent problem, within last two weeks or so. 2. No none of the formatting buttons work. I am not sure either, nothing new on my end either. RE: Editing icons on posts - Shad - 11-19-2012 Ok, I've deactivated the TableGenerator. Open a New Reply screen in this thread, do a few force refreshes (Ctrl+F5) to make sure your browser cache is cleared out, and then try to use the formatting bar... RE: Editing icons on posts - campsawyer - 11-19-2012 (11-19-2012, 11:01 AM)Shad Wrote: Ok, I've deactivated the TableGenerator. Nope, it not your code. Still have a problem. I just checked IE and that works, but Firefox and Chrome don't. Go figure. RE: Editing icons on posts - Shad - 11-19-2012 That's really strange, because I use Chrome and FF exclusively and have no problems at all. I'm on version 23.0.1271.64 m right now. I'm still thinking this must be a security-related javascript issue. If the underlying PHP code was bad you wouldn't get some people ok/some people broken, it'd just all be broken. Using Firebug to look at the scripts called, there are quite a few. But I suspect that jscripts/post.js is the one that's not working properly. It seems to be called by a relative path rather than full source link. That still wouldn't explain why it used to work and now doesn't, though. Looking at the code therein that's definitely what is throwing out 'undefined' code tags. I'll convert that to a hard source and see what happens, but it'll have to wait until later today. Please check back in tomorrow and let me know. RE: Editing icons on posts - campsawyer - 11-19-2012 (11-19-2012, 11:29 AM)Shad Wrote: That's really strange, because I use Chrome and FF exclusively and have no problems at all. No problem, this is a low priority. I would rather you work to get Saipan ready for the scenarios. RE: Editing icons on posts - Shad - 11-20-2012 Ok, this should be working again. You might need to force-refresh once or twice to clear your javascript cache. This bug has a stupid/interesting backstory: myBB, our forum software, wrote their editor.js script not quite to the spec. However, if you know anything about browsers, you know that they are almost never up to the spec either. Well... everything was ok until June when Webkit tightened up their javascript parser ever so slightly. This engine change first went to Opera, who update aggressively. And so Opera users of myBB forums have been dealing with this bug for 5 months... but that's like 5 guys in total because no one uses Opera () so the bug went unfixed in the myBB codebase. HOWEVER, around the beginning of November Firefox finally updated their version of Webkit to use the new parser as well, and now the editor script is being rejected by all Firefox users... of which there are many times more than Opera. So suddenly myBB's devs had to get off their fat asses and release a patch fixing the sloppy code, which I have just applied. Long story short - write your code to the fucking spec and none of this would have ever happened, lazy devs! Let me know it's working for you and I'll stamp this thread resolved. |