We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Event Binding | Forum

Drake Moore
Drake Moore May 23 '14
Hello,


I need to bind listeners to the events triggered for user status update, comment posts and image uploads.  I have the comment posts working but cannot seem to get the other two.  The obvious event bindings I have found by reading through system code are:


        OW::getEventManager()->bind(EVENT_BOL_EventService::EVENT_ON_CHANGE_USER_STATUS, array($this, 'onChangeUserStatus'));        OW::getEventManager()->bind(PHOTO_CLASS_EventHandler::EVENT_PHOTO_ADD, array($this, 'onPhotoAdd'));


The methods I have specified do not get called when expected.  Do I have the wrong event handlers specified?  Can someone please tell me what the correct ones are?


Thank you...

Alia Team
Alia May 29 '14
Drake, have you tried using "feed.action" event?
Drake Moore
Drake Moore May 29 '14
Hi Alila,


thank you for the response!  I have found feed.after_status_update that works for the feed area.  Is there another event that listens to changes to the status under the user avatar?


Thanks...