MyBB Community Forums

Full Version: Inline moderation error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a forums on mybb version 1.8.12. Whenever I try to moderate a post it gives me this: Sorry, but you did not select any threads to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some threads and try again. 

I have tried a few methods to get it working but they all seem to be before 1.8.10 where the issue was fixed. Is it back?
what is your forum url & which theme you are using ?
http://truegaming.co.uk/forums/ & im not sure about the theme

Should I try a fresh install cos there are some traces of old settings of old plugins? And if i do what stuff do i need to save?
I am also having this issue after upgrading. Inline moderation gives me the same error message, and Enhanced Account Switcher is also not working properly, it logs the person out when trying to switch accounts. There are no errors and I'm not sure what to do.

http://impurefaith.com/forum is my board's url.

Please help if you can.
Same problem here: https://www.linguisten.de / Basic theme
**bump**
This may or may not solve your problem but it might so worth giving a shot.



- In your headerinclude template find the default javascript (script) that MyBB adds in below the {$stylesheets}.
- If you are confused it will look something like this:
<script type="text/javascript">
<!--
  JAVASCRIPT STUFF WILL BE IN HERE
// -->
</script>

- Replace that code with this code:
<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 cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
   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 that fixes your problems, fantastic! You were likely missing, var cookieSecureFlag (or any other needed piece).

Unfortunately if it does not fix your problem, the issue may be deeper and could be connected with other problems such as conflicting jQuery/javascript.
(2017-09-30, 10:10 PM)isoldehn Wrote: [ -> ]You were likely missing, var cookieSecureFlag (or any other needed piece).
Indeed. Thank you! Smile