Commons 2.0 activity streams

Hi

As soon as I heard about the release of the Beta version of Commons 2.0 I upgraded our version 1.7 to it and started playing around. Immediately noticed that for an ordinary authenitcated user (not a member of any of the default roles, e.g. content or community manager, etc.) the activity stream was not working, i.e. add a post and the user could not see it, although site admin could so it was being logged. It seemed to be a permission issue. We then did a completely fresh install of Commons 2.0 with everything, including permissions, completely out of the box with default settings - still same thing...

Any advice?

 

Comments

IceCreamYou

Hi Stephen, Shoot! It looks

Hi Stephen,

Shoot! It looks like we exported the activity stream permissions incorrectly. Try visiting admin/user/permissions and make sure that authenticated users have the "view all activity messages" permission provided by the "activity_log" module.

Best,

Isaac Sukin

stephend333

  Hi Isaac, Many thanks for

 

Hi Isaac,

Many thanks for your feedback, much appreciated :) Tried doing what you suggested and that seems to have solved the issue I mehtioned in my first post :)

Now have some other questions:

  1. It seems that with an activity stream within a group you can see all posts from all members who belong to the group and have posted which is at is should be. But this is not the case in the main activity stream accessed via the main menu tab. There I can olny see the posts I have posted but not someone else's. I'm sure this is not meant to be the case or is it? I'd have thought that would only be the case in my profile view as it is...

  2. The other thing is when you share a post from the activity stream, it does not pick up a link to the original post which does not make sense.

Many thanks for continued support. Best, Stephen

 

stephend333

Update after testing on beta 2

Just a note to say that I have tested the functions I already posted about after installing version 2 of Commons 2.0 Beta and my one issue has still not been addressed (at least in Chrome and Safari) but the main one has - yaaaayyyy :)

The only thing now not working is when you share a post from a stream it still does not reference the post. I also found 2 other issues:

  1. Spelling error when following someone - confirmation message in stream says: jblogg followered admin. It should be followed.
  2. When you try and share a link (a Youtube Video for instance) it now no longer shows the thumbnail image (it used to) and after attaching you cannot post as the only button available is the cancel button (which is missing text) - see screenshot below. Also, when it had worked before and you emded a video link, it did not allow for playing, it was merely a thumbnail image of the video - I assume this will come later?

kenedy

Hi IceCreamYou, I did what

Hi IceCreamYou,

I did what you say but still can't see any stream update. Neither as admin or as a normal user I can't see any stream update at all. When I submit the text I can see the AJAX effect next to the Share button and the in the lines bellow, but no text is shown. However, the number of lines is increased.

 

I tried this in RockMelt, Firefox 5.0, and IE 8.

 

Any help is appreciated.

 

mykarizma

This problem is not solved

This problem is not solved with version 2.5.
I also have problems everywhere as the test site with IE. especially sharing a link or a picture works with IE at all. Has anyone found a solution yet??

scottzak

Changed permissions, but no luck.

I'm experiencing the problem of no status refreshes as well. 

I upgraded from Commons 1.6 to 2.0 beta 2.  The first time I ran update.php, I saw this message.

"warning: Invalid argument supplied for foreach() in /var/www/html/profiles/drupal_commons/modules/contrib/activity_log/activity_log.module on line 286, which is in function _activity_log_rebuild_templates()."

There appears to be a rule in place (on "User saves a status" event) that triggers "Log activity" actions -- I'm seeing rows added to tables activity_log_messages, and activity_log_events, but the other activity log tables are empty. 

The AJAX wheel spins for a couple of moments, but the status just doesn't update on the screen.

Any suggestions on where to go from here?

Scott

 

ezra-g

For post-2.0 upgrade issues with status streams

Can you follow the instructions under "Note: If you don't see status stream updates after you upgrade to Commons 2.0, complete the following steps:" at http://network.acquia.com/documentation/commons/upgrade and let us know if that resovles the problem?

 

