MyBB Community Forums

Full Version: Xthreads changed with upgrade Please Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So there is a fatal error somewhere in the code  this is a global page and I have not touched it except to get the code for the square theme that I can't configure to work with Xthreads

the page name is:
scf_forumdisplay_thread

Here is the code:
Quote:<table width="100%" border="0">
<tr>
<td align="center" valign="middle">
<a href="https://www.ebook-mecca.com/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl'] }</script></a>
</td>
</tr>
</table>
</td>
{$modbit}
</tr>
<tr>
<td class="tfoot" colspan="{$colspan}" align="center">
{$thread['views']} {$lang->views},
<a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} {$lang->replies},
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}, {$lastpostdate} {$lastposttime}
</td>
</tr>
</table>
<br />

the code is red and I can't find the error... I hope someone can help..
Thank you
<a href="https://www.ebook-mecca.com/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl'] }</script></a>

should be

<a href="https://www.ebook-mecca.com/{$GLOBALS['threadfields']['scfurl']}"><script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl']}"></script></a>

Seems like this could also be a problem.
Thank you fizz for the solution, yes it worked. I see the error now, and appreciate you showing me. Smile