2017-06-05, 11:07 PM
Thanks again ashley. That will make a great bandaid until/if I can find a plugin designed for this specifically.
You rock!
OK so I moved {$latestthreads} and placed it above {$announcements} in the portal template.
I then went ahead and edited the "portal_latestthreads_thread" template and changed formatting a little bit as following:
<tr>
<td class="{$altbg}">
<p style="text-align:left;">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$thread['fullsubject']}">{$thread['subject']}</a></strong>
<span style="float:right;">
{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a>      
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}      
{$lastpostdate}</span></p>
<strong>» </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>» </strong>{$lang->latest_threads_views} {$thread['views']}
</td>
</tr>
--------------------------------------------------------------------------
It actually does not look half bad after it's all hacked together. If there is anything you see in my code that can be improved at all, let me know. I might be making some rookie mistakes that I'm missing.
One last stupid question. Is it possible to increase the number of threads that the {$latestthreads} box shows?
You rock!
OK so I moved {$latestthreads} and placed it above {$announcements} in the portal template.
I then went ahead and edited the "portal_latestthreads_thread" template and changed formatting a little bit as following:
<tr>
<td class="{$altbg}">
<p style="text-align:left;">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$thread['fullsubject']}">{$thread['subject']}</a></strong>
<span style="float:right;">
{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a>      
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}      
{$lastpostdate}</span></p>
<strong>» </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>» </strong>{$lang->latest_threads_views} {$thread['views']}
</td>
</tr>
--------------------------------------------------------------------------
It actually does not look half bad after it's all hacked together. If there is anything you see in my code that can be improved at all, let me know. I might be making some rookie mistakes that I'm missing.
One last stupid question. Is it possible to increase the number of threads that the {$latestthreads} box shows?