-
Author
-
January 7, 2014 at 21:20 #9351
Mikemus
ParticipantGreat 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.
January 9, 2014 at 16:59 #9436Abe
KeymasterHi, 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 solutionJanuary 11, 2014 at 16:42 #9563frien337
ParticipantI 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.
January 11, 2014 at 18:44 #9566Mikemus
ParticipantVery 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.
February 16, 2014 at 09:18 #11014xlspecial
ParticipantFor 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?
February 18, 2014 at 21:32 #11124Abe
KeymasterFrom 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 solutionFebruary 18, 2014 at 23:49 #11133xlspecial
ParticipantWell, 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.
February 19, 2014 at 22:43 #11207Abe
KeymasterI 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 accountHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 19, 2014 at 23:24 #11210xlspecial
ParticipantYou can take a look if you wish. The membership levels are set and have been for some time.
http://myproviderboyfriend.com
admin user;user-james25
pass-milw1603free user;
user-tester100
pass-milw1603February 23, 2014 at 02:10 #11314Abe
KeymasterLike 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 solutionFebruary 23, 2014 at 04:44 #11317xlspecial
ParticipantJust 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.
February 25, 2014 at 01:44 #11398Abe
KeymasterPlease 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 accountand 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 – MembershipsHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 25, 2014 at 02:22 #11403xlspecial
ParticipantThe misunderstanding is on your end. Like I said previous, never mind. The plug in is not set to hide the button.
February 27, 2014 at 14:22 #11549Abe
KeymasterOk. 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 solutionFebruary 27, 2014 at 14:43 #11555xlspecial
ParticipantSince you don’t believe me, or simply do not understand what the problem is, and apparently never looked at the site with the login credentials I gave you above, here are some screenshots;
http://myprovider.staging.wpengine.com/wp-content/uploads/2014/02/button-not-set-to-hidden.png
http://myprovider.staging.wpengine.com/wp-content/uploads/2014/02/profile-with-no-button.png
It is only the free membership that does not show the button. The paid levels have the button. The free level SHOULD show the button but does not.
February 27, 2014 at 14:51 #11556xlspecial
ParticipantPlease delete the above post after you have viewed the pics.
February 27, 2014 at 15:16 #11557Abe
KeymasterI 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 solutionFebruary 27, 2014 at 15:18 #11558Abe
KeymasterPlease 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 solutionFebruary 27, 2014 at 15:26 #11564xlspecial
ParticipantAnd as this picture shows there is no button showing for the logged in free user;
http://myprovider.staging.wpengine.com/wp-content/uploads/2014/02/profile-with-no-button.png
I WANT the free users to be able to send a limited number of messages, yet there is no button with no restrictions set.
Why is this so hard to understand….
PS-Just for the hell of it I went and restricted free members from sending messages. Guess what, still NO BUTTON.
The membership restriction is not the problem as I want free members to send messages.
February 27, 2014 at 15:29 #11565xlspecial
ParticipantAnd as this photo shows I do not in any way have the plug in hiding the button currently;
http://myprovider.staging.wpengine.com/wp-content/uploads/2014/02/button-not-set-to-hidden.png
February 27, 2014 at 15:50 #11571Abe
KeymasterHey, 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 -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.