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 - 376 through 400 (of 7,376 total)
Author Replies
Author Replies
Posted: Saturday Jul 13th, 2013 at 7:15 am #53392

If you use a free registration pro-form with a trial term, the user would not enter any payment information, it’d be a registration form that gives him whatever access you specified (level, custom capability), for the term of the trial. Video » s2Member (Free Registration On Multiple Levels?)

When the trial ends, then he’ll be demoted to Level 0, if that’s what your EOT behavior setting is. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 7:10 am #53391

Here’s an example CSV row in that article: http://www.s2member.com/kb/importing-updating-users/#extended-details

The exported CSV row would be similar to that. The user ID would not be blank, because you’re exporting an existing user, and the custom registration fields would correspond to those you have configured in your site.

Does that help? :)

Posted: Saturday Jul 13th, 2013 at 6:59 am #53390

The html part is easy; and if I am understanding s2member right, I could probably move the entire directory/folder that I currently have into a directory/folder in wp-content? And then the documents will be available only to paying members?

Correct: /wp-content/plugins/s2member-files/. See: Video » s2Member (File Download Options)

Or alternatively, can the directory/folder that I am already using be protected with the s2member plugin? It would be on the same domain as the wordpress installation, but something like http://www.thesite.com/documents

You could customize the directory s2Member uses for this. See: http://www.primothemes.com/forums/viewtopic.php?f=36&t=2729&p=8018

Finally, in the directory that I am currently using before migrating over, I have numerous subfolders, based on various clients and legal cases. Do subfolders work in the protected directors within s2member?

Yes, they do.

Unless I am misreading what I’ve seen here, I think the paid version will work for what my colleagues and I need, but I thought I better check first.

These things are possible in the free version, you may want to try that first, but it’s fine if you want to upgrade for other reasons.


I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 6:49 am #53388

David, I don’t know why the HTML would break when inside the shortcode conditional, but I’d try the PHP conditional to see if it doesn’t break then. See: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

I went to the page you linked to and noticed that the code generated for the Comments Box, includes a class that your code doesn’t: [hilite mono]class="fb-comments"[/hilite]. Maybe you’re missing that for it to work? Don’t know, just thought I’d mention it.

<div class="fb-comments" data-href="http://example.com" data-width="470" data-num-posts="10"></div>

Also, there’s some JavaScript that goes along with it, did you add it to your page as well?

I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 6:39 am #53386

Okay. :)

Posted: Saturday Jul 13th, 2013 at 6:38 am #53385

So sorry I had not seen it before.

It’s always good to make backups before changes like this, so you can easily go back to what was working if things go wrong.

could not find ID on server

Do you have the correct bucket in your S3 integration? Is the file in that bucket? Please check the casing too (names are case-sensitive).

By the way the error message on the login still is not correct but OK before s2member installed?

I don’t know why you get that error either. You’re the only one having this problem I’ve known of, so it seems unique to your installation. If you install a clean WP do you get the error there? If you just add s2Member, do you get the error then? This is part of the tests suggested in the troubleshooting tips article. Have you tried them all? Knowledge Base » Common Troubleshooting Tips

Posted: Saturday Jul 13th, 2013 at 6:30 am #53384

Okay. :)

Posted: Saturday Jul 13th, 2013 at 6:30 am #53383

It looks like the JavaScript for the pro-form is not working, but I don’t know what’s causing it. Could you please do these? Knowledge Base » Common Troubleshooting Tips

Posted: Saturday Jul 13th, 2013 at 6:27 am #53382

Coupon codes are a feature of the pro-forms (PayPal or Authorize.Net), not the PayPal buttons, so those instructions won’t work.

To have coupons for buttons, you’d need to code your own little customization for it.

Now, the PayPal pro-form doesn’t integrate with PayPal Standard, but it does integrate with Express Checkout, which is also free, and PayPal Pro is not required. If you can use Express Checkout, then you can change to pro-forms with coupon codes.

I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 6:20 am #53380

The condition to check if the user is not logged in is incorrect in your code. I’d use [hilite mono]is_user_not_logged_in()[/hilite] or [hilite mono]current_user_cannot(access_s2member_level0)[/hilite]. See: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 6:15 am #53379

I think 2 and 4 are doable – please confirm.

Yes, they are.

5) On site checkout

You’ll need PayPal Pro for this, or Authorize.Net.

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.

This is handled by the payment gateway, not s2Member, so the user would need to update his payment information there. See: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Update Forms[/hilite]


I hope that helps! :)

Posted: Saturday Jul 13th, 2013 at 6:07 am #53378

You’d need to calculate the remaining time and use the initial term for the 2nd subscription, to credit him for it. So if he has $50 left from the Level 1 month, his first month of Level 2 he’d only be missing $150. Which is what you’d use the initial term for in this case, then the regular terms will be at $200.

s2Member doesn’t do these calculations, you’ll need to use a bit of PHP to estimate the amount and then adjust the s2Member shortcode for the new subscription.

Here’s some info that you may find helpful for this: http://www.s2member.com/forums/topic/membership-upgrade-questions/#post-52394

Keep in mind that subscriptions don’t set an EOT time before they end, so you’ll need to figure out the remaining paid time based on the time that the subscription started and the regular term (in this case monthly). About the payment times see: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]

Or you could try query PayPal for this user’s subscription info. See: http://www.s2member.com/forums/topic/last-payment-time-is-wrong/#post-28491

I hope that helps! :)

Posted: Saturday Jul 13th, 2013 at 5:55 am #53377

