Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [Installing] How to disable "Last post" view on forum list page
#1
Not Solved
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
#2
Not Solved
forumdisplay_threadlist template consists of code similar to below
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;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
#3
Not Solved
(10-16-2013, 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?

(10-16-2013, 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
#4
Not Solved
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.
#5
Not Solved
just a note: MyBB forum templates and themes should be modified through admin panel.
#6
Not Solved
(10-16-2013, 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.


Forum Jump:


Users browsing this thread: 1 Guest(s)