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.
Smilies Extension
3stripe
✭✭
Hmmm or is this just overkill. Just thought I'd put the thought out there.
0
This discussion has been closed.
Comments
That said I just remembered the old which is possibly the slickest smilie ever, don't think it could be beaten
i tried writing this extension already, but im just not a proficient coder enough to do such a task.
I suppose you could write an extension that extends the StringManipulator class and then replaces the StringManipulator object reference in the Context with itself. That's assuming I understand things correctly about how vanilla works
Now if only I could figure out how to call a parent class's functions in php, I'd have this extension 50% done already (thanks to mark's new documentation on extensions!! )
I've just altered the bbcode extension to allow for the use of smilies too.
Download and let me know if you have any questions.
=
=
=
=
=
:P =
$Context->StringManipulator->AddManipulator("BBCode", $BBCodeFormatter);
to:
$Context->StringManipulator->AddManipulator("Text with Smilies", $BBCodeFormatter);
Then go ahead and re-enable the extension. This will simply give your users 2 options; text, and text with smilies. But it won't take the bbcode capability away.