Comments to private messages should default to private
Page: 1
This has really been bugging me, and causing problems when using aC with actual clients. Its way too easy to forget to check the radio button to make comments private.
If the originating message is private, then all comments to that message should be as well. Does anyone not agree with this?
Is there an easy way I can change this in my install for the time being, so I don't have to worry that I forgot to make a message private? Clients aren't supposed to see certain discussions.
Thanks
If the originating message is private, then all comments to that message should be as well. Does anyone not agree with this?
Is there an easy way I can change this in my install for the time being, so I don't have to worry that I forgot to make a message private? Clients aren't supposed to see certain discussions.
Thanks
I completely agree. This is something that I've warned my staff about.
We were so paranoid about this that we've created a whole seperate project in order to discuss our client-related issues with privacy.
I'm sure it's an easy fix, and hope to see it in the next release.
We were so paranoid about this that we've created a whole seperate project in order to discuss our client-related issues with privacy.
I'm sure it's an easy fix, and hope to see it in the next release.
stephen522
on Jan 29. 2007. 1:30 pm
Danny:This has really been bugging me, and causing problems when using aC with actual clients. Its way too easy to forget to check the radio button to make comments private.
If the originating message is private, then all comments to that message should be as well. Does anyone not agree with this?
Is there an easy way I can change this in my install for the time being, so I don't have to worry that I forgot to make a message private? Clients aren't supposed to see certain discussions.
Thanks
Figured out how to make messages and comments marked as "private" default for you..
two steps..
STEP 1:
open...
/application/views/comment/post_comment_form.php
on approx line #22, change the word 'false' to 'true'
like this:
<div class="optionControl"><?php echo yes_no_widget('comment[is_private]', 'addCommentIsPrivate', true, lang('yes'), lang('no')) ?></div>
STEP 2:
open...
/application/views/message/add_message.php
on approx line #54
find this line:
<div class="optionControl"><?php echo yes_no_widget('message[is_private]', 'messageFormIsPrivate', array_var($message_data, 'is_private'), lang('yes'), lang('no')) ?></div>
replace with this line:
<div class="optionControl"><?php echo yes_no_widget('message[is_private]', 'messageFormIsPrivate', array_var($message_data, 'is_private', true), lang('yes'), lang('no')) ?></div>
ALL DONE!
this will change the default privacy settings in both the add new message window and add comment window to be private.
stephen522
on Jan 29. 2007. 1:37 pm
viceroy321:thanks. gonna add it right now.
wasn't quite done editing the post, please make sure you refresh and update according to my final post above.
Ryan Cross
on Feb 3. 2007. 5:35 am
Correct me if I'm wrong - but this doesn't actually fix the problem. It just change the default value. There should either be some sort of if statement to check the status of the original message (or get status of the message and set to that status)... Or there should be a little configuration option in the settings to set the default value. (Maybe both of these should be put in the code)
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



