• Welcome to the all-new Kolakube support, the official place to get help for Marketers Delight, XFtoWP, CryptoWP, and other WordPress products! Please login with your account details to access members-only support forums.

memberpress does not register user to the group

cosmindan08

Member
XFtoWP
Messages
15
Reaction score
3
Hi guys

I have Memberpress installed and integrated with XFtoWP. I have created all the groups and when I register a user via the membership and assign it to a group on XF the user always registers as the REGISTERED default user group on XF.

Thanks for your help
 

Attachments

  • 1.png
    1.png
    14.2 KB · Views: 4
  • 3.png
    3.png
    37.1 KB · Views: 4
Hi @cosmindan08 the plugin only adds and removes secondary usergroups and doesn't change the primary usergroup, as following XenForo's own recommendations.

But even with your setup, are you able to get secondary usergroups to work?
 
Comment
Hi Alex

I might not understand that exactly but on Memberpress I see on the membership page that it says:
Associate usergroup with product and to select the usergroup.
So from my understanding is that it adds the user to the specific usergroup based on the membership he purchases, otherwise I don't see the point of this.

This is what I need to achieve:

I have 3 memberships on my site and each will have it's own forum permissions on different forums. So for example for the Free user that registers he will be added to a usergroup with no permissions to post for example in a mentioned forum.

Thank you (oh and I sent the invoice details on a conversation if you got that)
 
Comment
Also, did you set up User actions in WP admin > XF > User syncing > Actions? This will allow you to enable the workflow of "register and promote user groups on product purchase".
 
Comment
I see the action allows me to add users to secondary groups, but I need them to 1 main group not to be in 2 groups because I have to specific mention which membership goes into which group
 
Comment
It is possible for us to change the primary usergroup with the plugin, but it was built to only use secondary usergroups because it makes your user promotions and permissions much simpler. From the XenForo Manual:

All users must belong to at least one user group but can be members of many. We recommend that all users have the registered group as their primary user group -- including your moderators and administrators! When a new user registers, they will always be put in the registered group automatically.

If you can provide a little more details about why you need the usergroups to be changed it might help it make more sense to me.

I have 3 memberships on my site and each will have it's own forum permissions on different forums. So for example for the Free user that registers he will be added to a usergroup with no permissions to post for example in a mentioned forum.
Yes, you can create two user actions for on "Register users" (for the free groups) and "Product Purchase" (for paid only) and set the usergroups from there.

Screen Shot 2023-01-20 at 8.48.08 AM.png
 
Comment
Ok I have read those docs and it might make sense for some forum situations or I might be too new to this and don't understand but here is my scenario.

Also your integration with Memberpress adds a new field on the membership page from where you can select to which group the user will belong which doesn't work as of now. I am selecting a group called Basic and still it adds the user to the default Register group.

So my scenario is this:

I have 3 plans and using Memberpress to sell my online courses with Learndash and they all fit together.

Basic which is free where user has access to all forums but can't post in the Marketplace forum
Premium which is paid and user has access to all forums but can't post in the Marketplace forum
PRO which is paid as well and user has access to all forums and can post in the Marketplace forum

I don't mind adding the users to 2 groups if that's how the system works (although again I don't see why the integration has the group choose dropdown if it's not working) but I would appreciate your guidance on how to achieve this.

Thank you
 
Comment
Also your integration with Memberpress adds a new field on the membership page from where you can select to which group the user will belong which doesn't work as of now.
Did you enable the User actions settings from my last reply? That is the first part before you set the "associated usergroup" setting on the MemberPress product pages.

I am selecting a group called Basic and still it adds the user to the default Register group.
Check the Secondary user groups for the XenForo user, which is below the User group field. The plugin always registers users to the "Members" user group.

Screen Shot 2023-01-20 at 4.40.28 PM.png
 
Comment
Basic which is free where user has access to all forums but can't post in the Marketplace forum
Premium which is paid and user has access to all forums but can't post in the Marketplace forum
PRO which is paid as well and user has access to all forums and can post in the Marketplace forum
I suggest you skip the Basic group and just leave that to normal permissions from the Members default user group.

Stick with Premium and PRO, and they will be added as secondary usergroups only after they purchase. Make sure you set those usergroups to be able to see private forums. etc.
 
Comment
I just ran a test MemberPress product purchase and got the attached results, with the admin setup.

The user was successfully registered and added the "Verified" usergroup to their secondary user groups. Later when the product was purchased, the user gets promoted to the usergroup associated with the MemberPress product.

You can send an alert message with custom variables for the product and user names too.
 

