Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-08T17:41:07-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16740 2012-01-08T17:41:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=60000#p60000 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Let us know if you need anything else. ;)

Statistics: Posted by Eduan — January 8th, 2012, 5:41 pm


]]>
2012-01-08T17:21:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59999#p59999 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]> Thanks a lot!

Statistics: Posted by marrell — January 8th, 2012, 5:21 pm


]]>
2012-01-08T16:51:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59998#p59998 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
If you want that only to be visible to non-members then try this instead:
Code:
[s2If !is_user_logged_in()]
Put the content for non-member only here.
[/s2if]


Hope this helps. :)

Statistics: Posted by Eduan — January 8th, 2012, 4:51 pm


]]>
2012-01-08T15:25:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59997#p59997 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]> Thanks a lot it works.Only small thing that bothers me.Here is my edited code.

Code:
[s2If !current_user_is(s2member_level0)]<a href="http://mysite.net/wp-login.php?action=register">Register for FREE to see the links.</a>[/s2If]
[s2If is_user_logged_in() AND current_user_can(access_s2member_level0)]

[/s2If]</blockquote>


Users level2 can see the link now but they can also see the text "Register for FREE to see the links."
Its ok with subscribers.I tried to edit first part of the code but no luck.

Hope I explained it ok.

Statistics: Posted by marrell — January 8th, 2012, 3:25 pm


]]>
2012-01-07T19:05:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59964#p59964 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
If you don't want that to be visible to non-members you can use:
Code:
[s2If current_user_is(s2member_level0)]
Content for level 1-4 members.
[/s2If]

That way it thinks "If the user is level 0, then show this content". Now this code would only work if the user is level 0, if you want the user to be a higher level and be able to access the content you may try:
Code:
[s2If is_user_logged_in() AND current_user_can(access_s2member_level0)]
Content for members level 0 or higher.
[/s2If]
That way if they can access level 0 they will be able to see it, so naturally a level 2 would also be able to see it.

I apologize if this is what you wanted all along and I didn't understand you.

Hope this helps. :)

Statistics: Posted by Eduan — January 7th, 2012, 7:05 pm


]]>
2012-01-07T18:01:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59959#p59959 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Code:
[s2If !current_user_is(s2member_level0)]
Content for level 1-4 members.
[/s2If]


This is visible to unregistered too.


Thanks for removing my link.

Statistics: Posted by marrell — January 7th, 2012, 6:01 pm


]]>
2012-01-07T17:41:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59958#p59958 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Code:
[s2If !current_user_is(s2member_level0)]
Content for level 1-4 members.
[/s2If]

[s2If current_user_is(s2member_level0)]
Content for level 0 members.
[/s2If]

If this code doesn't work please tell me.

P.S. I removed your link from my other post. ;)

Statistics: Posted by Eduan — January 7th, 2012, 5:41 pm


]]>
2012-01-07T17:30:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59955#p59955 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]> Can you please get rid of my URL.I didnt realized I had posted it. ;)
Thanks

Statistics: Posted by marrell — January 7th, 2012, 5:30 pm


]]>
2012-01-07T17:10:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59951#p59951 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Code:
[s2If !current_user_is(s2member_level0)]<a href="http://mysite.net/wp-login.php?action=register">Register</a>[/s2If][s2If current_user_is(s2member_level0)]<a href="http://wpth.net/wp-login.php?action=register">Register</a>[/s2If]


Please tell me how that goes.

Hope this helps. :)

Statistics: Posted by Eduan — January 7th, 2012, 5:10 pm


]]>
2012-01-07T16:26:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59947#p59947 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]> Statistics: Posted by marrell — January 7th, 2012, 4:26 pm


]]>
2012-01-07T16:12:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59944#p59944 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Hope this helps. :)

Statistics: Posted by Eduan — January 7th, 2012, 4:12 pm


]]>
2012-01-07T15:36:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59942#p59942 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
Eduan wrote:
Are you using s2Member conditionals on the subscriber area?

If you are then it's supposed to work that way. Since the conditionals are to make sure that only a certain level (or custom capability) can see that.

Hope this helps. :)


Hi Eduan,
I think thats it. What If I added something like
Code:
(s2member_level2)

into this code?
Code:
[s2If !current_user_is(s2member_level0)]<a href="http://mysite.net/wp-login.php?action=register">Register</a>[/s2If] [s2If current_user_is(s2member_level0)]

Statistics: Posted by marrell — January 7th, 2012, 3:36 pm


]]>
2012-01-07T15:19:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59939#p59939 <![CDATA[Re: Paid Members Level2 cannot see subscribers content!]]>
If you are then it's supposed to work that way. Since the conditionals are to make sure that only a certain level (or custom capability) can see that.

Hope this helps. :)

Statistics: Posted by Eduan — January 7th, 2012, 3:19 pm


]]>
2012-01-07T13:29:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16740&p=59935#p59935 <![CDATA[Paid Members Level2 cannot see subscribers content!]]> Thanks for a great plugin.I have been using it for a while and never noticed this issue until recently.We have a section on our site which we call a VIP area.Paid members with access to the VIP area are "level 2".
Then we have other sites areas which require free registration to access the links.Those members are "subsribers".
My problem is than level2 members cannot see what the subscribers level members can.Even me logged as admin cannot see the links unles I log in as a subscriber.
Hope you know what Im on about.
Regards,
Marrell

Statistics: Posted by marrell — January 7th, 2012, 1:29 pm


]]>