Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Signatures
NickE
New
Signatures
0
Comments
@stash: well it's possible, but it'd probably be more trouble than it's worth. the extension would have to have the permissions to write to theme/comments.php, and it'd also have to store its status somewhere as well (so it won't try to modify the theme file every time). ideally there'd be some sort of delegate at the end of the creation of the comment body.
function AddSignature(&$CommentGrid) { $Comment = $CommentGrid->DelegateParameters['Comment']; $Comment->CommentBody .= (defined('EXTENSION_IN_SIGNATURES') ? SignatureRender(@$Row['AuthUserPrefs']) : ''); } $Context->AddToDelegate('CommentGrid', 'PostCommentOptionsRender', 'AddSignature');
I suppose I should have said, ideally one of the delegate parameters would be the raw mysql results.
You can change some code in the quotation extension as instructed here Quotations # 9
Is there a reason why that "NoFunc" function is there? I removed it, and everything seems to be working just fine without it.
I removed this too, because it generated extra b tags. here is the related issue.
Web validation issue # 13
I have little to no css experience.
As for your links question, you want to find specifically WHICH child link (a, a:link, a:hover and so on) referencing which parent ID (or globally all of them) you wish to apply the color:#00f; or background:#222; There's only a little bit of math involved when mixing colors but you can do it in many ways. Decimal or Hexadecimal RGB values are quite common.
@herrgeist & tilesone: allowing for multiple line signatures in the rendering of them wouldn't be a problem, but the extension uses vanilla's built-in method for handling the input of the signatures, which, as far as I know, only allows for single-line inputs. If you feel up to it then by all means implement your own way of retrieving (multiline) input, but to be honest I don't really feel like it.