MyBB Community Forums

Full Version: Latest Threads not showing in sidebar anymore
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Really stuck on this one.

I have a sidebar on flyffallstarsforum.com showing latest threads. It's stopped working for some reason.

My index template is correct as I've checked by using the default theme template and this did not fix the problem.

Looking at the code I think it pulls data using jquery from portal.php

<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>
</head>
<body id="forums">
{$header}{$showad3}
<div class="side" style="float: right; width: 23%">
  
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong></strong></div> 
</td>
</tr>
<tr>
<td class="trow1">
<center><SCRIPT language="Javascript">
var cpmstar_rnd=Math.round(Math.random()*999999);
var cpmstar_pid=59144;
document.writeln("<SCR"+"IPT language='Javascript' src='//server.cpmstar.com/view.aspx?poolid="+cpmstar_pid+"&script=1&rnd="+cpmstar_rnd+"'></SCR"+"IPT>");
  </SCRIPT></center>
</td>
</tr>
</table>
  
  <br />  
 
  <script type="text/javascript">
	jQuery(function(){
		jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
	});
	</script>
  
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Latest activity</strong></div> 
</td>
</tr>
<tr>
<td class="trow1">
				<div class="latestthreads float_left"></div>
		</td>
</tr>
</table>
  
  <br />
  
  
  
  
  
  
</div>
<div class="forum" style="float: left; width: 76%;">{$forums}</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>


Struggling work fault find this one. Any help would be appreciated.

Thanks

Chris
Try it and change the board url in ACP » Board Settings » Site Details to "http://www.flyffallstarsforum.com" .
Hahahahaha, I knew it. Fixed all my canonicals yesterday and forgot to update the main forum settings. Duhhhhh!!

Thanks for spotting my "silly" mistake. Been staring at the screen for 3 hours looking for a major fault.