Going on the Activity Feed sample code here, I added the following into a Block:

<script language="javascript">
var conf = {
	APIKey:'API_KEY_REMOVED_FOR_OBVIOUS_REASONS'
}
var params = {   
    //General parameters   
    containerID: 'ActivityFeedDiv'  // The ID of the <DIV> in which the Plugin should be displayed.   
    ,width:'280'  //width in px   
    ,height:'300' //height in px   
    ,siteName:'Recent Community Activity' //site name   
    ,updateFreq:10   //update frequency in seconds   
    ,tabOrder:'everyone,friends,me' //comma separated list, e.g. "everyone,friends,me"   
    ,initialTab:'everyone' //string which tab would be initially active, "me"   
    ,borderColor:'Transparent'    //hex value, e.g. #ff0000   
    ,separatorColor:'Transparent' //hex value, e.g. #ff0000   
     //Inner Plugin configuration   
    ,enabledProviders:'facebook,myspace,twitter,google,yahoo' //comma separated list
    ,disabledProviders:'linkedin' //comma separated list
    ,loginUI:'default' //login Plugin used 'default' or 'custom'   
    ,loginUIConfig:'<config><body><captions background-color="#eeeeee" color="#000000"></captions><texts color="#000000"><links color="#cc3300"></links></texts><controls><snbuttons color="#000000"></snbuttons><scrollingarrow color="#BBE4FF"></scrollingarrow></controls><background frame-color="Transparent"></background></body></config>' //UI XML   
    ,friendSelectorUIConfig:'<config><body><texts color="#2B2B2B"></texts><background background-color="Transparent" frame-color="Transparent"></background></body></config>' //UI XML   
    ,invitationText:"Come chat with me" //invitation text   
    ,invitationURL:'http://DOMAIN_NAME_REMOVED/user/register' //link back URL in invitation   
    ,cid:'newsfeed' //context id to tag data   
};   
gigya.services.socialize.showFeedUI(conf,params);
</script>
<div id='ActivityFeedDiv'></div>

I got something that almost looks like it wants to work. The block is displayed and the buttons appear along with a vertical scrollbar (I set the height in CSS). The little loading graphic starts spinning... but it never seems to get any data. If I click on a button (everyone, friends, me), the string $ProgressTemplate appears.

I know that pasting the script directly into a Block isn't really a good idea, btw, but I was curious. It would really be better if the module provided its own block for this functionality.

Comments

dshumaker’s picture

Issue tags: +gigya activityfeed

Hi, I was able to get the activity feed block to show up as it's own page and then modified the page template to call and load the javascript. The sample publish buttons work but now I'm trying to get the triggers and actions to fire the GigyaUser -> publishUserAction function.

From the looks of it, http://drupal.org/files/issues/gigya-beta10-content-profile.patch , people have created a patch that does this:

$gigya_user->PublishUserAction($xml_params);

Which looks like what I want however I'm not sure about applying this patch because the 6.x-3.0 gigya module (the one I'm using) has a later date than the patch ( Jan 24, 2011 vs Jan 27, 2010)

Has anyone been able to see "internal" user events show up on their Activity feed?

Have you sucessfully applied the patch above? If so, how, when and where are you calling the publishUserAction member?

Many thanks! I appologize if this was not the right place for these questions. Sample page: (http://staging.glef.org/node/52601) u:dev p:dev1234

Gigya’s picture

Status: Active » Closed (won't fix)

Gigya's 6.x module is deprecated. We no longer support this version and we encourage upgrading to our latest module.