Community Support Forums — WordPress® ( Users Helping Users ) — 2010-07-28T06:26:42-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=460 2010-07-28T06:26:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=460&p=1891#p1891 <![CDATA[Re: New registered user can only change profile info, cant p]]> Awesome. It's great to see help from others on the board here.

Just to point out, try to use Hooks/Filters when you can. That way you won't have to modify the source over and over again; each time a new version of s2Member is released.

So something like this goes into the functions.php file for your WordPress theme:
Code:
add_filter("ws_plugin__s2member_force_default_role", "default_role");
function default_role($role){
return "contributor";
}

This way you're not editing the s2Member source files directly, and the change that you made will survive an upgrade of the s2Member plugin through your WP Dashboard in the future.

Statistics: Posted by Jason Caldwell — July 28th, 2010, 6:26 am


]]>
2010-07-28T05:52:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=460&p=1888#p1888 <![CDATA[Re: New registered user can only change profile info, cant p]]> the answer lies in: \plugins\s2member\includes\functions\register-access.inc.php
On the row 26, change the default role to "contributor"


return apply_filters ("ws_plugin__s2member_force_default_role", ($default_role = "contributor"), get_defined_vars ());

Statistics: Posted by Guest — July 28th, 2010, 5:52 am


]]>
2010-07-27T08:31:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=460&p=1841#p1841 <![CDATA[New registered user can only change profile info, cant post]]> one question about posting new posts with user registered with s2member.
After registration (s2Member Level 2) using paypal, and logging in, user cannot create any new posts. (can
only change profile information). Another words - user has just a visitor level.

Is it possible also to be able to post new posts?
Have a nice day,
ondrej

Statistics: Posted by ondrje — July 27th, 2010, 8:31 am


]]>