Closed (fixed)
Project:
User Relationships
Version:
6.x-1.0-rc2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
21 Aug 2009 at 15:40 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alex.k commentedHave you enabled permissions for user_relationship_node_access module under admin->users->permissions?
If you only grant "grant view permission to related users" then the UI is simplified to "Post to social network", if more are granted, then it's a more complicated form.
Comment #2
jtjones23 commentedOriginally I had "grant view permission to related users" enabled. I've added "grant delete permission to related users" and "grant update permission to related users". I still get the attached image. Should I be seeing something else?
Comment #3
alex.k commentedApologies, the module doesn't come with any installation instructions. The steps would be as follows (will commit as README.txt if it works for you):
The module allows node authors to share their posts with users with whom they have an establish relationship. It's also possible to grant edit and delete rights to related users. The module works together with Organic Groups, if installed, allowing author's related users who aren't in any selected OG audience to still access the post.
Configuration
-----------------
1. Enable the module under Admin -> Site Building -> Modules
2. Under Administer -> Users -> Permissions, enable the "grant view permission to related users" permission to desired user roles that will be sharing their posts with their related users. For example, authenticated users
3. Under Administer -> Content Management -> Posting to social network enable the content types you with to be shareable. For our example, we'll enable Blog entry. Content types that are not checked will not have the "Post to social network" fieldset on the node creation/edit form
4. Now, when a user in the role you set in step 2 goes to create one of the enabled content types, they will see a fieldset called "Post to social network". In it they can check which types of relationships (out of those defined on your site) can see this post.
Advanced usage
-----------------
If you grant additional permissions "grant edit permission to related users" and "grant delete permission to related users", the form component on node creation form will change to a more complicated matrix of checkboxes, where node author can allow certain relationships to also edit and/or delete the node. This can be used for peer review, document approval, and other use cases.
Theming
-----------------
The standard "Post to social network" form component can be themed using standard Drupal form theming approaches. See http://api.drupal.org/api/file/developer/topics/forms_api.html/6.
Advanced form component "User Relationships Node Access" is themed by function theme_user_relationship_node_access_form($form), which you can override in your theme.
Comment #4
alex.k commentedComment #5
jtjones23 commentedThe instructions work but I should have been looking at the UR views to see the user content that I was looking for:)
Thanks anyway
Comment #6
alex.k commentedNo problem. Sometimes that's the only way things get documented :) Committed http://drupal.org/cvs?commit=254804