(Shortcut to re-created Cobalt 8 topic, for voting etc.)
Joomlapolis just released the new CB Activity plugin. Documentation or API info is not available, yet. But it should be extendable... Currently I have not many infos, sorry. Just wanted to let you know about this long awaited feature...
I hope you will consider it for your CB integration plans.
Product info page
Some infos from the developer:
"There are a couple ways you can add new entries. You can directly insert a new entry into the database as it's specifically designed to be generic. You can use the below method being used in the plugin file (requires CB API to be present and plugin loaded)."
$activity = new cbactivityActivity( $_CB_database );
$activity->set( 'user_id', (int) $user->get( 'id' ) );
$activity->set( 'type', 'profile' );
$activity->set( 'subtype', 'registration' );
$activity->set( 'title', 'has joined [sitename_linked]' );
$activity->set( 'icon', 'nameplate' );
$activity->set( 'date', cbactivityClass::getUTCDate() );
$activity->store();
"Below is similar to the above, but it uses data API to grab an object (empty or otherwise)."
$activity = cbactivityData::getActivity( array( 'id', '=', $id ), null, null, false );
$activity->set( 'user_id', (int) $user->get( 'id' ) );
$activity->set( 'type', 'profile' );
$activity->set( 'subtype', 'registration' );
$activity->set( 'title', 'has joined [sitename_linked]' );
$activity->set( 'icon', 'nameplate' );
$activity->set( 'date', cbactivityClass::getUTCDate() );
$activity->store();
"I recommend reviewing plugin.cbactivity.php to see various additions. There are over 400 icons powered by glyphicons.com/. You can download the free package to see what they all look like. The icon name you'd use is just the name of the icon (e.g. "nameplate")."
EDIT:
- Corrected link o Cobalt 8 topic.
(Shortcut to re-created Cobalt 8 topic, for voting etc.)
Joomlapolis just released the new CB Activity plugin. Documentation or API info is not available, yet. But it should be extendable... Currently I have not many infos, sorry. Just wanted to let you know about this long awaited feature...
I hope you will consider it for your CB integration plans.
Product info page
Some infos from the developer:
"There are a couple ways you can add new entries. You can directly insert a new entry into the database as it's specifically designed to be generic. You can use the below method being used in the plugin file (requires CB API to be present and plugin loaded)."
"Below is similar to the above, but it uses data API to grab an object (empty or otherwise)."
"I recommend reviewing plugin.cbactivity.php to see various additions. There are over 400 icons powered by glyphicons.com/. You can download the free package to see what they all look like. The icon name you'd use is just the name of the icon (e.g. "nameplate")."
EDIT: