This topic is locked, no new messages can be posted
avatar Danny Jan 16. 2007. 5:54 am
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
avatar Jan 19. 2007. 6:50 am
No response?
avatar Jan 29. 2007. 1:54 am
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.

avatar Ilija Studen Staff Jan 29. 2007. 9:22 am
Got you loud and clear (from the day one ;) ).
avatar stephen522 Pro Jan 29. 2007. 8: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.
avatar viceroy321 Jan 29. 2007. 8:35 pm
thanks. gonna add it right now.
avatar stephen522 Pro Jan 29. 2007. 8: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.
avatar Ryan Cross Feb 3. 2007. 12:35 pm
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 the issues discussed in this post please write at hi@a51dev.com.