MyBB Community Forums
[How To?] Disable or hide signature from first post/thread? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Disable or hide signature from first post/thread? (/thread-189142.html)



Disable or hide signature from first post/thread? - IdolwSzutrab7 - 02-18-2016

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.


RE: Disable or hide signature from first post/thread? - Boonie - 02-18-2016

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.


RE: Disable or hide signature from first post/thread? - IdolwSzutrab7 - 02-19-2016

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.


RE: Disable or hide signature from first post/thread? - Boonie - 02-20-2016

This should do it.
UPDATE mybb_settings SET value='-1' WHERE name='hidesignatures'