Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 11

ChanuxGumCloudericgilletteluc +7 guests

Handler and Hook?!

I'm currently trying to make a plugin that work in the body of each post and comment but I don't seems to find the proper magic function to get this information and change it....

Can please someone help me!? is there any list of all the possibility?

Comments

  • SS
    Posts: 459
    find CallEventHandler() function in your library\core\class.pluginmanager.php file.
    Uncomment //echo "<div> $EventKey </div>";
    Or better change it to
    echo "<div style='display:inline;border:1px dotted black'> $EventKey </div>\n";
    Then go to discussion index or any duscussion , you will see plugin's function name that allow make hook in this place. But most of these will be "gdn_locale_beforetranslate_handler" and "base_beforetranslate_handler" (ignore them).
    image
  • lucluc
    Posts: 1,015
    @S: thanks, really interesting.
  • Posts: 13
    Ho great!!! thanks alors now let's build those plugin ;)

    Ho... have you seen any doc about the $Sender object?
Sign In or Register to comment.