MyBB Community Forums

Full Version: Expand/collapse and Moderation inline broken
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Thank you so much Big Grin I really really appreciate it

I still can't seem to fix the expand/collapse and the inline moderation though Sad
This is because the jQuery is conflicting with your prototype. That is what the no conflict is for.

Here is what the jQuery site tells us:

http://api.jquery.com/jQuery.noConflict/

So, put the jQuery link (you can use google) UNDER the prototype and so on from MyBB (in the header include) then put the no conflict code in.

Post your headerinclude template if you do not quite get it Smile
<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->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type='text/javascript'> jQuery.noConflict(); </script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script type="text/javascript">
<!--
	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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

I did as you said and it's still not working =( I even put the jquery code and no conflict code in different spots.
Try this:

<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" />
 {$stylesheets}
 <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
 <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
 <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
 <script type="text/javascript"> $.noConflict(); </script>
 <script type="text/javascript">
 <!--
     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 imagepath = "{$theme['imgdir']}";
 // -->
 </script>
 {$newpmmsg}
no it didn't work either D=

just tried changing some permissions aswell and those wouldn't work. Could it maybe be my java that's busted?

We replaced the jscripts in the ftp, reset all the templates back to their originals but nothing fixed it. I've set up a new support topic here: http://community.mybb.com/thread-133972.html if anyone can help me with that.
Pages: 1 2