MyBB Hacks

Full Version: How to modify latest threads on portal?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all.

I modified the portal on both of my MyBB powered sites so that the Latest Threads block is in the center at the bottom. How do I make it so that the information flows across the entire block instead of sticking the left hand side? To be honest, I'd also like to show the latest posts there instead of latest threads, but I can't seem to figure out how to do that either.

Thanks,
Nathan
Edit your portal_latestthreads_thread template.
Here's the code from portal_latestthreads_thread:

Code:
<tr>
<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 />
<strong>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>


How do I modify it? I'm a newbie when it comes to PHP/HTML.

Try removing some <br /> tags from the template.
That worked.
Reference URL's