Hello,

I'm working on a website for the FOSS 2010 workshop (next week!). The website uses OG to support multiple working groups. The organizers have just specified that they would like all working group posting to be visible to all participants (i.e. authenticated users) but not to anonymous users. I was very happy to find your module last night!

However I am experiencing a problem. If a participant views a workshop (group) page for which they are not a member all is fine, but if they visit a workshop page for which they are a member, all postings are duplicated.

For each of these posts, the groups setting are shown in an attached image. I have the audience set to the group corresponding to the workshop, public is not checked, and visibility is granted for authenticated users.

Also attached is a view of the same group page from 1) an authenticated non-group member and 2) an authenticated group member.

This is urgent for me as the workshop begins Feb 10th (http://foss2010.isr.uci.edu). I will start combing sources to see if I can find or fix the problem, but any insights/patches would be greatly appreciated.

Thanks,

-- Kari

CommentFileSizeAuthor
#1 nonmember.jpg564.54 KBkari.nies
member.jpg568.73 KBkari.nies
nonmember.jpg570.36 KBkari.nies
group-settings.jpg111.66 KBkari.nies

Comments

kari.nies’s picture

StatusFileSize
new564.54 KB

My apologies, the above image for a non-member view is incorrect. The correct image is attached below. -- Kari

marcp’s picture

Please try the core patch in #284392: db_rewrite_sql causing issues with DISTINCT. It might seem scary to patch core, but this fix has been committed after a lot of hard work and discussion, and it will be in the next 6.x release of core Drupal.

I'm pretty sure this will solve your problem. Please report back here either way.

kari.nies’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

Found a fix for this problem. Go to the admin pages and edit the OG home page view, called og_ghp_ron, under '/admin/build/views'. Under the 'Basic Settings' box for the view, click the link alongside 'Distinct' and set the Distinct checkbox.