latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Colleen Estes

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Missing Level 0 after upgrade!

By:  Colleen Estes in: Community Forum

voices: 3
replies: 8

3 years, 7 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Missing Level 0 after upgrade!

By:  Colleen Estes in: Community Forum

voices: 3
replies: 8

3 years, 7 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Tuesday May 14th, 2013 at 8:25 am #49943

WOW I wish I knew about that Reset Roles/Capabilities button!! That would have been way easier than spending hours trying to figure out how to manually update the wp_user_roles data!

Posted: Tuesday May 14th, 2013 at 8:05 am #49942

Hi Cristian – that’s because I did figure out how to fix my problem yesterday. Somehow when I did the upgrade, the wp_user_roles option in the wp_options table got messed up. Apparently the Subscriber user is supposed to have a capability of “access_s2Member_level0″, and it didn’t any longer. I had to modify that wp_user_roles record manually to put all of the s2Member capabilities and roles back in, and now everything is working correctly again. I’m not sure why/if the upgrade didn’t go smoothly for me (I also upgraded WP to V3.5.1, so maybe that’s what messed it up), but just in case someone else has a similar thing happen, here is my current wp_user_roles record in the wp_options table of the database:

a:8:{s:13:”administrator”;a:2:{s:4:”name”;s:13:”Administrator”;s:12:”capabilities”;a:66:{s:13:”switch_themes”;b:1;s:11:”edit_themes”;b:1;s:16:”activate_plugins”;b:1;s:12:”edit_plugins”;b:1;s:10:”edit_users”;b:1;s:10:”edit_files”;b:1;s:14:”manage_options”;b:1;s:17:”moderate_comments”;b:1;s:17:”manage_categories”;b:1;s:12:”manage_links”;b:1;s:12:”upload_files”;b:1;s:6:”import”;b:1;s:15:”unfiltered_html”;b:1;s:10:”edit_posts”;b:1;s:17:”edit_others_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:10:”edit_pages”;b:1;s:4:”read”;b:1;s:8:”level_10″;b:1;s:7:”level_9″;b:1;s:7:”level_8″;b:1;s:7:”level_7″;b:1;s:7:”level_6″;b:1;s:7:”level_5″;b:1;s:7:”level_4″;b:1;s:7:”level_3″;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:17:”edit_others_pages”;b:1;s:20:”edit_published_pages”;b:1;s:13:”publish_pages”;b:1;s:12:”delete_pages”;b:1;s:19:”delete_others_pages”;b:1;s:22:”delete_published_pages”;b:1;s:12:”delete_posts”;b:1;s:19:”delete_others_posts”;b:1;s:22:”delete_published_posts”;b:1;s:20:”delete_private_posts”;b:1;s:18:”edit_private_posts”;b:1;s:18:”read_private_posts”;b:1;s:20:”delete_private_pages”;b:1;s:18:”edit_private_pages”;b:1;s:18:”read_private_pages”;b:1;s:12:”delete_users”;b:1;s:12:”create_users”;b:1;s:17:”unfiltered_upload”;b:1;s:14:”edit_dashboard”;b:1;s:14:”update_plugins”;b:1;s:14:”delete_plugins”;b:1;s:15:”install_plugins”;b:1;s:13:”update_themes”;b:1;s:14:”install_themes”;b:1;s:11:”update_core”;b:1;s:10:”list_users”;b:1;s:12:”remove_users”;b:1;s:9:”add_users”;b:1;s:13:”promote_users”;b:1;s:18:”edit_theme_options”;b:1;s:13:”delete_themes”;b:1;s:6:”export”;b:1;s:22:”access_s2member_level0″;b:1;s:22:”access_s2member_level1″;b:1;s:22:”access_s2member_level2″;b:1;s:22:”access_s2member_level3″;b:1;}}s:6:”editor”;a:2:{s:4:”name”;s:6:”Editor”;s:12:”capabilities”;a:34:{s:17:”moderate_comments”;b:1;s:17:”manage_categories”;b:1;s:12:”manage_links”;b:1;s:12:”upload_files”;b:1;s:15:”unfiltered_html”;b:1;s:10:”edit_posts”;b:1;s:17:”edit_others_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:10:”edit_pages”;b:1;s:4:”read”;b:1;s:7:”level_7″;b:1;s:7:”level_6″;b:1;s:7:”level_5″;b:1;s:7:”level_4″;b:1;s:7:”level_3″;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:17:”edit_others_pages”;b:1;s:20:”edit_published_pages”;b:1;s:13:”publish_pages”;b:1;s:12:”delete_pages”;b:1;s:19:”delete_others_pages”;b:1;s:22:”delete_published_pages”;b:1;s:12:”delete_posts”;b:1;s:19:”delete_others_posts”;b:1;s:22:”delete_published_posts”;b:1;s:20:”delete_private_posts”;b:1;s:18:”edit_private_posts”;b:1;s:18:”read_private_posts”;b:1;s:20:”delete_private_pages”;b:1;s:18:”edit_private_pages”;b:1;s:18:”read_private_pages”;b:1;}}s:6:”author”;a:2:{s:4:”name”;s:6:”Author”;s:12:”capabilities”;a:10:{s:12:”upload_files”;b:1;s:10:”edit_posts”;b:1;s:20:”edit_published_posts”;b:1;s:13:”publish_posts”;b:1;s:4:”read”;b:1;s:7:”level_2″;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:12:”delete_posts”;b:1;s:22:”delete_published_posts”;b:1;}}s:11:”contributor”;a:2:{s:4:”name”;s:11:”Contributor”;s:12:”capabilities”;a:5:{s:10:”edit_posts”;b:1;s:4:”read”;b:1;s:7:”level_1″;b:1;s:7:”level_0″;b:1;s:12:”delete_posts”;b:1;}}s:10:”subscriber”;a:2:{s:4:”name”;s:10:”Subscriber”;s:12:”capabilities”;a:3:{s:4:”read”;b:1;s:7:”level_0″;b:1;s:22:”access_s2member_level0″;b:1;}}s:15:”s2member_level1″;a:2:{s:4:”name”;s:16:”s2Member Level 1″;s:12:”capabilities”;a:5:{s:4:”read”;b:1;s:7:”level_0″;b:1;s:22:”access_s2member_level0″;b:1;s:22:”access_s2member_level1″;b:1;s:10:”subscriber”;b:1;}}s:15:”s2member_level2″;a:2:{s:4:”name”;s:16:”s2Member Level 2″;s:12:”capabilities”;a:6:{s:4:”read”;b:1;s:7:”level_0″;b:1;s:22:”access_s2member_level0″;b:1;s:22:”access_s2member_level1″;b:1;s:22:”access_s2member_level2″;b:1;s:10:”subscriber”;b:1;}}s:15:”s2member_level3″;a:2:{s:4:”name”;s:16:”s2Member Level 3″;s:12:”capabilities”;a:7:{s:4:”read”;b:1;s:7:”level_0″;b:1;s:22:”access_s2member_level0″;b:1;s:22:”access_s2member_level1″;b:1;s:22:”access_s2member_level2″;b:1;s:22:”access_s2member_level3″;b:1;s:10:”subscriber”;b:1;}}}

Posted: Sunday May 12th, 2013 at 11:34 pm #49803

Thanks anyway Ross! I am using the “Special Redirection URL” option in the Login Welcome Page section of the General Options to redirect users to a different Welcome page based on their membership level – like this: /other-pages/%%current_user_level%%-welcome-page. This still works for users who are level 1 or higher, but now if a user logs in who is a Subscriber, he is getting thrown back to the Join page as if he’s not a member at all, because the “current_user_level” isn’t 0 anymore, I guess. And all of my conditional checks for user level 0 are failing when a “subscriber” user logs in. All of these users used to show in the User list as Level 0 members, not Subscribers, before I upgraded. Cristian or Jason, HELP!

Posted: Sunday May 12th, 2013 at 2:40 pm #49786

I wish it did work that way, but it didn’t – the pages that are marked to be viewable by level 0 users are now not viewable by Subscribers. I also had some code hooks in there to show certain things in the sidebar for Level 0 users, and those things don’t show anymore. Is there a way to get that Level 0 member back?

Viewing 4 replies - 1 through 4 (of 4 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.