Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Why isnt this latest thread code working?
Not Solved
Hi guys,

On my website I have a side bar with the purpose of showing latest threads.

The code below doesnt seem to be working and I cannot get my head around why, any help is much appreciated.

My forum - theonlinegamingzone.com

<script type="text/javascript">
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->

<div class="sidebar" style="float: right; width: 250px;">

	<script type="text/javascript">
		jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<td class="thead">
					<strong>Latest Activity</strong>
			<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
				<div class="latestthreads float_left"></div>
  	<div class="theadend"></div>

<div class="forums" style="float: left; width: 724px;">
<br class="clear" /><br />
Not Solved
I removed that code in the latest update of Square theme, because the current code take the threads and post from the portal and import them into the index, BUT, it runs all the queries from the portal and that's a innecesary amount of loading when you only need one query.

I recommend to you download the latest update, and install a plugin to show the latest threads.

P.d.: Also, seems like your site is having some problems loading jquery and more things.
I don't give support on PM.
Jump to the post that solved this thread.

Forum Jump:

Users browsing this thread: 1 Guest(s)