MyBB Community Forums

Full Version: Inline Moderation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi all.

I'm currently developing my communities forum board and I've hit a problem with the inline moderation.

When trying to move forum posts (or any mod tool) I get the following error:
[Image: GEWhn4P.png?1]

Furthermore, the counter on selected threads only goes up to 1 even if I have 3 selected.

I've looked at the other threads about this however I have none of the code in my "headerinclude" that they are discussing.

For reference, here is my headerinclude:

Quote:<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" />

<link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700' rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.4.0/animate.min.css"> 
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css' />


<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/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<script type="text/javascript" src="images/igame/bootstrap.min.js"></script>
<script src="https://use.fontawesome.com/d4e09fbff1.js"></script>
<script type="text/javascript" src="images/igame/jquery.tipsy.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js">
</script>
<script> new WOW().init(); </script>

<script type='text/javascript'> 
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>

<script type="text/javascript">
jQuery(document).ready(function() {
    var offset = 100;
    var duration = 250;
    jQuery(window).scroll(function() {
        if (jQuery(this).scrollTop() > offset) {
            jQuery(".topforum").fadeIn(duration);
        } else {
            jQuery(".topforum").fadeOut(duration);
        }
    });
    
    jQuery('.topforum').click(function(event) {
        event.preventDefault();
        jQuery('html, body').animate({scrollTop: 0}, 600);
        return false;
    })
});
</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>

Any help is appreciated as this is a vital part of my community.

Kind Regards,
James Adams - http://1royalirishregiment.co.uk/forums/index.php
Okay so trying that has managed to break my entire ACP...

Getting the 500 Internal Error

Would it be worth me reinstalling myBB?

Maybe even switch to something more noob friendly?
All the steps you need are in the sticky thread in this forum: https://community.mybb.com/thread-206896.html

If you're getting a 500 in the ACP, it will be unrelated to this.
Im only getting 500 error after making the changes
Where specifically? Just the templates section of the ACP? Check your server error log to see if it says why as there's no reason editing any template (this one or any others) should cause a 500 error.
Also tried the steps u sent - also didn't work

It is the whole ACP that gives the error.
Then it's nothing to do with the templates if it's the entire ACP - like I say, check your server errors logs as it should say what's actually caused the 500.
Okay so the issue seems to be that once I made the changes detailed in the link you sent, it has changed something that essentially "revokes" my access to the ACP.

I reinstalled the theme (iGame by iAndrew) and it works fine - it just seems to be when I make the edits detailed in that guide.
Well, I have no idea what you did, as changing a template doesn't run any code that affects your ACP permissions, but if it's all working now then that's good Smile
Pages: 1 2 3