Tagged: membership, plugin, pro, roles e-commerce, supsystic, wordpress
- This topic has 6 replies, 3 voices, and was last updated 5 years, 2 months ago by
mila_support.
- AuthorPosts
- January 10, 2018 at 21:44 #16314
derek650883ParticipantI installed the plugin and purchased the membership bundle.
I could not find membership subscription page or “subscribe now” button even after setting up payment methods and membership levels.
I assumed this was because my new users were being defaulted to “membership guest”.In attempting to delete the membership-guest role, I inadvertently deleted the “Membership administrator” role and now I cannot recreate it as the necessary checkboxes are greyed out.
As a note, the role managementon that page seems either poorly laid out, or buggy, as I had no intention of deleting the membership admin role when I clicked the X next to a the membership-guest role.
Deleting and reinstalling the plugin did not restore the roles.
Thus far, I am highly disappointed in the functionality and documentation of this plugin.
January 11, 2018 at 12:43 #16320
Alex_supportMemberHello Derek.
Thank you for contacting us regarding your issue with plugin.
Firstly, can you clarify, what exact membership subscription page you can’t find? Do you mean registration page or custom membership levels, which your users need to buy? If second – you can see all available membership levels on user profile settings: http://prntscr.com/hyva0a.And now let’s try to resolve your issue with user roles. You can’t delete “Membership Guest” user role, because it’s necessary for plugin – all users have this role before registration. If you want to set some special default user role after registration, you can do it in “Profile” tab of Membership options: http://prntscr.com/hyvf4l
If you deleted Membership Administrator user role by accident, you can restore it.To do it, you should “Uninstall” Membership plugin from list of plugins: http://prntscr.com/hyvgke – this way you can delete all previous settings of plugin.
Note: if you simply delete folder with plugin from wp-content/plugins/ folder via ftp, it will not erase Membership settings.After this you can install plugin again and see, that all default user roles become available. – I tested this solution just a few minutes ago.
But if for some unknown reason this solution is not working for you, I have another tip from our developer:
1. You need to add the Administrator role to the DataBase and store the value that will be stored in the id field (for example, we’ll call this value as “YourMembershipRoleID”):`INSERT INTO`wp_supsystic_membership_roles` (`name`,`permissions`,`type`,`settings`) VALUES ( 'Membership Administrator ', 'a:17:{s:19:"can-access-wp-admin";s:4:"true";s:17:"can-see-admin-bar";s:4:"true";s:13:"edit-activity";s:4:"true";s:29:"access-to-specific-roles-page";a:1:{i:0;s:3:"all";}s:24:"can-delete-their-account";s:4:"true";s:23:"change-privacy-settings";s:4:"true";s:25:"send-and-receive-messages";s:4:"true";s:16:"can-block-groups";s:4:"true";s:17:"can-create-groups";s:4:"true";s:11:"join-groups";s:4:"true";s:11:"read-groups";s:4:"true";s:22:"access-to-members-page";s:4:"true";s:30:"access-to-global-activity-page";s:4:"true";s:31:"access-to-profile-activity-page";s:4:"true";s:11:"add-friends";s:4:"true";s:6:"follow";s:4:"true";s:20:"access-read-one-post";s:5:"false";}', 'administrator', 'a:1:{s:7:"wp-role";s:13:"administrator";}' );`
Note: table names may not match with yours.
2. Then you need to find the user ID under which it is registered (we will call this numerical value as “YourWPUserId” (note that here you need to substitute your value instead of using “YOU_USER_LOGIN_ENTER_THERE”):
`SELECT id, user_login FROM wp_users where user_login = 'YOU_USER_LOGIN_ENTER_THERE'`
3. You need to check the wp_supsystic_membership_users_roles table for the presence of a record (note that here you need to substitute your value instead of “YourMembershipRoleID”):
`SELECT * FROM wp_supsystic_membership_users_roles where user_id = YourMembershipRoleID`
3.1 If there is no record, you will need to insert it (note that here you need to substitute your value instead of “YourMembershipRoleID” and “YOU_USER_LOGIN_ENTER_THERE”):
`INSERT INTO`wp_supsystic_membership_users_roles` (`user_id`,`role_id`) VALUES(YourWPUserId, YourMembershipRoleID);`
3.2 If there is an entry, you need to update the value of the role_id field (for the result) and save this value to “YourMembershipRoleID”.
If you still have some issues with Membership plugin, I recommend you to continue resolving of it via our internal support through Contact Us form: https://supsystic.com/contact-us/
January 11, 2018 at 23:24 #16328
derek650883ParticipantOk, I uninstalled, deleted files, and reinstalled. Default roles reappeared, thank you.
I leave default user role, and roles untouched.
I enable none of the additional membership bundle plugins at this point.I went into “Membership By Supsystic”->General->Pages->Create All Unassigned Pages. Saved.
I add “Profile” to the main menu.Opened up new browser, registered a test user.
Upon logging in, I get redirected to a “Oops! That page cannot be found.” URL: site.com/index.php/profile/test/)
Clicking on “Profile” in the menu gives me the same result.This is a new error that I was not experiencing before. I was expecting to see a profile page with no membership levels displayed, which was my previous issue.
Thank you for your support with this.
-dJanuary 11, 2018 at 23:42 #16330
derek650883ParticipantAs an added note, the Profile page is also not working for the admin user.
January 15, 2018 at 17:06 #16352
mila_supportMemberHi @derek650883
Most likely, you got the new error due to your second creating of the Create All Unassigned Pages –
I went into “Membership By Supsystic”->General->Pages->Create All Unassigned Pages. Saved.
I add “Profile” to the main menu.Opened up new browser, registered a test user.
Upon logging in, I get redirected to a “Oops! That page cannot be found.” URL: site.com/index.php/profile/test/)So to check it please follow WP Admin area->Pages->All Pages->Search “Profile” – http://prntscr.com/i0p5sf if you have 2profiles pages with links like site.com/index.php/profile/test/ and site.com/index.php/profile-2/test/ – this explains everything.
The same with other Membership pages – http://prntscr.com/i0p7kiAbout Ecommerce Pro Addon. Please make sure you have activated it.
January 15, 2018 at 19:26 #16357
derek650883ParticipantWhen logged in as test user (with membership-guest role) clicking on profile redirects me to the “members” page.
When logged in as site administrator (with membership admin role) clicking on profile redirects me to the correct “profile” page.————————-
As test-user, in the members page, if I click on the “test user” profile, I get taken to the correct profile page. On this page I cannot see any way to become a member, or a list of available membership levels, which I believe is supposed to be visible, correct?
I have the Suspsystic Membership Ecommerce plugin enabled and activated.
-d
January 17, 2018 at 14:11 #16384
mila_supportMemberHi @derek650883
Please provide the page link on your site with the issue. Thus I can see whats wrong and help you.
- AuthorPosts
- You must be logged in to reply to this topic.