MyBB Community Forums

Full Version: How to set "move/copy thread to 1 day"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to make "move/copy thread" option to leave a redirect link for 1 day, and prevent moderators from changing that option.
I mean if they choice to move thread they won't be able to input anything!
Go to Admin CP > Templates & Style > Templates > Your Template Set > Moderation Templates > moderation_move

Find:

<td class="trow2">
<label><input type="radio" class="radio" name="method" value="move" />{$lang->method_move}</label><br />
<label><input type="radio" class="radio" name="method" value="redirect" checked="checked" />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="redirect_expire" size="3" /> {$lang->redirect_expire_note}<br />
<label><input type="radio" class="radio" name="method" value="copy" />{$lang->method_copy}</label><br />
</td>

Replace with:

<td class="trow2">
<label><input type="radio" class="radio" name="method" value="move" disabled="disabled" />{$lang->method_move}</label><br />
<label><input type="radio" class="radio" name="method" value="redirect" checked="checked" />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="redirect_expire" size="3" value="1" disabled="disabled" /> {$lang->redirect_expire_note}<br />
<label><input type="radio" class="radio" name="method" value="copy" disabled="disabled" />{$lang->method_copy}</label><br />
</td>

That will disable all inputs. If you wanted to, you could actually remove the other two inputs. You could even remove the whole "Method" row.
Very Dear Fábio Maia thank you very much for your help