HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Sharing some tweaks to make work with 2.1
This discussion is related to the Post Count addon.
I'm working with the 2.1 alpha at the moment and had to do some tweaks to get things working.
I thought I'd share so you don't have to figure them out when 2.1 comes out.
public function PostController_BeforeCommentRender_Handler(&$Sender)
public function DiscussionController_BeforeCommentDisplay_Handler(&$Sender)
$Comments = $Sender->Data('CommentData');
$Comments = $Sender->Data('Comments');
public function PostController_CommentInfo_Handler(&$Sender)
public function DiscussionController_DiscussionInfo_Handler(&$Sender)
Hope that helps!