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.

Home Forums Eduan

Eduan

Moderator

My Latest Replies (From Various Topics)

Viewing 25 replies - 51 through 75 (of 3,367 total)
Author Replies
Author Replies
Posted: Friday Jul 12th, 2013 at 11:05 am #53354
Eduan
Username: Eduan
Moderator

If I remember right S2MEMBER_CURRENT_USER_ACCESS_LABEL doesn’t output the level, but rather the label for that level, for example “Silver” for level 1, “Peasant” for level 0 etc. Of course configurable under Dashboard -› s2Member® -› General Options -› Membership Levels/Labels.

<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 4){ ?>
    A Member has an Access Level of 4.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 3){ ?>
    A Member has an Access Level of 3.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 2){ ?>
    A Member has an Access Level of 2.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 1){ ?>
    A Member has an Access Level of 1.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0){ ?>
    A User is logged in as a Free Subscriber.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === -1){ ?>
    A User is not logged in at all.
<?php } ?>

And again, if I remember right this outputs the current user’s level, so all you have to do is output S2MEMBER_CURRENT_USER_ACCESS_LEVEL and you don’t need to do all this PHP voodoo to output the current level. :)

If I change my status from example. Level 1 to Level 3 it will show that all members I’m looking at is Level 3

That is a genuine concern.

You will need to do some code that works while BuddyPress is getting its info so that you know what user the code should look for. Then you’ll just need to check the user’s role and output it or something similar.

I don’t have experience with this so I’m just giving out ideas. May not work exactly like I say. :)

– Eduan

Posted: Friday Jul 12th, 2013 at 10:50 am #53353
Eduan
Username: Eduan
Moderator

I am redirected first to http://aspel.org/wp-login.php where it says no data has been received. The user is then forced to hit refresh to bring up the wordpress backend log in.

OK that is strange. This is not meant to happen with the login widget. With the login widget they just login and that’s it.

Could you please try these common trouble shooting tips so that we make sure it’s not some conflict somewhere:
Knowledge Base » Common Troubleshooting Tips

Also, Bruce (support rep) has made a user approval plugin:
http://wordpress.org/plugins/member-approval/

In case you’re interested. :)

– Eduan

Posted: Friday Jul 12th, 2013 at 10:36 am #53352
Eduan
Username: Eduan
Moderator

OK what happens if you only have s2Member installed and you set up a login welcome page (Dashboard -› s2Member® -› General Options -› Login Welcome Page).

Without fail they should be redirected there unless some other plugin/hack is doing something else.

If there’s anything on the login welcome page you don’t want the users to see you can just edit the page to not show whatever you don’t want the users to see. :)

– Eduan

Posted: Friday Jul 12th, 2013 at 10:34 am #53351
Eduan
Username: Eduan
Moderator

Hello Ravi,

This is still on the plans. However, good news! A very basic (and I mean very basic) version of the next generation of s2Member is gonna be available this July (AFAIK). The full version will of course include this functionality.

Also Bruce has made this EOT notifications hack:
http://www.s2member.com/forums/topic/setting-up-eot-notifications/

It’s not officially supported, but it is supported by him (I think). :)

– Eduan

Posted: Thursday Jul 11th, 2013 at 7:47 pm #53324
Eduan
Username: Eduan
Moderator

Hello Leo,

That’s certainly some random behavior. Although it does seem to depend on some stuff like location perhaps…

Could you please try these common trouble shooting tips for a couple of days and see if the problem still remains for you and your users: Knowledge Base » Common Troubleshooting Tips

– Eduan

Posted: Thursday Jul 11th, 2013 at 5:48 pm #53322
Eduan
Username: Eduan
Moderator

Hello mewiecus,

With referring page I assume you mean the page where the user just was before logging in correct?

– Eduan

Posted: Thursday Jul 11th, 2013 at 5:45 pm #53321
Eduan
Username: Eduan
Moderator

Hello Lauren,

So the problem you’re having is that instead of a date and/or time they get a single dash. Is that correct?

If so could you please try these common trouble shooting tips: Knowledge Base » Common Troubleshooting Tips

Especially the server check. :)

– Eduan

Posted: Thursday Jul 11th, 2013 at 5:39 pm #53320
Eduan
Username: Eduan
Moderator

Hello Victor,

So if I understood correctly the problem you’re having is that when users are trying to upgrade they get a full registration form instead correct?

Have you made sure you’re using an upgrade/modification form? Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms.

The s2Member login widget only offers login and link to registration, and some useful links when the user is logged in.

– Eduan

Posted: Thursday Jul 11th, 2013 at 3:44 pm #53312
Eduan
Username: Eduan
Moderator

Hello Kiven,

This isn’t possible by default with s2Member. But you should be able to brew a hack that accomplishes just that.

Perhaps an MU plugin that checks when a registration happens (with a hook or something similar). And when that does happen it checks the custom field’s value, and automatically assigns the correct role.

