Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
how do i set a default Signature?
jeongwee
✭✭
1.how do i set a default signature with some words?
2. Also shows the default signature when the signature is empty?
3.how do i disble html code for the signature?
4.how do i enable html for some role(like admin or moderator)?
0
Comments
2.1b1 default theme anyone can help about this?
public function GetUserSignature($UserID, $Default = NULL) {
"GetUserSignature" sounds promising.
The parameters are $UserID and $Default. If parameter $Default is not given, it is NULL, i.e. no signature at all. First thing I'd try would be changing
$Default = NULL
to `$Default = T('This is your signature, use it as you like!').@R_J i think your version not same mine= _ =
its my file i down from github , change .txt to .php.
Change
to something like
There was an error rendering this rich post.
nothing changed
Ok, you need to give a little bit more effort than those small sentences. 'It does not work', 'nothing changed', 'I changed the core and now, how to I make a new theme', etc. etc.
What you can better do is : Hi, I have Vanilla version x.x.x, I installed plugin 'Signatures', I changed file : class.signatures.plugin.php according to these posts : ... ... and ... and now my default signature is still not showing. Here is the file I changed. I already cleared the cache/*.ini, please help
There was an error rendering this rich post.
That is becuase of
if (!is_null($Signature)) {....}
if you change it to
if(TRUE)
or removed the if statement altogether you would expect it to work.grep is your friend.