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.

Post Processing on Comments

edited April 2011 in Vanilla 2.0 - 2.8
So, I'm trying to figure out the best way to add some custom tags and such to the comments.

Initially, I want to build a DiceRoller plugin like the one that was available for Vanilla 1 but I'm having some issues figuring out which model/controller Event to capture with my custom class.

Ideally, players would be able to add some text in the comment:

[roll]3d6[/roll]

And, when they hit "Post Comment," my Plugin would be able to capture some Event so I can convert the [roll]3d6[/roll] into random numbers before the comment is saved.

Any thoughts on where to get started with this search?

Thanks!
John
Tagged:
Sign In or Register to comment.