Hello everyone
I've just installed MyBB version 1611 and I'm busy tweaking it.
The forum list page shows four headings, namely Forum, Threads, Posts, and Last Post. I would like to remove the display of "Last post" on the forum list page. Is that possible?
Thanks
Samuel
forumdisplay_threadlist template consists of code similar to below
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
forumdisplay_thread template consists of code like below
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
above codes can be removed or commented out (and column span may be adjusted if required) for your requirement
(2013-10-16, 04:41 AM).m. Wrote: [ -> ]... above codes can be removed or commented out (and column span may be adjusted if required) for your requirement.
Wow, thanks! One really gets to know a piece of software only once you get bit under the hood, don't you?
(2013-10-16, 04:41 AM).m. Wrote: [ -> ]forumdisplay_threadlist template consists of code similar to below...
I find "forumdisplay_threadlist" only in the file mybb_theme.xml, which is in the "install" subfolder, which I deleted after I installed MyBB. Does that mean that I have to reinstall MyBB to effect this change? Or is there a certain procedure that I must follow to update a template?
Thanks!
Samuel
Reinstall? Just change the code in them and save. Nothing more.
Then if changes hadn't taken effect (not likely to happen), you should press CTRL + F5 and/or SHIFT + F5 on the showthread.php page.
just a note: MyBB forum
templates and
themes should be modified through admin panel.
(2013-10-16, 07:34 PM).m. Wrote: [ -> ]MyBB forum templates and themes should be modified through admin panel.
Thanks for telling me :-) My first instinct was to think that I should modify files directly and upload the changed versions.