– Eduan

Posted: Thursday Jul 11th, 2013 at 3:37 pm #53311
Eduan
Username: Eduan
Moderator

Your assumptions are correct AFAIK.

6) The ability to update credit card expiration dates so that recurring payments don’t fail when the card gets re-issued with an updated expiration date.

You mean the credit card’s expiration date? If that date passes the credit card no longer works, that expiration date?

If you do mean that, then s2Member can’t do anything about it. The user has to get the credit card re-issued in his bank directly and if the credit card is expired when s2Member asks for a payment from the card the recurring payment will just be cancelled and he will need to re-subscribe to the subscription again.

Does that answer your questions?

– Eduan

Posted: Thursday Jul 11th, 2013 at 3:23 pm #53310
Eduan
Username: Eduan
Moderator

Hello Alex,

So you want to have a thank you page which has advertisements in it, correct?

And the advertisements will be advertisements you add depending on who paid right? Or do you want these to be added automatically when a user pays for it?

– Eduan

Posted: Thursday Jul 11th, 2013 at 3:16 pm #53309
Eduan
Username: Eduan
Moderator

Hello Keith, glad you found the problem and fixed it. :)

Posted: Thursday Jul 11th, 2013 at 3:15 pm #53308
Eduan
Username: Eduan
Moderator

Glad the problem was easily fixed. :)

Posted: Thursday Jul 11th, 2013 at 9:35 am #53293
Eduan
Username: Eduan
Moderator

Hello Simon,

So if I understood correctly you want the button to change automatically depending on the date?

So it’s renewals on April and a normal payment button the rest of the year?

– Eduan

Posted: Thursday Jul 11th, 2013 at 9:21 am #53289
Eduan
Username: Eduan
Moderator

He got back to me with confirmation that this is not gonna be in s2Member yet.

It is gonna be fixed in the next generation of s2Member but not for now.

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:44 pm #53267
Eduan
Username: Eduan
Moderator

OK so let me review this again.

Basically the problem is that *protected* categories are listed in the categories widget even though they’re protected right?

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:42 pm #53266
Eduan
Username: Eduan
Moderator

I’ll bring this post to Jason’s attention so that he can review this again. :)

Posted: Wednesday Jul 10th, 2013 at 10:38 pm #53265
Eduan
Username: Eduan
Moderator

Hello Kenneth,

Check under Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants. You should find a PHP contant that you can echo in order to output the user’s current s2Member level. :)

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:36 pm #53264
Eduan
Username: Eduan
Moderator

Hello Tony,

No s2Member can’t currently do this. And I don’t think it’s in the plans. I’ll mention it to Jason nonetheless. :)

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:30 pm #53263
Eduan
Username: Eduan
Moderator

Hello Gayle,

Have you checked under Dashboard -› s2Member® -› General Options -› Login Registration Design?

s2Member’s styles to the login/registration page are configured here.

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:22 pm #53262
Eduan
Username: Eduan
Moderator

Excellent! Glad I was able to help. :)

Posted: Wednesday Jul 10th, 2013 at 10:20 pm #53261
Eduan
Username: Eduan
Moderator

Hello Andrew,

So if I understood correctly, the problem you’re having is that a level 0 user gets redirected to the WP dashboard as if he was an admin/editor user?

– Eduan

Posted: Wednesday Jul 10th, 2013 at 10:18 pm #53260
Eduan
Username: Eduan
Moderator

OK so the problem at hand is that even if you’re an admin user s2Member is redirecting you to the membership options page, correct?

If that’s the case then I can’t think of anything else besides a conflict somewhere or the account not actually being an admin… The fact that you can access the login welcome page is another thing pointing to that possibility.

Could you make 100% sure that the account you’re using is actually an account with the admin role assigned?

– Eduan

Posted: Sunday Jul 7th, 2013 at 8:46 pm #53100
Eduan
Username: Eduan
Moderator

This hasn’t been mentioned in the changelog and I haven’t seen it mentioned anywhere else.

So I am assuming it still isn’t. It isn’t mentioned in the s2member settings either…

– Eduan

Posted: Sunday Jul 7th, 2013 at 8:13 pm #53098
Eduan
Username: Eduan
Moderator

Hello Randall,

Well the most simple way there is is to simply create the user account yourself and then give the user the account details so that he can login.

If you can’t do that then the next thing there is is to protect a page with specific post/page access restrictions (Dashboard -› s2Member® -› Restriction Options -› Specific Post/Page Access Restrictions) then put a free registration pro-form that offers paid levels in that page.

And then when you need to give the user free access just generate an access link (Dashboard -› s2Member® -› PayPal® Buttons -› Specific Post/Page Access Links) and give it to him.

Does that answer your question?

– Eduan

Viewing 25 replies - 51 through 75 (of 3,367 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.