Outline help request for BOONEX

Hi Boonex, please can you take a moment to post guideline here for those of us who fiddle with your code ;-)

 

The need to add 3rd party modules to Outline is important feature for those of us who are using Outline as a main homepage block.

Outline is a major improvement for Dolphin, really changes interaction and flow on a site.

If I add a 3rd party module, its not automatically included in Outline which kinda 'breaks' it...

 

Please can you post a guideline for adding modules to Outline so we can keep using this feature as it should be used.

 

Would really appreciate this as Im sure many others also would!

Thanks  - Tim

Quote · 9 Nov 2012

Anyone?

Quote · 10 Nov 2012

To use Outline and Timeline features in your module you need to implement the following functions in your module:

function serviceGetWallData ()
function serviceGetWallPost($aEvent)
function serviceGetWallPostComment($aEvent)
function serviceGetWallPostOutline($aEvent)

 

And add the following code in install/uninstall (in your modules/VENDOR/MODULE/install/installer.php file) methods:

if($aResult['result'] && BxDolRequest::serviceExists('wall', 'update_handlers'))
    BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], true));

 

if(BxDolRequest::serviceExists('wall', 'update_handlers'))
    BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], false));


Please refer to the existing BoonEx module implementations for the live examples.

Rules → http://www.boonex.com/terms
Quote · 11 Nov 2012

I agree that any module that is a part of adding content to one's site should be included in outline/timeline as well as as the spy notifications.  I have a third party module that adds content but it is not added to the outline/timeline and spy notifications.  As a result, interaction on that content is almost nil.  I have a block on the front page that shows new content from the module but the outline is what grabs everyone's attention, or the notices they see in the timeline and spy.  Therefore, being able to add third party modules to those blocks is important.  AlexT has outlined how to implement the outline/timeline in a module one is creating but some help on how to do this with existing modules from those more knowledgeable about Dolphin would be appreciated.

Geeks, making the world a better place
Quote · 24 Aug 2013

I believe that the best way is to study examples in boonex modules.

Start with Spy integration, since it is easier, then Timeline and Outline.

I would suggest to look in Blogs and Ads modules for standalone integrations, or in Groups/Events classes if you are developing mod similar to them(from Twig* classes).

To add Spy integration, you need to implement the following functions in your module:

function serviceGetSpyData ()
function serviceGetSpyPost($aEvent)

 

Then add the following code in install/uninstall (in your modules/VENDOR/MODULE/install/installer.php file) methods:

if (BxDolRequest::serviceExists('spy', 'update_handlers'))
    BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], true));

and

if(BxDolRequest::serviceExists('spy', 'update_handlers'))
    BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], false));
Rules → http://www.boonex.com/terms
Quote · 25 Aug 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.