MyBB Community Forums

Full Version: Disable or hide signature from first post/thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It is possible to disable or hide (I prefer disable)  signature for each first post / thread ?
You know the first post / thread is very important and I and my users think that there shouldn't be signature. Not every user remeber to disable it when make new thread.
Edit the "newthread" template.


To hide it, Replace this:
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
With
<label class="hidden"><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7" /> {$lang->options_sig}</label>

Or to remove it completely, delete:
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>

Then remove the <br /> in the "newthread_disablesmilies" template.
Perfect!
I didn't know that newthread have own template. Easy to edit now.

By the way it is possible to turn off signature in all threads (only) from MySQL?
I don't know very well MySQL. I think it is possible but I don't know what command should send to MySQL.
This should do it.
UPDATE mybb_settings SET value='-1' WHERE name='hidesignatures'