MyBB Community Forums

Full Version: Collapse and Expand Not Working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I guessed so too and agreed with anori.
It is clear in source view that the old library is included just between the headerinclude and index template.

Is there any variable at the end of header or headerinclude which is representing the library link?
Site Notice (1.1)

I believe its caused by site notice...
What should I do now ? I tried to disable it and the expand and collapse is working now.
Then its the plugin at fault which is surprising considering the source of it.

Open the plugin file, and do a search for:

http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js

After that paste the lines around that here and then we can tell you what you have to remove from the plugin to not make it break your site.
I also cannot make use the collapse and expand feature. I have a lot of Plugins running and I have no idea which one could be the one that is causing the breaking. Could you help me if I post a list of my plugins and maybe you know which are maybe causing this ?

Any help is appreciated.

Wolfseye

P.S: Here is the code from the headerinclude template and then from the index template. If that helps maybe finding the issue.

HEADERINCLUDE
<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="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/dropdownmenu.js"></script>
<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>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css">
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<script type="text/javascript" src="highslide/highslide-gt.js"></script><link rel="shortcut icon" href="{$mybb->settings['simple_favicon_img_path']}" />{$stylesheets} <script src="http://code.jquery.com/jquery-latest.js"></script> {$avvisospiti}
<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>

INDEX
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-33409182-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
{$header}
{$iadh}
<center><a href="http://www.tunngle.net" target="_blank"><img src="http://www.mydomain.com/images/tunngle-logo.png" border="0"></a></center><br />{$myresult_tp}{$forums}<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="3" class="tfoot"><strong>{$mybb->settings['affdisplay_13']}</strong></td>
</tr>
<tr>
<td class="trow1"><center><a href="{$mybb->settings['affdisplay_1']}" target="_blank"><img src="{$mybb->settings['affdisplay_2']}"></a> <a href="{$mybb->settings['affdisplay_3']}" target="_blank"><img src="{$mybb->settings['affdisplay_4']}"> <a href="{$mybb->settings['affdisplay_5']}" target="_blank"><img src="{$mybb->settings['affdisplay_6']}"></a> <a href="{$mybb->settings['affdisplay_7']}" target="_blank"><img src="{$mybb->settings['affdisplay_8']}"></a> <a href="{$mybb->settings['affdisplay_9']}" target="_blank"><img src="{$mybb->settings['affdisplay_10']}"></a> <a href="{$mybb->settings['affdisplay_11']}"target="_blank" ><img src="{$mybb->settings['affdisplay_12']}"></a> </center></td>
</tr>
</table>{$myresult_btm}
{$iadf}
{$memberstatsshow}<br>{$mystatus_latest_statuses}  {$boardstats}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="3" class="tfoot"><strong>Forum Icons and what they mean:</strong></td>
</tr>
<tr>
<td class="trow1"><dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl></td></tr></table>

{$footer}
</body>
</html>
Pages: 1 2