MyBB Community Forums

Full Version: Inline moderation not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey Guys, 

I have read multiple threads and i believe there is a jQuery conflict happening here...
I receive the following error when trying to action any thread: 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.

below is my headerinclude file and screenshot of what is happening:
MyBB 1.8.10
<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=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script type="text/javascript" src="images/tg/js/tg.js"></script>
<script type="text/javascript" src="images/tg/js/lb.js"></script>
{$stylesheets}

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/tg/font/fa.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/tg/js/lb.css">
<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>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-37266543-1', 'auto');
  ga('send', 'pageview');

</script>{$stylesheets}{$myprofile_headerinclude}<script type="text/javascript" src="{$mybb->asset_url}/jscripts/like_system.min.js"></script>

[Image: f8df5468e9854421abacd09821d3d5a7.jpeg]

Any information / assistance with this would be great, 

Thanks,
Whij
Of a quick scan I can see that {$stylesheets} is loaded twice.
(2017-01-18, 10:57 PM)Ben Wrote: [ -> ]Of a quick scan I can see that {$stylesheets} is loaded twice.

Thanks for the response, 
I have deleted the last line but now when i delete a post for example it just shows my background,
is there anything additional i need to add for jQuery to work? 

Thanks
Can you PM me your forum URL?
I just wanted to report I'm having this issue too.
(2017-01-18, 11:07 PM)thunderclap Wrote: [ -> ]I just wanted to report I'm having this issue too.

You should ensure you are using 1.8.10. If you are, feel free to open your own thread.
Thanks for the help however im still getting this error,
Here is my code after the change just incase im being stupid: < Highly likely Toungue

http://pastebin.com/kBeZiVVr
(2017-01-18, 11:23 PM)Whij Wrote: [ -> ]Thanks for the help however im still getting this error,
Here is my code after the change just incase im being stupid: < Highly likely Toungue

http://pastebin.com/kBeZiVVr

Since you are using a custom theme it would be best that you asked for support from the theme coder since they made it!
(2017-01-18, 11:09 PM)Ben Wrote: [ -> ]
(2017-01-18, 11:07 PM)thunderclap Wrote: [ -> ]I just wanted to report I'm having this issue too.

You should ensure you are using 1.8.10. If you are, feel free to open your own thread.

I am using 1.8.10 but had a custom theme that needed tweaking. However, I'm still having a minor issue and will create my own thread. Thank you.
Pages: 1 2