MyBB Community Forums

Full Version: Inline moderation issues still.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Inline moderation is not working for me even after following the tips in this thread: https://community.mybb.com/thread-206896.html. I am also now having an issue with MyAlerts not displaying- after clicking on the alerts link nothing loads, there's just a spinning spinner.

Here is my header include:

<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/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1809"></script>



<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myadvertisements.js"></script>
{$stylesheets}
<!-- start: Full PM --><script>
    var fullpm_language = {
        title: '{$lang->fullpm_title}',
        text: '{$lang->fullpm_text}',
        close: '{$lang->fullpm_close}'
    };
    var showmsg = '{$showmsg}';
    </script><script type="text/javascript" src="{$mybb->asset_url}/jscripts/fullpm.js"></script><!-- end: Full PM -->

<!-- Site optimized with MySEO 1.0 -->
<meta name="keywords" content="{$mybb->settings['palabrasClave']}"/>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
<meta content="{$mybb->settings['bingYahoo_ver']}" name="msvalidate.01"/>
<meta name="google-site-verification" content="{$mybb->settings['google_ver']}" />
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{$mybb->settings['sitioTwitter']}">
<link rel="publisher" href="{$mybb->settings['pagina_Google']}"/>
<meta property="article:publisher" content="{$mybb->settings['pagina_Facebook']}" />
<meta name="alexaVerifyID" content="{$mybb->settings['alexa_ver']}"/>
<meta name="p:domain_verify" content="{$mybb->settings['perfil_pinterest']}"/>
<!-- Site optimized with MySEO 1.0 -->




<!-- Site optimized with MySEO 1.0 -->
<meta name="keywords" content="{$mybb->settings['palabrasClave']}"/>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
<meta content="{$mybb->settings['bingYahoo_ver']}" name="msvalidate.01"/>
<meta name="google-site-verification" content="{$mybb->settings['google_ver']}" />
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{$mybb->settings['sitioTwitter']}">
<link rel="publisher" href="{$mybb->settings['pagina_Google']}"/>
<meta property="article:publisher" content="{$mybb->settings['pagina_Facebook']}" />
<meta name="alexaVerifyID" content="{$mybb->settings['alexa_ver']}"/>
<meta name="p:domain_verify" content="{$mybb->settings['perfil_pinterest']}"/>
<!-- Site optimized with MySEO 1.0 -->






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

function dismissANN(id)
{
	if(!$("Ann_"+id))
	{
		return false;
	}
	
	if(use_xmlhttprequest != 1)
	{
		return true;
	}

	new Ajax.Request("index.php?action=ann_dismiss", {method: "post", postBody: "ajax=1&my_post_key="+my_post_key+"&id="+id});
	Element.remove("Ann_"+id);
	return false;
}
	var spinner_image = "{$theme['imgdir']}/spinner.gif";
	var spinner = "<img src='" + spinner_image +"' alt='' />";
// -->
</script>

{$myalerts_js}
{$myalerts_js}{$stylesheets}{$myalerts_js}{$stylesheets}{$stylesheets}{$myalerts_js}{$myalerts_js}{$myalerts_js}
Bumping this up.
A few js issues there, everything in the header include should only be loaded once.
{$myalerts_js}
{$myalerts_js}{$stylesheets}{$myalerts_js}{$stylesheets}{$stylesheets}{$myalerts_js}{$myalerts_js}{$myalerts_js}

This isn't going to be helping, change this to just:

{$myalerts_js}{$stylesheets}
I removed the double MySEO instance and changed the MyAlerts line, then cleared my cookies, but inline moderation isn't working still.
What's your URL?
(2017-03-05, 06:19 PM)Matt Wrote: [ -> ]What's your URL?

It is http://forum.languavel.net/index.php.
You've applied the change to general.js incorrectly. You have this:

options = {
	expires: expire,
	path: cookiePath,
	domain: cookieDomain
};secure: cookieSecureFlag == true,

It should be this:

options = {
	expires: expire,
	path: cookiePath,
	domain: cookieDomain,
	secure: cookieSecureFlag == true
};

If you upgrade to 1.8.10, you'll have the full version of the file.
(2017-03-11, 01:11 PM)Matt Wrote: [ -> ]You've applied the change to general.js incorrectly. You have this:

options = {
 expires: expire,
 path: cookiePath,
 domain: cookieDomain
};secure: cookieSecureFlag == true,

It should be this:

options = {
 expires: expire,
 path: cookiePath,
 domain: cookieDomain,
 secure: cookieSecureFlag == true
};

If you upgrade to 1.8.10, you'll have the full version of the file.


I made that change:[Image: dffcf156c94240a38bdb1d86738da373.png] but still no luck.
Bumping this up. I've replaced with the 1.8.10 version too.