Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Sidebar latest thread w/out plugin help
#1
Not Solved Exclamation 
I've been trying to add sidebars to my forum without a plugin. So far I've added the divider and everything except i can't seem to grab the latest threads. The link is http://therlest.com/forum/ . It shows the divider but not latest threads.

This is my sidebar code in the index: (not full index code just sidebar code)
{$header}
<div class="sidebar" style="float: right; width: 17%;">

<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">
Latest Threads
</td>
</tr>
<tr>
<td class="trow3" style="{$collapsed['ths_e']}" id="ths_e">

<div class="latestthreads float_left">
</div>

</td>
</tr>
</table>

</div>


<div class="forums" style="float: left; width: 83%;">
{$forums}
</div>
{$boardstats}


This is my portal_latestthreads_thread
<tr class="latestthreads_portal">
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<span class="smalltext"><br>
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br>
{$lastpostdate} {$lastposttime}<br>
</span>
</td>
</tr>
Reply


Messages In This Thread
Sidebar latest thread w/out plugin help - by beastlyryan - 11-29-2015, 11:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)