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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 4,751 through 4,775 (of 7,376 total)
Author Replies
Author Replies
Posted: Thursday Jul 26th, 2012 at 9:30 pm #20348

Hi Rakesh.

The billing info is collected on your site by the pro-form if the payment method chosen requires it, like when using PayPal Pro or Auth.Net to get paid on your site with a card.

Now, if you are just using PayPal’s Express Checkout, that info will be collected by PayPal (or is already in the user’s PayPal account).

If you want to get the user’s address, you need to create profile custom fields for them. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

I hope that helps. :)

Posted: Thursday Jul 26th, 2012 at 7:58 am #20308

Okay. I lhope you find the source of the problem. :)

Don’t forget to do a backup of your site first, it’s always good practice so you have a safe way to go back to how you had it in case you need it.

Another way of testing is to install a new WordPress in a sub directory, just for the test, add s2Member and then keep adding the other plugins one by one, checking after each if you get the problem there too. I mention this option in case you feel more comfortable testing this way than in the one you already have, which I don’t know if it’s already live or not.

Posted: Thursday Jul 26th, 2012 at 7:11 am #20306

Hi Soosie.

That’s very unusual, I don’t remember a user having reported that problem before. s2Member doesn’t touch the editor except for adding the box that lets you set the Level/Custom Capability protection for the page/post.

Since the issue is with the editor, it may be a JavaScript problem caused by a bad implementation by one of the plugins or the theme. Conflicts would happen if one of the plugins or the theme isn’t doing something the right way. The plugin may not show a problem until you install another one that it conflicts with, even if the latter one is doing things properly.

A test you can do to find if there’s a conflict is to deactivate other plugins one by one, and check after each if the problem continues. To check the theme you change to the default TwentyEleven theme for a moment and check if the problem is still there.

I hope that helps. :)

Posted: Thursday Jul 26th, 2012 at 7:03 am #20305

Nice! Thanks for the update. I’m glad you were able to solve it. :)

Posted: Thursday Jul 26th, 2012 at 6:58 am #20304

Ah, so basically you want to update his existing subscription? Is that it?

s2Member can’t edit the subscription, if you sell him an upgrade subscription, then the previous one will be terminated and the new one started.

Then, when showing the user the order button to upgrade, you need to figure out the time left, and credit him what he has left deducing it from the initial term. Don’t do this adjustment with the regular term because that’s the amount that’ll recur.

You can adjust the shortode attribute values using some PHP in your post/page. http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

Does that help understand it better?

Posted: Thursday Jul 26th, 2012 at 6:54 am #20303

Excellent! I’m glad that solved your problem. And thanks for the kudos! :)

Posted: Thursday Jul 26th, 2012 at 6:52 am #20302

Thanks for the info.

Then it takes you here:
http://swcas.org/wp-login.php?action=register

Then it takes you here:
http://swcas.org/register-2/

Which is weird because that is not even a page on the site?

This seems BuddyPress’ doing, because it takes over the registration process. I don’t know why the BuddyPress registration form isn’t showing there, though. If you deactivate BuddyPress for a moment and go to /wp-login.php?action=register do you still get the redirection? If you deactivate s2Member for a moment and go to the BuddyPress registration page, do you now get the form?

You can do without the BuddyPress registration and do everything with s2Member Pro pro-forms, if you want. There are pro-forms to sell access and let the user register right there at the beginning of the checkout process, and there’s a pro-form for free registrations if you allow those. The pro-forms don’t require PayPal Pro, you can use them with just PayPal’s Express Checkout which is free and the user experience is similar to the PayPal Standard buttons one.

Posted: Thursday Jul 26th, 2012 at 6:44 am #20301

Hi David.

Does this work the same way if I am not using independent custom capabilities?

You mean customizing the shortcode attributes with variables? Yes, it works with any of the shortcodes. And you can give the user custom capabilities even if you’re selling a level, it’d be the level plus certain custom capabilities.

but I am trying to avoid the hassle of making users signup and login before they can make a purchase.

This can be used for the shortcodes of buttons/pro-forms to sell to new users as well, not just existing ones. If you use the button, the new user would checkout first and register second. If using the pro-form he’d register and pay in one step when using PayPal Pro or Authorize.Net, or pay in a second step when using Express Checkout.

Does that help? :)

Posted: Thursday Jul 26th, 2012 at 4:20 am #20297

Hi Randy.

s2Member doesn’t have an integration with Google Apps… There’s the Notifications API, which you could use to run a script that does integrate with Google Apps (if it has an API) every time someone registers, I guess.

s2Member does integrate with MailChimp, though, so if MailChimp integrates with Google Apps, that may be a way to go… [hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite]

I hope that helps.

Posted: Thursday Jul 26th, 2012 at 3:38 am #20293

That’s great! I’m glad you found a solution. Thanks for the update. :)

Posted: Thursday Jul 26th, 2012 at 3:37 am #20292

That’s weird. I don’t know why that’s happening without going into your settings a reviewing them…

Is that the only page you protected? Have you protected other pages/posts that you could link to so I try opening them?

Posted: Thursday Jul 26th, 2012 at 3:35 am #20291

That’s right. :)

I’m very glad we could help. Let us know if you have other questions.

Posted: Thursday Jul 26th, 2012 at 3:34 am #20290

