Force text only signatures in 1.5.6?

Hi! I've got Signatures installed and working on my board, but I can't figure out how to completely disable formatting (HTML/BBCode) in the newest version (1.5.6) from GitHub.
I found a solution in another thread for an older version of the plugin, but that piece of code doesn't seem to exist in the latest one.
Can anyone help me out here? Thanks in advance!
0
Comments
replace
revised.
I haven't tested it thoroughly. seems to work.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks, that worked.
On a related note, would you happen to know how to limit signature/char length in this version? I can make a new thread if you want, ofc.
also the above code is just changing display., but you could force an error on input if you want if they try to enter htlp or bbcode.
this is upon input, if a user has a signature existing more than 30 than you could truncate in display.
class.signatures.plugin.php
from
to
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
you could also change this
// the input aspect.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks again. You continue to be my favourite person on this board. /bow
I also found out it can be done via Signature.php, but it's probably a bad method compared to yours:
echo $this->Form->BodyBox('Body', array('maxlength'=>50,));
wow. thanks. Zhaan, You are also one of my favorite posters because
in other words, you show your appreciation, as well as trying to help the community.
actually yours looks better for setting input max length.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
You should stick to peregrines solution because of two reasons:
more eyes the better.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.