MyBB Community Forums

Full Version: Inline Thread Moderation Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Currently running version 1.8.5

Hello! I have just recently (as recent as this morning, actually) begun experiencing issues with the inline thread moderation option on my site. Whenever I try to perform an action on a thread/post/etc., the number ticker next to "GO" remains stuck at "0", and I receive the error: "Sorry, but you did not select any posts to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some posts and try again."

Since then, I have been trying everything I can to correct the issue. When I first noticed the problem, I was running version 1.8.4. I upgraded to 1.8.5 to see if that would fix it, but it did not. I deactivated all plugins and reverted the templates I had edited back to their original state to see if it was a conflict in coding, but this didn't fix the issue either. I have also attempted to add in the "jQuery.noConflict" code wherever I am using jQuery, but, so far, that hasn't worked. So I'm kind of at the end of my rope!

In the previous threads I saw about this same problem, most users were eventually asked for their "headerinclude" templates, so I'm going to go ahead and post it here and see if that helps. This is the code without my feeble attempts to enter in the noConflict code. I'm still pretty new to myBB so I've probably jacked something up horribly.

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
{$stylesheets}
<script type="text/javascript">
 lang.unknown_error = "{$lang->unknown_error}";

 lang.select2_match = "{$lang->select2_match}";
 lang.select2_matches = "{$lang->select2_matches}";
 lang.select2_nomatches = "{$lang->select2_nomatches}";
 lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
 lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
 lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
 lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
 lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
 lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
 lang.select2_loadmore = "{$lang->select2_loadmore}";
 lang.select2_searching = "{$lang->select2_searching}";

 var cookieDomain = "{$mybb->settings['cookiedomain']}";
 var cookiePath = "{$mybb->settings['cookiepath']}";
 var cookiePrefix = "{$mybb->settings['cookieprefix']}";
 var deleteevent_confirm = "{$lang->deleteevent_confirm}";
 var removeattach_confirm = "{$lang->removeattach_confirm}";
 var loading_text = '{$lang->ajax_loading}';
 var saving_changes = '{$lang->saving_changes}';
 var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
 var my_post_key = "{$mybb->post_code}";
 var rootpath = "{$mybb->settings['bburl']}";
 var imagepath = "{$theme['imgdir']}";
   var yes_confirm = "{$lang->yes}";
 var no_confirm = "{$lang->no}";
 var MyBBEditor = null;
 var spinner_image = "{$theme['imgdir']}/spinner.gif";
 var spinner = "<img src='" + spinner_image +"' alt='' />";
 var modal_zindex = 9999;
</script>

If you need anymore information or need temporary mod rights to fix this, please let me know! Thanks for taking the time to read through this.
can you send me a temp account?
what theme are you using.. is it compatible with 1.8.x... may i have your forum url and a test account, if your forum is not open to guests...
mmadhankumar, I sent you some account info just now. I'm using a theme I made myself that was working fine with 1.8 just until yesterday.

mikeorman, thank you for responding, but I would rather have one person at a time with a test account.
(2015-06-12, 11:29 PM)atlanta_jones Wrote: [ -> ]Currently running version 1.8.5

I have also attempted to add in the "jQuery.noConflict" code wherever I am using jQuery, but, so far, that hasn't worked. So I'm kind of at the end of my rope!

But now 2 jQuery scripts are missing in your headerinclude template:
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>

I don't know what this does to functioning of inline moderation.
The jquery.js needs to be loaded for sure because inline moderation uses jQuery. You also don't want to use the noConflict code in this case.
Thank you for pointing that out, I have added the two missing scripts back into the headerinclude template but the problem still persists. We had also tried reverting the headerinclude template entirely to it's original state, but that didn't fix it either.

edit to include: Incidentally, we have also noticed that the login modal no longer pops up- when you click "login", it takes you to a page instead of having the login form popup over the current page. Also, members can no longer post with < div > tags; it just shows up as a jumble of code instead of being formatted on all boards, although admins can post the same thing with those tags and everything formats correctly (view example here). These issues started occurring around the same time as the inline mod options stopped working. I'm not sure if they would be connected in any way or if each is their own stand-alone issue.
^ assuming that you have a legit forum, you may PM me temporary access to forum admin panel & files (FTP) to check
I just had a brief look at the forums and the templates and noticed that the options which involves jscript like rate, quote, edit, report buttons also not working... reverting the headerinclude to original didnt help... unfortunately I have to log off from PC and couldn't check further...

@OP disable all plugins and check if it helps.. also share the header template if possible... and forgot to ask, you have all the jscript files uploaded to the correct folders right??
basically the problem was due to including jQuery on header template
MyBB 1.8.x already uses jQuery and multiple loading should be avoided.
Pages: 1 2