MyBB Community Forums

Full Version: Removing Discussion Text
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I get the portal page to display discussion listings without the text of the discussion, only the title and information (like the author and date)?
Thanks.
You can edit the portal_announcement template. Removing:
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		{$avatar}
		<td class="trow1">
			<p>
				{$message}
			</p>
			{$post['attachments']}
		</td>
	</tr>
	<tr>
		<td align="right" colspan="2" valign="bottom">
			<span class="smalltext">
				<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/printable.gif" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>&nbsp;<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
			</span>
		</td>
	</tr>
</table>
</td>
</tr>
or similar code should do what you want.
Maybe I am missing something super obvious, but I cannot find a portal_announcement page anywhere. I did find the mybb_theme at cache/install/resources/mybb_theme.xml on my server but editing that seems to do nothing. Does this edit have to be done before uploading to the server?
Thanks. Obviously I was trying to manually dig through pages to edit them. A lot to learn about this software, but loving it so far.