Thanks!

Ezra

scottzak

Seems to have done the trick!

I cleared the cache at admin/settings/activity_log/regenerate and received this message:

  • Finished building 44 default Activity Log templates.
  • Message caches cleared.

Then regenerated.  It took a little while:

  • 8 activity messages generated for the event User saves a status.
  • 65 activity messages generated for the event After saving new content.
  • etc.
  • Finished regenerating activity messages.

And now it's good!  Not sure how I missed that instruction, but thanks for the quick response!

Scott

ezra-g

You probably missed that

You probably missed that instruction because it was just added today :).

 

Thanks for letting us know it worked!

kenedy

It didn't work for me exactly

It didn't work for me exactly as it worked for you. Meaning that, when I have only one language set it works exactly as you say. When I have more than one language set, it only works if English is the DEFAULT language.

 

Kenedy

 

sylvaticus

same here...

I needed two days to understand this... the view displaying the activity stream works only if default language is English.

Streamed records are still there in the db as if I set back english as default language I can still see them.

 

As an other point (if anyone is interested) activity stream conflict with the WSOD module (not in the commond distribution any how).

 

sylvaticus

Some in-deeps on defualt language not being english

They are discussing the problem here... but too technical for me:

http://drupal.org/node/1261914

 

dwongu

Regenerates fine, still doesn't display

So, I have the correct permissions in place, and I've regenerated things - which appears to show the correct number of message, statuses, etc...

However - when I return to /stream - there are still no messages appearing.

Any ideas?

emasters

Why do we need to login to access Commons documentation?

I'm trying to sort out the lack of activity streams as described in this thread after a 1.7 upgrade to 2.0. And it seems that one of the "upgrades" that came with Commons 2.0 is the needto login to the Acquia Network in order to see the documentation, including the upgrade info refered to in this comment. I'll give Acquia the benefit of the doubt for now and assume locking up the docs to Commons was a mistake, but it is a mistake that should be corrected.

Thanks,
Elmer.

dwongu

Permissions set, still not displaying status updates

Hi Isaac,

I got all excited when I saw your response here, because I am having the exact same issue. I already did the regenerate of the stream with no effect, so I tried the permissions as you recommend.

When I regenerate - it shows the correct amount of status updates being processed, but when I return to the /stream - still nothing...

Any other ideas on how to get this working?

This is on a clean/default install of the package - no install errors or anything...???

Thanks!
- Steve

P.S. I hope you guys are hanging in there - it's always a lot more work *after* a release once everybody starts using it... ;^>

ianraf

adding the language Italian,

adding the language Italian, activity stream no longer works

kenedy

Problem was the second Language

After reading ianraf's post it occurred me that the site is setup for Brazilian Portuguese. After I enabled English as default language, all worked as expected.

 

toma

adding the language "french",

adding the language "french", activity stream no longer works, it work only for english, it seems to be a bug

 

toma

adding the language "french",

adding the language "french", activity stream no longer works, it work only for english, it seems to be a bug

 

Killian

Adding any other language and

Adding any other language and making it default will result in blank activity stream in Commons 2.0. How to fix this serious issue?

dwongu

How do you change languages?

I did a fresh "default" install, so I assume my site is in English, but my activity stream still doesn't work. So, now I'm wondering if maybe there is an additional language installed that I don't know about...

How do you change language settings? I've searched all through the Admin panels, but can't find a single reference....

Thanks!

Mark C

/streams is empty when not logged in

When a user is logged out and clicks on Stream in the primary links menu, the stream is blank. How can this be changed to show the global stream instead?

It's also being discussed here:

http://drupal.org/node/1255314

 

Thanks a lot,

Mark C.

onion

What I did was create a block

What I did was create a block view to roughly imitate the activity stream on user pages (which roughly fixed the issue).

But now just desperately trying to figure out how to remove the Activity Stream tab and have folks just go directly to the /user/x/about page. Anyone out there have clues to how to go about that?