2015-01-16, 07:15 PM
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
Struggling work fault find this one. Any help would be appreciated.
Thanks
Chris
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