Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-22T03:34:45-05:00 http://www.primothemes.com/forums/feed.php?f=36&t=14179 2011-07-22T03:34:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28910#p28910 <![CDATA[Re: User role capabilities cleared at update]]> Statistics: Posted by uabclst — July 22nd, 2011, 3:34 am


]]>
2011-07-21T19:10:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28888#p28888 <![CDATA[Re: User role capabilities cleared at update]]>
Jim

Statistics: Posted by doctorproctor — July 21st, 2011, 7:10 pm


]]>
2011-07-21T19:00:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28887#p28887 <![CDATA[Re: User role capabilities cleared at update]]> Thanks for the heads up on this thread.

Yea, this is something new that was introduced in the latest versions of s2Member. Now that s2Member supports an unlimited number of Levels ( with s2Member Pro installed ), it's important for s2Member to reconfigure it's Roles/Capabilities each time it's reactivated, for various reasons. However, we do understand that in some situations this is not desirable ( particularly when/if you've made custom modifications to your Roles/Capabilities ).

To prevent this from happening to your client, please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter
("ws_plugin__s2member_lock_roles_caps", "__return_true");
?>
* Add this file after s2Member is installed/activated.

Statistics: Posted by Jason Caldwell — July 21st, 2011, 7:00 pm


]]>
2011-07-21T01:51:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28794#p28794 <![CDATA[Re: User role capabilities cleared at update]]> Statistics: Posted by Cristián Lávaque — July 21st, 2011, 1:51 am


]]>
2011-07-21T01:48:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28793#p28793 <![CDATA[Re: User role capabilities cleared at update]]> Statistics: Posted by Cristián Lávaque — July 21st, 2011, 1:48 am


]]>
2011-07-21T01:37:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28791#p28791 <![CDATA[Re: User role capabilities cleared at update]]>
I have noticed it at several updates. My last was to Version 110710 (don't remember from which version, but i tend to update regularly so it was probably from the previous version).
Then again when I upgraded to s2Member Pro v110710 it happened again.

I use the "User Role Editor 3.1.1" to set the role capabilities.

Thanks

Statistics: Posted by uabclst — July 21st, 2011, 1:37 am


]]>
2011-07-21T00:46:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28782#p28782 <![CDATA[Re: User role capabilities cleared at update]]> Statistics: Posted by Cristián Lávaque — July 21st, 2011, 12:46 am


]]>
2011-07-20T22:58:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28769#p28769 <![CDATA[Re: User role capabilities cleared at update]]>
Jim

Statistics: Posted by doctorproctor — July 20th, 2011, 10:58 pm


]]>
2011-07-20T19:59:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28749#p28749 <![CDATA[Re: User role capabilities cleared at update]]> WP Admin -> s2Member -> General Options -> Deactivation Safeguards

Turn that on and your s2Member settings will still be there after the updates.

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — July 20th, 2011, 7:59 pm


]]>
2011-07-20T10:29:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14179&p=28710#p28710 <![CDATA[User role capabilities cleared at update]]>
I've been using s2member for a while (now upgraded to Pro) and one thing that bothers me is that the user roles s2member_level0, s2member_level1... etc get their capabilities reset every time I update the plugin (or when adding Pro).

I have different capabilities for different roles for my clients that get access to the wp admin view. Each time I update, all capabilities are reset to "read". Then I get complaints from my clients who suddenly can't access the wp editor.

Is it really necessary to clear role capabilities at the updates?

Thanks

Statistics: Posted by uabclst — July 20th, 2011, 10:29 am


]]>