Activity Feed
So I noticed Vanilla had an activity feed and I was wondering if there was a way to "add" to that activity feed when someone does something on the main front area of my site such as play a game. I am working on integrating Vanilla with my arcade and hope to have a sort of social arcade thing going here soon.
0
Comments
However, here's what you want to do:
Register the activity type:
Gdn::SQL()->Replace('ActivityType',
When you want to add an activity call thearray('AllowComments' => '1',
'FullHeadline' => '%1$s created an account for %3$s.',
'ProfileHeadline' => '%1$s created an account for %3$s.'),
array('Name' => 'JoinCreated'), TRUE);
AddActivity()function. The ins and outs of formatting your activity name can be found inGdn_Format::Activity().