Attachments

  • Screen Shot 2023-01-21 at 1.12.22 AM.png
    Screen Shot 2023-01-21 at 1.12.22 AM.png
    35.9 KB · Views: 4
  • Screen Shot 2023-01-21 at 1.12.42 AM.png
    Screen Shot 2023-01-21 at 1.12.42 AM.png
    32.5 KB · Views: 8
  • Screen Shot 2023-01-21 at 1.14.52 AM.png
    Screen Shot 2023-01-21 at 1.14.52 AM.png
    88.1 KB · Views: 7
  • Screen Shot 2023-01-21 at 1.14.45 AM.png
    Screen Shot 2023-01-21 at 1.14.45 AM.png
    23.9 KB · Views: 6
Comment
I tried your solution but not working as intended. I have 2 products so the user must be added to 1 usergroup depending on the membership. Right now it's adding the user to both Premium and PRO if I select them on the "if purchase action". How can I disable the secondary group adding for good as it doesn't make any sense for me?
 
Comment
Also did you tested it with Memberpress editing in membership? Because even with the action product purchase the user is added anyway to a paid membership group even if he only registers for the free one.
 

Attachments

  • 1a.png
    1a.png
    37.2 KB · Views: 6
  • 2a.png
    2a.png
    40.1 KB · Views: 6
Comment
So since I have 2 paid memberships and will add more how can I tell the plugin to assign the specific members to the specific membergroups in XF if I add the purchase action? It would be much easier if we had 1 group and not secondary ones if possible
 
Comment
I am going to let go of Memberpress and get Woocommerce as it is far more customizable and I see your plugin works with that as well. Please let me know the fix to my issue. Have a great weekend!
 
Comment
Also did you tested it with Memberpress editing in membership? Because even with the action product purchase the user is added anyway to a paid membership group even if he only registers for the free one.
According to your first screenshot, your settings are:
  • On the "user registers" action, add Basic to any user who registers. Note, when a user purchases a product, they will also have their user registered and will be synced by this action too. That is partially why I recommend you skip adding a secondary user group to any free signups.
  • On the "user buys" action, add PRO to a user who purchases a product.
Comparing that to your second screenshot, it shows the correct user groups were added to the XenForo user.
 
Comment
I am going to let go of Memberpress and get Woocommerce as it is far more customizable and I see your plugin works with that as well. Please let me know the fix to my issue. Have a great weekend!
May I ask the purpose of your store? If it is for digital products, I recommend you stick with MemberPress or go with the plugin, which I personally use, Easy Digital Downloads. But if you have physical products, WooCommerce is the right choice. I personally think it is an overkill for digital product only stores.

Hey Alex, don't bother I will keep the users as in the default group on XF. Thanks
No problem, hopefully my answers can help you learn to use the plugin better.
 
Comment
I am going to sell online courses for how to monetize and grow on Youtube, Instagram and Tiktok and also want to offer a community to the members, hence the forum idea. I was complicating too much with things but now I have a clear vision of what I need. Memberpress in terms of customization lacks a lot of things, since I wasted 3 days just to try and customize the emails it sends. Although Woocommerce has much more liberty it also requires a lot of plugins so I will stick with the default Learndash payment options. Thanks so much for your great support (please don't forget the invoice)
 
Comment
I am going to sell online courses for how to monetize and grow on Youtube, Instagram and Tiktok and also want to offer a community to the members, hence the forum idea.
I think this is a winning strategy to truly capture your audience from social media, and paid products (that actually sell) are always a huge engagement booster.

I was complicating too much with things but now I have a clear vision of what I need. Memberpress in terms of customization lacks a lot of things, since I wasted 3 days just to try and customize the emails it sends. Although Woocommerce has much more liberty it also requires a lot of plugins so I will stick with the default Learndash payment options.
I've been down the WooCommerce rabbit hole a few times and the amount of addons and technical overhead gets tiring and expensive. MemberPress does transactions very well and I have seen far more successful stores on MP for products like yours.

Thanks so much for your great support (please don't forget the invoice)
I'm happy to help and I hope the plugin helps your course business run smoothly! I have also sent you a fresh copy of your invoice.

Lastly, would you mind leaving a quick review at XenForo.com if you think the plugin works well for you? It really helps out. :D

 
Comment
According to your first screenshot, your settings are:
  • On the "user registers" action, add Basic to any user who registers. Note, when a user purchases a product, they will also have their user registered and will be synced by this action too. That is partially why I recommend you skip adding a secondary user group to any free signups.
  • On the "user buys" action, add PRO to a user who purchases a product.
Comparing that to your second screenshot, it shows the correct user groups were added to the XenForo user.
Coming back on Memberpress, how do I put each user in each second group it belongs? So for example I have 5 different memberships with 5 different prices and I need to tell the plugin when User A buys Membership A to register him in the Usergroup A and so on? At this point if I add the purchase action then all users will be registered to 1 second group only, even if I select in Memberpress membership page to which second group to register.
 
Comment
Back
Top