Maybe it’s not letting s2Member load its JS correctly, causing the pro-form to not behave as expected. The s2Member JS URL has a querystring that maybe that blacklist is matching in some way… Just guessing here, not really sure.

In any case, I’m glad you sorted out what was causing you the problem. Have you tried asking the blacklist guys their opinion?

Posted: Saturday Jul 13th, 2013 at 5:53 am #53376

I don’t see what may be wrong with the code. I’m guessing the problem may be the difference between the must-use and the regular plugin, although I’m not sure how. Have you tested creating a new WP installation to see if you can make must-use plugins work there? I’d probably ask in a WP forum why must-use plugins may not be working, or even contact the webhost for help.

Posted: Saturday Jul 13th, 2013 at 5:46 am #53375

Yes, you can edit the shortcode attributes manually, as long as you use them correctly. Here’s the documentation for them: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)[/hilite]

The documentation for the [hilite mono]success[/hilite] attribute is found here, though: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success[/hilite]

The success attribute can be used with the free registration or payment pro-forms, as you’ll see in the documentation.

I hope that helps. :)

Posted: Saturday Jul 13th, 2013 at 5:44 am #53374

The way I’d probably do it is check with PHP what his paid signup time is and see if today is still within the period I give for free. The documentation here may be helpful: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]

Posted: Friday Jul 12th, 2013 at 7:28 pm #53366
API v1.0 - v1.2 deprecated. Please use v1.3. For more information please see: http://bit.ly/10M8Hg2

ClickBank’s new API v1.3 is supported by s2Member since about 4 or 5 months ago, if I remember correctly.

Could you verify that your CilckBank credentials are all correct? [hilite path]Dashboard -› s2Member® -› ClickBank® Options[/hilite]

Posted: Friday Jul 12th, 2013 at 6:57 pm #53365

Catherine, we haven’t received yet the information Bruce requested to review your problem.

Like he said, s2Member doesn’t deal with the editor at all, so it’s most likely that something else is causing this problem. I was also wondering if you have tried these troubleshooting steps we recommend: Knowledge Base » Common Troubleshooting Tips. If not, please do it and let us know how it goes. Thanks!

Posted: Friday Jul 12th, 2013 at 7:27 am #53340

No, the Payment Notification will happen for any payment, regardless of the level. You can use the replacement codes to add more info in the URL’s querystring and have your script use that info to figure it out, though. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications -> Replacement codes[/hilite]

Posted: Friday Jul 12th, 2013 at 7:24 am #53339

Pitch Plus is supported since a recent update of s2Member Pro. See: http://www.s2member.com/changelog/#s2-changes-v130510

(s2Member Pro) ClickBank PitchPlus Upsell Flows Adding support for ClickBank PitchPlus Upsell Flows via new Shortcode Attributes: [hilite mono]cbfid=""[/hilite], [hilite mono]cbur=""[/hilite], [hilite mono]cbf="auto"[/hilite]. s2Member Pro now officially supports ClickBank PitchPlus Upsell Flows. We support PitchPlus Basic and PitchPlus Advanced too. For further details, please see: [hilite path]Dashboard -› ClickBank Buttons -› Shortcode Attributes (Explained)[/hilite].

Posted: Friday Jul 12th, 2013 at 7:20 am #53338

Website Payments Pro is available in other countries too. See: https://developer.paypal.com/webapps/developer/docs/classic/howto_product_matrix/

The pro-forms can be used with just Express Checkout, though, PayPal Pro is not required. Change the [hilite mono]accept[/hilite] attribute to only [hilite mono]paypal[/hilite] when using the pro-form shortcode.

Posted: Friday Jul 12th, 2013 at 7:16 am #53337

I was thinking of trying to use the Authorize.net Specific Page/Post feature to do this. Would this work?

I would just create some page called Advertisers that would basically just be a thank you page and sell access to it based on our advertising prices. Any problem with doing it this way or is there another suggestion?

No, I guess it’d be fine. Keep in mind that the Specific Page/Post doesn’t tie to a user account, it’s separate from that part of WordPress. Or you can sell custom capabilities, if the advertisers are registered or you’d like to have them register.

Video » s2Member (Specific Posts/Pages)
Video » s2Member (Custom Capabilities)

Posted: Friday Jul 12th, 2013 at 7:11 am #53336
[[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="example.com" tp="0" tt="D" success="http://example.com/thank-you/" /]]

This should take you to example.com/thank-you/ after the registration succeeds with that pro-form. Try it with the [hilite mono]success[/hilite] attribute at the end instead of the beginning, I’ve seen it may make a difference in some cases, for some reason.

Seems like the forms duplicate each other.

You mean you have two pro-forms in the same page? That would not work, you shouldn’t have more that one in the same page. So leave only one shortcode for it in the page and try again, please.


If that doesn’t help, please try these: Knowledge Base » Common Troubleshooting Tips

Posted: Friday Jul 12th, 2013 at 7:05 am #53335

When you disabled custom passwords, did you make sure to save the changes? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

If that’s saved correctly and you’re seeing the field in the registration form, then please try these: Knowledge Base » Common Troubleshooting Tips

Posted: Friday Jul 12th, 2013 at 7:03 am #53334

You need a PHP execution plugin for PHP to work in a WP post/page, yes. It doesn’t have to be one particular plugin, there are several that do it. Search the WP plugins repository and try a few. Most of them will require that you use only the text editor and not open the post in the visual editor, since the latter will break the code.

Viewing 25 replies - 376 through 400 (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.