PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Help On This Would Be Great

s2Member Plugin. A Membership plugin for WordPress®.

Help On This Would Be Great

Postby vinnyog » July 13th, 2011, 12:48 am

OK I dont know what happened but a new user to my site Linkamotion.com claims he can see all the posts other users are adding.

My test user is not seeing this but I used his password and user name and there are everyones articles.

I need help as to how I can block this. I am using a capabilities manager but this was never an issue before.

I also update WP with the latest update today

Not sure why my tester user cant see it and he can. I did manually add this guy...but would that have anything to do with it?

Thanks
Vince
User avatar
vinnyog
Registered User
Registered User
 
Posts: 5
Joined: July 13, 2011

Re: Help On This Would Be Great

Postby Cristián Lávaque » July 13th, 2011, 3:00 am

Hi Vince.

What role did you set this user to? Is that the same role your test account has? Did you edit that role's capabilities?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Help On This Would Be Great

Postby vinnyog » July 13th, 2011, 8:00 am

same as the test account they are a s2member level1
User avatar
vinnyog
Registered User
Registered User
 
Posts: 5
Joined: July 13, 2011

Re: Help On This Would Be Great

Postby vinnyog » July 13th, 2011, 9:51 am

So I was able to ask the users to sign up using the normal process and he can still see all the posts from other users but my test user can not have the same results produced.
User avatar
vinnyog
Registered User
Registered User
 
Posts: 5
Joined: July 13, 2011

Re: Help On This Would Be Great

Postby Cristián Lávaque » July 13th, 2011, 5:30 pm

Hmm... I got what you say, but they have to be different in some way, otherwise the access would be the same. :|

Have you tried creating a new test account and see how that one's access is?

Please post here a screenshot of your WP Admin -> s2Member -> Restriction Options page with all the panels expanded.

Are you using s2Member's custom capabilities to restrict access?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Help On This Would Be Great

Postby vinnyog » July 13th, 2011, 7:25 pm

Hey Christian,

Thanks for the reply. OK so I added a new user using the backend options and BAM there are all those posts that users should not see.

In the capabilities manager I am using I have only ADD POSTS, EDIT POSTS, DELETE POSTS, AND READ.

All these capabilities need to be active in order for users to add content and view their own posts.

I did look at the S2member capabilities manage and here is what I see

Posts That Require Level #0 Or Higher:

Post IDs in comma-delimited format. Example: 1,2,3,34,8,21 — or you can type: all.
Posts That Require Level #1 Or Higher:

THIS IS AT ALL SETTING

Post IDs in comma-delimited format. Example: 1,2,3,34,8,21 — or you can type: all.
Posts That Require Level #2 Or Higher:

This is at ALL setting

Post IDs in comma-delimited format. Example: 1,2,3,34,8,21 — or you can type: all.
Posts That Require Level #3 Or Higher:

Post IDs in comma-delimited format. Example: 1,2,3,34,8,21 — or you can type: all.
Posts That Require Highest Level #4:

Post IDs in comma-delimited format. Example: 1,2,3,34,8,21 — or you can type: all.


I tried changing the settings in the Capabilities manager but it is still the same result. I will take a guess and say that many people can see posts that are not there own.

Any ideas....I think we can run off the idea that everyone can see the posts that are added so what can I do to remove this view but leave the ability for users to add posts in the standard WP back area?
User avatar
vinnyog
Registered User
Registered User
 
Posts: 5
Joined: July 13, 2011

Re: Help On This Would Be Great

Postby vinnyog » July 13th, 2011, 7:31 pm

Hey

Just wanted to let you know...users cant access the posts in the post list. It just shows the user and article title and article status.

I still want to remove this view so users can only see their posts and not everyone elses. I am wondering if it is related to a recent WP update?

Talk to you soon
Vince
User avatar
vinnyog
Registered User
Registered User
 
Posts: 5
Joined: July 13, 2011

Re: Help On This Would Be Great

Postby Jason Caldwell » July 17th, 2011, 12:43 am

Thanks for the follow-up.

Sorry, but this really goes outside of s2Member's intended functionality. I've seen several site owners make attempts at using s2Member for back-end permissions with some success, but we really don't support that functionality.

That being said, this sounds like the way it's always been to me, as far as I can remember. You might try removing the delete_posts Capability. It's one of those extra Capabilities that you've assigned which is causing WordPress to display everyone's posts in the list. I say 'display', because I believe it's NOT possible for them to actually edit others posts unless they have the Capability: edit_others_posts

Reference article:
http://codex.wordpress.org/Roles_and_Capabilities
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Help On This Would Be Great

Postby ZebEl » July 17th, 2011, 6:57 pm

I have tested the same thing and noticed that every user can see others post titles and also may click to display them if there is no other plugin installed. Moreover, nobody can edit others posts. It seems that you should somehow hide the links that refer to show all posts link in the back-end.

Of course, I am also intressted if there are other ways to solve this issue, just to prevent it to be too crowded for each user in the back-end. My site is public with a few restricted pages.

My problem, in the otherthand, is how to allow sebscribers in level 1 or above to add/edit their own posts. In my installation, when a member is registered through s2Member registration form has no access to add/edit posts. However, I selected to redirect Members away from the Default Profile Panel to have a theme look in the backend. Unfortunately, it seems I get another problem to deal with :(

My question is if there is any feature in s2Member that allows assignment of each user level to any of the wordpress default roles? This could be a pactical feature if implemented.

Appreciate if you share your experience.
User avatar
ZebEl
Registered User
Registered User
 
Posts: 13
Joined: July 14, 2011

Re: Help On This Would Be Great

Postby Jason Caldwell » July 21st, 2011, 2:15 pm

My question is if there is any feature in s2Member that allows assignment of each user level to any of the wordpress default roles? This could be a pactical feature if implemented.

s2Member Roles ( aka: Levels ) are associated with Capabilities:
access_s2member_level0
access_s2member_level1
access_s2member_level2
access_s2member_level3
access_s2member_level4
and so on, up to the number of Levels you've configured.

In cases where you want to hack other Roles and grant them permissions normally assigned by s2Member, I recommend this plugin: http://wordpress.org/extend/plugins/user-role-editor/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron