Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have not been able to enable Private messages with this fine module. I have tried a wide variety of permutations of settings and module adjustments. Is there something that needs to be done, an extra module or particular configuration, to enable to private checkbox?
Many thanks for the fantastic module!
Comments
Comment #1
IceCreamYou CreditAttribution: IceCreamYou commentedYou need to enable the
Facebook-style Statuses Private Statuses
submodule. Then when you go to another user's profile there will be a "Private" checkbox under the status update form.Comment #2
alohaglide CreditAttribution: alohaglide commentedMany thanks for the quick response. I spent some time poking around the code. Found the code that adds that check box. Then realized I had misread the module description on the project page. One can make a posting on someone else's wall private. Would there be any repercussions to allow all posts to have the ability to be private?
Thanks again.
Comment #3
IceCreamYou CreditAttribution: IceCreamYou commentedI don't think it would make sense to have a status update that only the author could view. Do you have a use case for this?
Comment #4
alohaglide CreditAttribution: alohaglide commentedI'm the developer of a site for Hawaii public school teachers to collaborate and whatnot. As busy as they are, the teachers are looking for something quick and easy to make a diary of sorts. A living portfolio of the projects they have done and other thoughts. They are required this year to provide a portfolio of their work to the state at the end of the year. Lots of worry about how to quickly do this. Most use twitter and facebook and it seems a natural fit for them.
Along with the private portfolio/diary, they'll be using your system as it was intended as well.
Comment #5
IceCreamYou CreditAttribution: IceCreamYou commentedWell, the function that adds the "Private" checkbox to the status update form is fbss_privacy_form_facebook_status_box_alter(). The only thing stopping people from having private diary-style entries is the initial condition
$form['recipient']['#value'] == $GLOBALS['user']->uid
. If you removed that check (or better, if you copied the function into your own module [of course, renaming "fbss_privacy" to your module name] and then inverted that check) you would be able to achieve what you're looking for.New features aren't being added to the 6.x branch at this time, but if you'd like to move this to the 7.x branch I would consider adding a setting that would make this easier.