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.

Overview of events.

edited April 2010 in Vanilla 2.0 - 2.8
According to http://vanillaforums.org/page/Plugins there are quite some events to hook on in Garden and Vanilla. I could browse trough every .php file to see what's where, but is there some overview of events available? Or some smart way to list the available ones in the running installation?

Comments

  • Oh, that's great. Maybe put this in the documentation?
  • edited April 2010
    Apparently plugins like Markdown and Magic use nonexistant events... I needed on too. I added the following.
    <?php $Sender->FireEvent('BeforeCommentBody'); ?>
    Before
    <div class="Body"><?php echo Format::To($Comment->Body, $Comment->Format); ?></div> <?php $Sender->FireEvent('AfterCommentBody'); ?> </li> <?php }

    This made the MarkDown plugin work, and my own.
  • (Sorry for triple posting)

    @S, that technique only lists available custom events, but not magic events I can hook into.
Sign In or Register to comment.