Oh, but I didn’t mean that you do it manually.

Got it on not needing both levels together.

I think that you could have a new level for upgrades, as I explained before. So new users or Level 0 users can upgrade to Level 1 or Level 2, that’s fine; but Level 1 users would upgrade to Level 3, which would basically have the same access as Level 2, but you can tell them apart from those that went straight to Level 2 instead of getting Level 1 first.

You’d just have another button that’s only shown to Level 1 users, which would sell them Level 3; practically the same shortcode as the Level 2 one, but it’d give Level 3 instead.

Does that help?

Posted: Thursday Jul 26th, 2012 at 3:26 am #20288

Hi Rance.

Thanks for the kudos! I’m glad you’re happy with s2Member. :)

About the videos, s2Member can’t protect them, only the page where you embed them in WP. To prevent the protected post’s content from being shown in the home page or archives (e.g. tag, category), you need to use WP’s [hilite mono][/hilite] tag or adjust your s2Member Alt. View restriction settings. [hilite path]Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection[/hilite]

I hope that helps.

Posted: Thursday Jul 26th, 2012 at 3:03 am #20285

Hi Blake.

[hilite pre_code]

[/hilite]

That’s PHP, so it won’t work in your address bar. You’d have that in your WP page/post and it’d generate a new key each time the page is loaded. For PHP to work in your page you need to install a PHP execution plugin, e.g. PHP Exec.

Or you can use the shortcode to output the download key, or the full URL to the file including the key. [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Download Restrictions[/hilite]

[hilite pre_code][[s2Key file_download="m3mb3r5h1p5/3a5y.d3al/3b00k5/BoozeBasher.zip" /]][/hilite]

I hope that helps. :)

Posted: Thursday Jul 26th, 2012 at 2:56 am #20282

Hi Roland.

The file you’re looking for is: s2member-pro\includes\classes\login-widget.inc.php

Login sessions are handled by WordPress. The widget uses [hilite mono]is_user_logged_in[/hilite] to check that. http://codex.wordpress.org/Function_Reference/is_user_logged_in

Here’s a thread related to the widget and multisite, that you may find interesting too: http://www.s2member.com/forums/topic/login-widget-on-multisite/

I hope that helps. :)

Posted: Thursday Jul 26th, 2012 at 2:46 am #20281

Hi Allan.

That’s a good question.

So you want the person to have both: Level 1 and Level 2? That’s not possible with the current s2Member. s2Member Levels are WP roles, and a user can only have one WP role. And if you want the levels to be separate subscriptions, that’s not possible either, because s2Member doesn’t do multiple subscriptions for the same user yet.

Now, if you move the user from one subscription to the next, that’s fine. In order to track the previous subscription, maybe you could add a custom capability that’ll let you identify him. Or maybe, those who upgrade from Lvl 1 instead of Lvl 0, could be sold Lvl 3 instead of Lvl 2.

Does that help?

Posted: Wednesday Jul 25th, 2012 at 11:50 pm #20277

That’s great. Glad you solved it. :)

I know i could lock down page player is on but would prefer not to so non members can see what they are missing.

But using the conditionals you could just replace the player with an image of it for those that don’t have access to the video. The page would still be accessible, just the player won’t work, or could link to the Membership Options page.

Posted: Wednesday Jul 25th, 2012 at 10:35 pm #20271

You may want to try using the [hilite mono]get_user_field[/hilite] function. http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field()

I hope that helps.

Posted: Wednesday Jul 25th, 2012 at 10:10 pm #20264

Oh, you mean the page the person is shown after being returned from PayPal? You can control that with the [hilite mono]success[/hilite] attribute: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success[/hilite].

Did you try that? :)

Posted: Wednesday Jul 25th, 2012 at 6:22 pm #20235

Thanks Lisa. :)

The screenshot looks fine, I don’t see a JS problem there. I really don’t know why you weren’t able to save more than one field at a time, then.

You could test deactivating other plugins one at a time, and trying after each to see if you still have the problem. I know it may seem pointless now that you already created all the fields, but whatever caused that may give you trouble somewhere else, so it’d be good to find it.

Posted: Wednesday Jul 25th, 2012 at 6:13 pm #20233

Stephanie, did you try doing something like this with the MOP vars for the [hilite mono]redirect_to[/hilite] field of your login form?

[hilite pre_code]
'; ?>
[/hilite]
Posted: Wednesday Jul 25th, 2012 at 5:38 pm #20230

Oh, yes, you can. Sorry I didn’t understand your question earlier.

You can use the widget anywhere doing it with PHP. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Pro Login Widget (via PHP)[/hilite]

Posted: Wednesday Jul 25th, 2012 at 5:20 pm #20229

Hi Lisa.

That’s odd, I never had a problem creating several fields and then saving all together. Just tried it again and worked fine.

I wonder if your installation has a plugin or the theme conflicting with the JavaScript in some way to cause that… Could you post a screenshot of your General Options page? [hilite path]Dashboard -› s2Member® -› General Options[/hilite]

In any case, I’m glad you found a way around it to save your fields. I’m sorry it was the hard way and you had to save them all separately.

Posted: Wednesday Jul 25th, 2012 at 5:15 pm #20228

I’m glad I could help! :)

Viewing 25 replies - 4,751 through 4,775 (of 7,376 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.