Hi,

a Access Rule for "Send Private Messages" will be very cool.

greets

Lausch

Comments

auctionjunkie’s picture

I'd like to see this too.

schmitty’s picture

me too

mafa’s picture

dsfdsaads

auctionjunkie’s picture

I've been thinking about this one a lot. In addition to being able to control the send function by role, it would be great if we could also restrict it by role.

For example:

New user can send x-number-of-messages within each x-hour cycle.

When they have become more trusted and are now an intermediate user they can now send more messages within a certain time frame. The values to be determined by the administrator.

And then once they are an experienced user then they can send an unlimited number of messages. Or something along those lines.

It could work great with the userpoints module and would be helpful for the sites that are mostly social as it could go some way in reducing the spam problem while still allowing new members to participate on a limited level.

The new private message module is a great improvement, by the way. Good job. :)

kecinzer’s picture

This will be good feature.
+1

beginner’s picture

#4 is a good idea, but a different feature. It should be a different issue. See: http://drupal.org/node/26464 .

How the Access Rule for "Send Private Messages" would be different from the current "access private message"?
A person would be allowed to receive PM but not be allowed to reply to PM he/she received?

Please describe what each perm would allow users to do and not do.

auctionjunkie’s picture

#6

Hi. Thanks. :)

I don't know if this belongs with the max send rate as that is in seconds (or up to a minute) and goes across the board (impacting all users independent of role). What I was thinking was this:

Yes, the user can see their private messages but would only be able to reply to a certain number over a certain period of time dependent on their role. If you don't allow them to see their messages at all (blocking them by role through access private messages) they get frustrated, especially if you have it set up so you send them a welcome PM upon registration that they can't get to.

Anyway, so let's say as an example, that I have three levels of users. Beginner, Intermediate, and Expert and have the Userpoints module set up so that they progress in level by participating in various ways. I have defined their roles and given them various degrees of access to the site. I would like them all to be able to read their private messages, however, I am particularly nervous about those in the Beginner role since some of them will be spammers and I'm protective of my users. So I set it so that the Beginner role can view all messages sent to them but can only send one message every 24 hours (it would be ideal if these values could be set in a table or something that the manager can enter in because maybe I want them to only be able to send one message a week, or not at all). Also a message telling them how many messages they can send might be nice, but I won't get greedy. Once they are Intermediate, they are more trusted, probably real, and can now send 5 messages within a 24 hour time frame. And when they are an Expert I can make it all unlimited.

This kind of flexibility would be nice, but just having a role controlled send message would at least be a start.

Did that answer your question? If this is in the wrong place feel free to move it.

beginner’s picture

This issue is about: Access Rule for "Send Private Messages"
I fail to see how what you describe is related.
The max sent feature is per user and is more or less what you describe.

auctionjunkie’s picture

I don't see how the max send rule covers this as it stands. There's no way that you can set the max send rate to be variable depending on role. Or have I missed something? If I have, please tell me where to do that. And as far as I can see you can't restrict the number of mails they send, only the frequency with which they send them. Which at the moment translates into a possible 1440 messages per day even if you have it set to the most restrictive.

It was only a suggestion. This kind of flexibility was available in one of the other programs I considered before selecting Drupal and I thought it was a nice function. Again, the critical thing is to be able to have an access rule for send messages.

And just a thought... even if you increased the options on max send frequency it wouldn't get you there. What if you want someone to be allowed to send seven messages a week? They would have to wait 24 hours each time just to send another message rather than being able to send them all at once until they've used up their quota. I can see them getting frustrated by that one.

berdir’s picture

Status: Active » Closed (won't fix)

No new features are added to old branches so I'm setting this to won't fix. Privatemsg for Drupal 6 contains separate permissions for recieving and sending messages and there is also a module available to limit the number of messages a user is allowed to send in a specific timeframe.