Howdy, Stranger!

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

Try Vanilla Forums Cloud product

Sharing some tweaks to make work with 2.1

This discussion is related to the Post Count addon.
KezzBKezzB New
edited October 2012 in Feedback

Hiya,

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)

changed to:

public function DiscussionController_BeforeCommentDisplay_Handler(&$Sender)

And

$Comments = $Sender->Data('CommentData');

changed to:

$Comments = $Sender->Data('Comments');

And

public function PostController_CommentInfo_Handler(&$Sender)

changed to:

public function DiscussionController_DiscussionInfo_Handler(&$Sender)

Hope that helps!

Kezz

aeryUnderDogLeeHbadnewsblairandrewpo

Comments

Sign In or Register to comment.