MyBB Community Forums

Full Version: Remove trash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I'm wondering how i can remove some of this trash. I think they make it look messy.

[Image: afreszi2.png]
AdminCP > Configuration > Server and Optimization Options
Set "Enable Forum Jump Menu?" to no.

Edit the Afresh templates in the AdminCP.

Forum Display Templates > forumdisplay_threadlist

Find and remove:
	<tr>
		<td class="tfoot" align="right" colspan="{$colspan}">
			<form action="forumdisplay.php" method="get">
				<input type="hidden" name="fid" value="{$fid}" />
				<select name="sortby">
					<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
					<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
					<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
					<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
					{$ratingsort}
					<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
					<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
				</select>
				<select name="order">
					<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
					<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
				</select>
				<select name="datecut">
					<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
					<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
					<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
					<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
					<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
					<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
					<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
					<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
					<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
				</select>
				{$gobutton}
			</form>
		</td>
	</tr>

Find:
<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>

Replace with:
<div class="float_right" style="text-align: right;">
	{$inlinemod}
</div>

The debug information is only displayed to admins but if you really want to get rid of it..

Footer Templates > footer

Find and remove:

<div id="debug"><debugstuff></div>
Thank you so much. No thanks button?
Actually ACP > Configuration > Server and Optimization Options > Advanced Stats / Debug information > No is the preferred way of removing that information.

(2008-10-11, 10:17 PM)alex1095 Wrote: [ -> ]No thanks button?

Haven't you noticed there aren't any features here that aren't standard MyBB??
(2008-10-11, 10:39 PM)Matt_ Wrote: [ -> ]Actually ACP > Configuration > Server and Optimization Options > Advanced Stats / Debug information > No is the preferred way of removing that information.

Cool. I never noticed that option.
(2008-10-11, 10:43 PM)monacelli Wrote: [ -> ]
(2008-10-11, 10:39 PM)Matt_ Wrote: [ -> ]Actually ACP > Configuration > Server and Optimization Options > Advanced Stats / Debug information > No is the preferred way of removing that information.

Cool. I never noticed that option.

I hadn't either until it was pointed out to me - then it can be added again easily if needed, without having to get the code again.