MyBB Community Forums

Full Version: Enabling signatures on threads by default
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I have a quick question.

I removed the html for the post options when creating a thread (the options to enable signature, etc.) from all the appropriate templates (quick reply, full reply, post thread).

Is there a way to by default enable your signature to show when posting or creating a thread? As is currently stands, my signatures are not appearing when I make a new post or thread. I have to manually go into my signature options and apply my signature to all of my posts.

For example, before I posted this thread there is a "post option" box. I want the Signature tab to be enabled by default to include all signatures.

Thanks!
Replace the post options box with the following
<input type="checkbox" style="display: none;" name="postoptions[signature]" value="1" checked="checked" />
inside the desired template.
(2015-07-29, 01:05 AM)KevinVR Wrote: [ -> ]Replace the post options box with the following
<input type="checkbox" style="display: none;" name="postoptions[signature]" value="1" checked="checked" />
inside the desired template.

Hi there! Thanks for the quick reply. Just for clarification, if I post this code into just thread creation, that means just the first thread post will have a signature. For all post to have signatures, I must input this code into quick reply, full reply, etc. templates for every post to have signatures, correct?

Thank you!
(2015-07-29, 01:43 AM)ecoo Wrote: [ -> ]Hi there! Thanks for the quick reply. Just for clarification, if I post this code into just thread creation, that means just the first thread post will have a signature. For all post to have signatures, I must input this code into quick reply, full reply, etc. templates for every post to have signatures, correct?

Thank you!

That's correct! No problem Wink 

One (small) sidenote though, a user could edit the HTML in his browser before sending the newthread/reply/.. form with another value for the signature field. This means they could still disable the signature if they want. In your case though, I do not think any users would have an advantage by doing that, so it should be fine.

Thanks for the +rep! Appreciated Smile