When I use "Statuses block" with attached default view "statuses_stream" inside Organic group, the "Status Comment box" is not visible. Obviously this is happening when the filter "statuses: Use current context" is enabled in "statuses_stream" view. If I remove the filter, the comment box is showing up. So something is happening in context related to Organic group.

Same thing if I add "Statuses: Respond link" field to the "statuses_stream" view. It gives the
"Fatal error: Call to undefined function facebook_status_determine_context() in /var/www/sites/all/modules/statuses/includes/statuses.preprocess.inc on line 83"

I'm using latest Panels, Ctools, OG 7.1 dev.

Comments

p.act’s picture

Title: Comments are not visible in Organic group » Comments box is not visible in Organic group
icecreamyou’s picture

Status: Active » Fixed

I just committed a fix to dev for the fatal error. That may fix your problem. Also make sure you have permission to view the status update box (and you are a member of the group).

p.act’s picture

My mistake that I filed 2 separate issues.

1. "Statuses: Respond link" field in views is fixed. Thank you for you fix. It's working fine now.
2. "Status Comment box" is not fixed yet, and I was confused mixing up "Respond link" and "Status Comment box" as "comments".

My scenario:

Organic groups with Panels. I attached "Statuses block" with "statuses_stream" view. Since the view has the "current context" filter, it detecting the og_group context, displaying the statuses and the statuses box for the members. Manager and the members can post the statuses and that is working flawless. Except the comment box. It is not showing up with all status permissions check and even to "user1". Now even strange, if I remove "current context" filter from "statuses_stream" view, comment box is showing up. So something is still triggering the wrong event.

icecreamyou’s picture

Committed a change to dev that I think will fix this.

eidoscom’s picture

The fix is working!!

But there are another thing to fix... When you post a comment, ajax makes appear it in the correct place, but when you want to post a second comment ajax don't show the comment. If you reload the page, the post is there and again, you can post a first comment correctly with ajax but not the second :(

I think that this that I'm telling is not dependent on the OG, allways where I try to post a second comment, ajax doesn't work refreshing....

mathankumarc’s picture

@eidoscom
How many status update forms do you have in a page? If you have multiple status update forms in a single page, then this is a duplicate of FBSS comment ajax submission issues

Else open a separate issue for it.

icecreamyou’s picture

Yeah yesterday I committed a change that changed the way comments submit with AJAX -- it's still in progress, in the mean time a workaround is to disable AJAX commenting in the settings

p.act’s picture

@IceCreamYou

Thank you for the fix. It's working now. Great module.

Status: Fixed » Closed (fixed)

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