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.
Options

Display 'x' characters of text beneath discussion title?

13»

Comments

  • Options
    check this
    http://vanillaforums.org/addon/540/discussionexcerpt2

    I need hep from someone more experienced with vanilla hooks

    I am using DiscussionsController_AfterDiscussionTitle_Handler() in my plugin to add text
    but when I am on category listing, this is not fired
    any ideas?
  • Options
    This is great! Thanks! I'm getting an error when I try to edit the plugin settings:

    Fatal error: Call to undefined function T() in /WWW/publicradio/pijsand01/Garden/plugins/DiscussionExcerpt2/views/discussionexcerpt2.php on line 5
  • Options
    vizionaviziona New
    edited April 2010
    this is because I am using the very latest vanilla2 version

    try updating vanilla and check then
  • Options
    It's not firing because that view file is being included from a different class. you've defined your hook as DiscussionsController_Afte... so it's only gonna get called if discussions.php is handling the request. Adding in something like
    public function CategoriesController_AfterDiscussionTitle_Handler(&$Sender) {
    $this->DiscussionsController_AfterDiscussionTitle_Handler($Sender);
    }
    would fix it.
  • Options
    Thanks - I updated to the latest files on Git and it works!
  • Options
    @NickE - thanks for fix and explanation - all clear now
  • Options
    plugin updated to work with stable vanilla
Sign In or Register to comment.