MyBB Community Forums

Full Version: Adding Extra Moderation Option
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone please tell me what template edits are needed to add the Moderation Options at the top of the page?

You can see it here at the bottom
[Image: 01trhh.JPG]

I would like it also added here at the top above New Reply/New Thread
[Image: 02djhj.JPG]

This will be faster not having to always scroll down to the bottom all the time.

Thanks Smile
if you want to add both Inline moderation AND Moderation options then
you can add following code in showthread template below {$ratethread}

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

if you just want the Moderation options then add following code

<div class="float_right" style="text-align: right;">
<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;" id="moderator_options">
	<input type="hidden" name="modtype" value="thread" />
	<input type="hidden" name="tid" value="{$tid}" />
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<span class="smalltext">
	<strong>{$lang->moderation_options}</strong></span>
	<select name="action" onchange="$('moderator_options').submit();">
		<option value="delayedmoderation">{$lang->delayed_moderation}</option>
		<optgroup label="{$lang->standard_mod_tools}">
			<option value="threadnotes" selected="selected">{$lang->thread_notes}</option>
			<option value="openclosethread">{$lang->open_close_thread}</option>
			<option value="deletethread">{$lang->delete_thread}</option>
			{$adminpolloptions}
			<option value="deleteposts">{$lang->delete_posts}</option>
			<option value="move">{$lang->move_thread}</option>
			<option value="stick">{$lang->stick_unstick_thread}</option><option value="fix">{$lang->fix_first_post}</option>
			<option value="split">{$lang->split_thread}</option>
			<option value="merge">{$lang->merge_threads}</option>
			<option value="mergeposts">{$lang->merge_posts}</option>
			<option value="removeredirects">{$lang->remove_redirects}</option>
			<option value="removesubscriptions">{$lang->remove_subscriptions}</option>
			{$approveunapprovethread}
		</optgroup>
		{$customthreadtools}
	</select>
	{$gobutton}
</form>
</div>
<br />

That worked perfect, thanks a lot ranjani Smile

Giving you rep,

Cheers.