MyBB Community Forums

Full Version: Inline Thread Moderation and IE Javascript Problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Since upgrading to the latest version, I have encountered two problems. Bear in mind that I have already flushed my cache and cookies. I also deleted and reimplemented our custom styles.

1) Inline thread moderation has stopped working. When I select threads to moderate, the counter on the "go" button remains at zero. When I hit the "go" button, it indicates that I haven't selected any threads to moderate.

2) When using IE (in my case IE7), I get the following javascript error on every page:

"Use xmlhttprequest is undefined"

The offending culprit appears to be forumdisplay.php in the following code:

<!--
	if(use_xmlhttprequest == "1")
	{
		new inlineEditor("xmlhttp.php?action=edit_subject&my_post_key="+my_post_key, {className: "subject_editable", spinnerImage: "images/spinner.gif", lang_click_edit: "(Click and hold to edit)"});
	}
// -->

Help!
I'm quite sure this is just a browser problem. Can you try it in FF if you have access to it?? Also, are you sure you have JS turned on in tour browser??
I do not have JS turned off in IE. I can't inline moderate in any browser (I tried IE, FF, netscape, and chrome). However, I only get the JS error in IE.
Are you sure you've uploaded all the JS files??
(2009-01-21, 06:15 PM)MattR Wrote: [ -> ]Are you sure you've uploaded all the JS files??

Yes. I just double-checked to be sure.
Link to your forum and a test account with mod permissions (PM'd obviously), if that's ok??
Sure, sending it your way shortly...
Ok, a quick look at the source says that your headerinclude template is old, it's referring to the old JS files, not the new ones. It's trying to find this:

/forum/jscripts/general.js?ver=12122

And it should refer to the 1.4 version. To fix it, go to ACP > Templates & Style > Templates > **expand template set for theme** > Ungrouped Templates > headerinclude > Options > Revert.

This will revert it to the 1.4.4 default. You'll also need to go through and revert all templates that aren't default to make them 1.4 standard. I'll leave you to do this in case you have changes that you'd rather save before they are reverted.
That did the trick...thank you very much!
Big Grin No problem Smile
Pages: 1 2 3