Is it possible to make User relationship type a role OR make a role to a user relationship type for in a closed community?

Events happening in the community are now at Drupal community events on www.drupal.org.
lernwilliger's picture

Hello drupal world and users,

iḿ a german user o drupal6 : sorry, if my english is not the best.
I want to built a communtiy of persons with health problems.
I have no knowlegde to built own modules and want to realize the community with existing modules if possible.

General, the community has no public content
(some public content sites i relaized by an own content type with view-rights also for guests).
Only authentic users can view the content, built with personal blogs and Groups (modul OG).
The profils i have expanded with modul CCK private fields.
Users can have relationships (contacts) to other users (modul user relationships).

Now i have two problems:

First problem:
When users are creating their blog content, i want that the content is private in the beginning and that they can enable their content their for contacts OR for all members of the community. The content is in the beginning private (realizid with modul content acess) With „posting to social network“ its possible, that the node can be viewed by contacts. I did not find a way, to define all members as a relationship, so that the users can choose a field „post to members“ in a second field.
I know, that i can give users the right to change the content with the modul content acess, but this solution is not user-friendly!
With another way i also failed: With module TAC light there is no possibility to create a point for the relationship „contacts“ from UR (there is only the possibility to create acess per role).
Is there a way to make authentic users a relaitionship type of modul user relationship OR make contacts from modul user relationship a role.?
may be there is a simple way to allocate a one way relationship for all authentic users to a relationship "members" during the registration?
Maybe you know a solution with a combination of other acess control moduls?

Second problem:
How is it possible, that only non-public-types of modul organic groups can be created from the members of the community?

Many thanks for help.

Comments

Please Contact

ngaurav2005's picture

Hi,

We are working on same lines. Can you please contact us on Skype so that we can discuss it in detail.

Skype id: ngaurav2005
Gmail: ngaurav2005@gmail.com

Thanks

Uh, it erased my original

JCOFFEY's picture

Uh, it erased my original response for you so I'll type this one quick.

Question 1.) When users are creating their blog content, i want that the content is private in the beginning and that they can enable their content their for contacts OR for all members of the community. The content is in the beginning private (realizid with modul content acess) With „posting to social network“ its possible, that the node can be viewed by contacts. I did not find a way, to define all members as a relationship, so that the users can choose a field „post to members“ in a second field.

Answer 1.) Follow the below steps, if it's the outcome you want.

  1. Use Content_Access to block viewing access to Blog Entries to the Anonymous User role. (This should solve the problem of guests seeing blog entries of your users.)
  2. When a user publishes a blog entry from now on, all AUTHENTICATED users will be able to view the user's blog entry.
  3. If a user wants their blog entry hidden EXCEPT to a specific of "contacts", or users they've added through User Relationships, they will have to select the specific relationship type(s) when publishing the blog entry (under the "Post to Social Network" section). This will show the entry to only the users the posting user has the specific relationship type(s) with.

Question 2.) How is it possible, that only non-public-types of modul organic groups can be created from the members of the community?

Answer 2.) It's an option in the Content Type you specify to be an "Organic Group". I believe there's four (4) visibility options and one is solves your problem (I don't have OG installed so I can't check the exact process).

Anything else.. reply to this.

Social Networking Sites

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week