MyBB Community Forums
[How To?] Enabling signatures on threads by default - 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?] Enabling signatures on threads by default (/thread-173683.html)



Enabling signatures on threads by default - ecoo - 2015-07-29

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!


RE: Enabling signatures on threads by default - KevinVR - 2015-07-29

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.


RE: Enabling signatures on threads by default - ecoo - 2015-07-29

(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!


RE: Enabling signatures on threads by default - KevinVR - 2015-07-29

(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