Can you please add an option to keep postings completely private. right now it is only possible to select certain relationships in posting to social network. if nothing is selected, it is visible to anyone. if you include an option "not visible to others", it would improve use of this module greatly.

Comments

jogebau’s picture

even better would be, if there would be a choice "show to any user", and if nothing is selected, no user would be able to see the content

jogebau’s picture

no one?

alex.k’s picture

Hi, do you also use organic groups? Normally OG would be able to restrict access if both users are not in the same group. Please also elaborate more on your use case - whether all content by default is invisible, or you want to selectively publish some to everyone, and other content just to the social network. Thanks.

jogebau’s picture

thanks for the reply

what im trying to do here is the following solution. I am using the content profile module with multiple profiles. One is for "Personal Data", one for "Profile", and one for "contact details". contact details are the the content which is selected in Post to social network. I then have multiple relationships (both two-way and one way), and I want users to be able to choose to which other users their contact details should be available.

By default it should only be available to a two-way relationship called contacts, but it needs to be possible to hide contact details completely. I do actually believe, that this should be possible anyway.

I do use OG module to other stuff, but I have no clue how to use it for this!

thanks

jogebau’s picture

bump

Coyote’s picture

Yes, please - I'm working on a site right now where our use-case is that we want users to be able to show certain node types to either "Everyone," "Friends-only", or "Nobody except me."

And we don't want to touch Organic Groups with a ten-foot pole.

halver’s picture

+1

halver’s picture

I'd still like to see this implemented as part of the module, but in the meantime, here's a workaround: Create a new kind of relationship called Private. Don't allow anyone to request the relationship except the Site Administrator. It will show up in the User Relationships Node Access box. If users select it, no one can see the node.

sterwa’s picture

halver, thanks for the tip. This proposes a nice upgrade path from private_nodes which was abandoned in D5.
I used to have buddylist+private_nodes in D5. To upgrade to D6, i first mirgrated buddylist to UR, then upgraded UR to D6 version and finally implemented the solution you posted in #8. I had to manually (I mean, using a few sql commans) transfer private_nodes table values to user_relationships_node_access -- and viola. Seems to work.

A note one may find useful:
the default relationship PRIVATE I created for this purpose did not work when I set is as "mutual". So had to be installed as a one-way relationship. That means that in "post to your social network" there is now an extra option PRIVATE(you to them) even though it does not make sence, since the only role allowed to request PRIVATE relationship is admin. I will see if I can revise this "posting to social network" form to hide this irrelevant option.

Michsk’s picture

I would like to see something like this also. Thanks for the tip halver but there really should be something like this build in and that should be handled like talked about here: http://drupal.org/node/764872.

Maybe if we could chip in this could be a payed job?

mrf’s picture

Status: Active » Closed (duplicate)