This topic has 21 replies, 4 voices, and was last updated 10 years by Abe.

  • Author
  • #9351
     Mikemus
    Participant

    Great theme, first of all.

    Quick question about Private Messages. I have 2 levels of Membership. Only one Membership level is allowed to send Private Messages. I’d like to allow these Members to be able to send a private message to the “basic” membership level. In other words, the “basic” membership would only be able to respond to a private message started by a “premium” member.

    Is that possible? Some of my members seem to be able to do this, but others report they cannot open/read a private message sent to them by a “premium” member.

    #9436
     Abe
    Keymaster

    Hi, I guess you can comment line 164 from wp-content/themes/sweetdate/functions-pmpro.php to allow restricted members to view messages

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9563
     frien337
    Participant

    I have done this on my site by using a bit of a workaround. I don’t know how to do it from Paid Membership Pro (cant use because of conflicts) but with the Memberships plugin (https://premium.wpmudev.org/project/membership/) you can create URL groups that only certain membership levels can access.
    With this in mind, I simply set the plugin to block the compose message url for all standard members. This allowed my standard members to view any message they received, but the moment they clicked on reply, the Membership plugin blocked them from accessing the compose message url and sent them to another page where they can sign up. It only blocked it for standard members, so my premium members are still able to message anyone – regardless of the level that the recipient is on.

    For anyone who uses the same membership plugin as I, you will need to use some regex in the url to get it working. If you look at the compose message url that you want to block:

    e.g.: http://www.yoursite.com/members/USERNAME/messages/compose/

    You will notice that the user’s username is in the url. If you block the url as is, then you will only block sending messages to that user whose user name is in the url. In order to block it for all users you need to replace USERNAME with some regex like so:

    http://www.yoursite.com/members/(.*)/messages/compose/

    Doing this will ensure that a standard member cannot send a message to any other users. As I said before, I wasn’t able to use Paid Memberships Pro, but maybe someone at SweetDate can tell you how to do this.

    #9566
     Mikemus
    Participant

    Very cool idea… and I appreciate you taking time to write out such a detailed response. I have been looking at WPMU’s Membership plugin, so I might just take that approach, too. Sounds like it worked for you.

    #9642
     frien337
    Participant

    You’re welcome Mikemus. 🙂

    #11014
     xlspecial
    Participant

    For some reason for the levels I have NOT allowed to send private messages they can reply to those sent to them with no issue.

    When they view another’s profile there is no PM button which is correct. However, if a paid member messages them they can reply to it normally. I thought this was normal but apparently it’s not and I really would prefer unpaid members to NOT be able to reply.

    Any ideas what might cause this?

    #11124
     Abe
    Keymaster

    From Sweetdate – Memberships – Restrict users from sending private messages. You need to adjust it for your levels. We did some tests and you can’t reply(only if you are admin you can)

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11133
     xlspecial
    Participant

    Well, they can still reply on mine for some reason. I’ve tested myself logged in under free users and while the button does not show to send a new message they can reply. It’s always been like that. Probably some damn conflict with a plugin.

    Another issue I have with it is I’m using the restrict number of messages by membership level plugin and at no time does the button show for free users although they are now permitted in the levels.

    To be clear, they have always been able to reply on mine, for several months now. I just added the number of messages restriction a couple days ago to keep free members from being able to reply as many times as they wish.

    #11207
     Abe
    Keymaster

    I don’t know about the plugin you are talking about and I think we are not talking about same thing. The restriction I am talking about: Sweetdate – Memberships – Restrict users from sending private messages
    does not make any button disappear, it just redirects user to the levels page if they are restricted. Give me a link with credentials to look at your settings from Sweetdate – Memberships and also a free user account

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11210
     xlspecial
    Participant
    This reply has been set as private.
    #11314
     Abe
    Keymaster

    Like I said …. please apply the restrictions to those levels you want to restrict. You haven’t applied the restriction to any level.. why is that?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11317
     xlspecial
    Participant

    Just never mind. I know how to set the levels. If you look at it you will see it is set for free to be able to message and yet there is no button.

    #11398
     Abe
    Keymaster

    Please read my message again:

    The restriction I am talking about: Sweetdate – Memberships – Restrict users from sending private messages
    does not make any button disappear, it just redirects user to the levels page if they are restricted. Give me a link with credentials to look at your settings from Sweetdate – Memberships and also a free user account

    and you setting isn’t restricting any levels except for Not members and Not logged in, meaning any other user with a Free membership level will be able to send messages.
    Hopefully you understand the misunderstanding. Your other plugin is hiding the button, not the setting in Sweetdate – Memberships

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11403
     xlspecial
    Participant

    The misunderstanding is on your end. Like I said previous, never mind. The plug in is not set to hide the button.

    #11549
     Abe
    Keymaster

    Ok. Restrictions do work if you set the proper restrictions in Sweetdate – Memberships

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11555
     xlspecial
    Participant
    This reply has been set as private.
    #11556
     xlspecial
    Participant

    Please delete the above post after you have viewed the pics.

    #11557
     Abe
    Keymaster

    I marked it as private. I believe you haven’t read my posts since I said that I logged in and saw you haven’t applied any restrictions, you only applied to not members and not logged in

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11558
     Abe
    Keymaster

    Please restrict membership leves. As in this picture http://myprovider.staging.wpengine.com/wp-content/uploads/2014/02/private-messages-not-restricted.png you can see that you haven’t applied to any membership level

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11564
     xlspecial
    Participant
    This reply has been set as private.
    #11565
     xlspecial
    Participant
    This reply has been set as private.
    #11571
     Abe
    Keymaster

    Hey, We don’t have anything to do with that plugin… as I said before, we do not hide the button… please understand that hiding the button is not related to sweetdate. Just disable the plugin and see if it works then

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 22 posts - 1 through 22 (of 22 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?