Hi,
Ever since an update several days ago, the user activity block shows a comment form with large text areas and a submit button repeating for each comment. This surely wasn't the intent of that update? Is it a bug? I'm surprised no one else has mentioned it because it has completely broken our sites and we've had to remove the module. Thanks in advance if there is an easy fix.
Thanks,
Christian

Comments

sirkitree’s picture

Status: Active » Closed (duplicate)
ionchannels’s picture

Thanks, but when I apply that patch it does not alter the block display. The comment fields are still uncollapsed. I tried to create my own block with views, but the activity module doesn't seem to integrate with views. Is there an easy CSS class I could apply to achieve the desired effect? Thanks, Christian

sirkitree’s picture

You've set the correct permissions (i.e. to not be able to see the comments) and they still show up? hrm.

Try the themeing change mentioned here then: http://drupal.org/node/355022#comment-1319330

ionchannels’s picture

No, I want to be able to allow comments, I just don't want the activity list to have the comment form and submit button always visible in the block. The activity page shows a nice summary of each activity and one can "click to show" the comment form. I want this behavior emulated in the block view. I can see the proper CSS classes being given with the HTML, I don't know why the Comment form is not being autohid in the block view. Any ideas?

sirkitree’s picture

it seems that the css file is not being loaded for the block.

can you check to make sure that the activity.css file is loaded on the page that you are seeing this malfunction?

sirkitree’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)
ionchannels’s picture

Interesting, that's right, activity.css is loaded for the activity page, but not on pages where the block is shown. Is there any way to add this manually? Is that a bug with the block?
Thanks in advance,
Christian

ionchannels’s picture

I fixed it by adding in the CSS from modules/activity/activity.css into the default css for my theme, but it is just a hack. Is there a way to fix this properly? Thanks, Christian

jaydub’s picture

please try out the latest 6.1 -dev snapshots. See if it addresses your issue with the comments form showing by default rather than being hidden.

Note that permissions have been added for viewing and creating comments on activity records so make sure you set permissions as desired for your roles.

ionchannels’s picture

Thanks, that did the trick!

sirkitree’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.