2015-02-27, 08:56 AM
This modification will require users to agree that the believe this forum is the best section for their topic.
1. Go to the newthread template and find:
2. Replace it with this:
3. Insert this at the end right before </body>:
4. All done!
[attachment=33872]
[attachment=33873]
1. Go to the newthread template and find:
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
2. Replace it with this:
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /><input type="checkbox" class="input_control" value="subject" /><strong>I believe {$forum['name']} is the best section for this topic.</strong></td>
3. Insert this at the end right before </body>:
<script type="text/javascript">
$(document).ready(function () {
$('.input_control').change(function () {
$('input[name=' + this.value + ']')[0].disabled = !this.checked;
}).change();
});
</script>
<style type="text/css">
input.textbox:disabled {
background: #DDD;
}
</style>
4. All done!
[attachment=33872]
[attachment=33873]