Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

[DEFUNCT] Inline Moderation/Multi-Quote Issues (After 02/10/2017)
   (0 reviews)

isoldehn
  • After an update on Icyboards (I believe around 02/10/2017), it seems that a few of Icyboard hosted forums are having some issues with inline moderation (as well as a few other things such as multiquote).

     

    There is a possible quick fix/solution to this issue and I would like to address it here, have no fear this will almost certainly fix your issues, especially if they just started happening out of the blue and you haven't touched anything in the coding.

    Software: MyBB

Inline Moderation/Multi-Quote Issues (After 02/10/2017)

After an update on Icyboards (I believe around 02/10/2017), it seems that a few of Icyboard hosted forums are having some issues with inline moderation (as well as a few other things such as multiquote).

 

Spork kindly addressed that updated templates can only be updated on the default templates and any templates you have created for your own skin/theme will likely not be auto updated (if I can find the thread I will quote him here, but I can't seem to find it right now). That means that your personally created templates will likely have not updated and could be causing these issues.

 

First things first:

- 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>

 

Now:

- 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 = "{$mybb->settings['cookiesecureflag']}";

 

Unfortunately if that does not fix your problem, please make a support thread in the Icyboards forums, something far more complicated may be causing your issues.

 

--

 

As a kind reminder, if these issues are stemming from your own personal javascript/jquery, it is likely a conflict (your javascript/jquery is conflicting with MyBB's). Sometimes it is fixable (such as loading jquery codes before loading the rest), sometimes it requires completely new code. This guide will not help you fix those issues.


Sign in to follow this  


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.