Here's another one - when a user accesses the view and sends out a message, if they check the box to save the settings then the next person that hits the view to generate an email sees the saved message of the last person that sent out a message. If this could be modifies to be user specific, that would be great!

Thanks,
-=Delty

Comments

roball’s picture

For me, saving the message settings does not work at all. Which VBO version are you using?

Delty’s picture

I'm using VBO 6.x-1.9, the release version.

-=Delty

roball’s picture

I am using 6.x-1.10-beta3. Would you mind testing how the message settings work for you with that updated VBO version?

roball’s picture

What are your experiences using the current stable VBO version, 6.x-1.10?

Delty’s picture

Well, I've disabled Views Send because of the issue with it breaking cron, which I posted as another bug report report. At this point, it's unusable for me, but I might re-enable it for testing when I have time over the weekend.

-=Delty

hansfn’s picture

Category: bug » feature

This isn't a bug, but a feature request.

hansfn’s picture

FYI: A recent commit at least improved the situation so it's clear that the values aren't stored per user.

soniat’s picture

Version: 6.x-1.x-dev » 7.x-1.0-alpha1
Component: Code » User interface

I need the recipients fields to be Name(name) and (mail). I don't want my users to be see/or choose the other options. I want the subject and message fields to be blank and not see another users message.
I tried using css to hide the recipients field set but received error message:Field used for recipients email is required. I using this module with crew connect. I'm also using the css visibility property to hide the fieldset. Any suggestions or solutions will be greatly appreciated.

Thanks,
Sonia

hansfn’s picture

@soniat: Aren't you asking for something completely different then what this issue was about? Please don't hijack issues - start a new one in stead. Anyway, the solution to your problem is to use form_alter - see for example #1440428: How do you do a form_alter on the views_send_mail_action_form?. If you do that, you can hide the fields with CSS.

Marko B’s picture

I would also like it to be user specific. Or if not, to disable the possibility to save. With this save button it is only useful to user 1.

hansfn’s picture

Why do you think this only works for user 1?

Marko B’s picture

Well If I am user 1 and send messages to others it is ok that I have this save option and that data is saved per form. But If I have user 1 and user 2 and user 3 etc and then user 1 sends message that is private and then comes user 2 and sees that, he gets info that he shouldn't have and then says the hell with this, I don't want to use this so everyone else sees what I send. :-) This is scenario that I see right now and why this is not useful.

hansfn’s picture

Sure, if you select to remember the values, it's available for all users. This is nice if several different users send more or less identical messages. You can disable the button/option by using hook_form_alter.

The problem you are describing isn't specific to user 1 which was why I aksed "Why do you think this only works for user 1?"

Marko B’s picture

Well i ment only one user, and this would probably be user 1 :-)

hansfn’s picture

FYI: This issue is fixed in the D8 version of the module - ref commit 8425193.

BBC’s picture

Issue summary: View changes

Any chance that the fix mentioned above has already been ported to the D7 version in the last few months? If not, is there a hook_form_alter example of how to disable this for non-admins somewhere?

hansfn’s picture

No, this isn't fixed in the D7 version. It's not likely that I'll find time for that ...

Here is a hook_form_alter example:

/**
  * Implements hook_form_alter().
  */
function mymodule_alter_form(&$form, &$form_state, $form_id) {
    global $user;
    if (strpos($form_id, 'views_form') === 0) {
        if (isset($form['views_send_remember'])) {
            // Hide remember for non-admins
            if (!in_array('administrator', $user->roles)) {
                $form['views_send_remember']['#value'] = 0;
                $form['views_send_remember']['#access'] = FALSE;
            }
        }
    }
}

Let me know it works - the code above is untested.

hansfn’s picture

Status: Active » Closed (won't fix)

No new features will be added to the D7 version unless there is a "perfect" patch provided. I'm spending my very little spare time on the D8 version.