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?
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).
Comments
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).
Ho... have you seen any doc about the $Sender object?