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 - 551 through 575 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday Jun 21st, 2013 at 5:46 am #52313

Yes, you can do that with the free registration pro-form, setting the [hilite mono]level[/hilite] attribute to [hilite mono]1[/hilite]. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]

Posted: Friday Jun 21st, 2013 at 5:34 am #52311

Oh, you just add a normal link to the registration page /wp-login.php?action=register, the user will have been cookied right before being forwarded to the custom success page, so he’ll be able to register and get the access he paid for.

Posted: Thursday Jun 20th, 2013 at 6:52 am #52288

What payment gateway are you using? PayPal? You could use the [hilite mono]success[/hilite] attribute to specify what page the user should be shown after checkout. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

Posted: Thursday Jun 20th, 2013 at 6:49 am #52287

Strange, I haven’t seen other reports of it. Could you please try these? Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Jun 20th, 2013 at 6:47 am #52286

1) Latest post restriction: We want that latest posts (say upto 15 or 20 days old) should be available to registered members only. For these latest posts, only post excerpts should be visible to public – but full content only to paid members (can we set the limit of words visible?)
Posts older than 15 days could be freely accessible to public (no restriction).
How can we restrict access to latest posts? We do not want to do it post by post- just automatically- latest post ONLY available to registered users except for a excerpt- the length of which WE set.

You could do this with conditionals. See: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]

It’d have to be added to each post, unless you customized the template for the posts and had the conditional there, so it’d be applied to every post.

Posted: Thursday Jun 20th, 2013 at 6:41 am #52285

I googled this and found PayPal’s guide to the Website Payments Pro Payflow Edition Recurring Payments service, and it says that you can manage these from PayPal.

In page 8 it shows a screenshot of the interface: https://cms.paypal.com/cms_content/MX/es_XC/files/developer/WPPPE_RP_Guide.pdf#page=8

Have you asked PayPal support about this?

2 => ‘Unable to verify `$_SERVER[“HTTP_HOST”]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.’,

Make sure your pro-form’s shortcode has the correct value for the [hilite mono]custom[/hilite] attribute, please. The shortcode generator should output the correct one. If you edited it manually, please keep this in mind: Knowledge Base » Don't Mix www, — and Without!

Posted: Thursday Jun 20th, 2013 at 3:23 am #52281

Jason just confirmed you’d need to modify the source code to rearrange them.

I think this is in the JavaScript file:
s2member-pro\includes\separates\gateways\paypal\paypal.js
s2member-pro\includes\separates\gateways\authnet\authnet.js

It’s in this file:
s2member-pro\includes\classes\gateways\paypal\paypal-form-in.inc.php
s2member-pro\includes\classes\gateways\authnet\authnet-form-in.inc.php

Posted: Thursday Jun 20th, 2013 at 3:19 am #52280

No problem. Have fun. :)

Posted: Thursday Jun 20th, 2013 at 3:18 am #52279

What payment gateway are you using?

If you’re using the pro-forms, you can use the [hilite mono]success[/hilite] attribute to specify what page the user will be redirected to after checkout. See: [hilite path]Dashboard -› s2Member -› PayPal/Auth.Net Pro Forms -› Custom Return URLs Upon Success[/hilite]

Posted: Thursday Jun 20th, 2013 at 3:13 am #52278

This is what Jason replied answering your question:

Yes, email addresses are required. WordPress is not great about setting standards and following them in all places. While the DB design suggests that emails are not required, and some functions follow that standard; other areas of the WordPress core DO require an email address; and many areas of the WP core expect an email address to be present (as if the DB were designed that way; e.g. to require one). So it’s confusing, I know. But once you’ve worked with WordPress for awhile you will find that WordPress really does require an email address for each user. Also, that just makes sense. I mean, how do you contact someone that’s a user of your site if you don’t have their email address?

Plugins for WP also expect an email address to be present for each user.

Here is a snippet from the WordPress core that requires an email address: /wp-login.php

function register_new_user( $user_login, $user_email ) {
    $errors = new WP_Error();

    $sanitized_user_login = sanitize_user( $user_login );
    $user_email = apply_filters( 'user_registration_email', $user_email );

    // Check the username
    if ( $sanitized_user_login == '' ) {
        $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Please enter a username.' ) );
    } elseif ( ! validate_username( $user_login ) ) {
        $errors->add( 'invalid_username', __( '<strong>ERROR</strong>: This username is invalid because it uses illegal characters. Please enter a valid username.' ) );
        $sanitized_user_login = '';
    } elseif ( username_exists( $sanitized_user_login ) ) {
        $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' ) );
    }

    // Check the e-mail address
    if ( $user_email == '' ) {
        $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e-mail address.' ) );
    } elseif ( ! is_email( $user_email ) ) {
        $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ) );
        $user_email = '';
    } elseif ( email_exists( $user_email ) ) {
        $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.' ) );
    }

If users are being imported (and the site owner has no email address for them); I suggest using a dummy email address instead (e.g. user1@example.com). Or, they can modify the source code in this file to NOT require an email address if they prefer. See: /s2member-pro/includes/classes/imports.inc.php

Posted: Thursday Jun 20th, 2013 at 3:05 am #52277

I’m glad you sorted it out. Thanks for the update. :)

Posted: Thursday Jun 20th, 2013 at 3:03 am #52276

That’s great news guys! Thanks for the update. :)

Jordan, yes, it’s best to keep an eye on the user experience, trying the site as a regular user from time to time. It’s also good to make it easy for them to have alternatives (like a link to the default login page) or an easy way to contact you for help even if logged out.

Posted: Thursday Jun 20th, 2013 at 2:57 am #52275

The signup confirmation email doesn’t specify the tax, that I know. And there isn’t a replacement code for it. Maybe it’s mentioned in the description (%%item_name%%) when it gets added dynamically to the total, but I haven’t tried it.

I’ll ask Jason about it and tell you what he says when I hear back from him.

Posted: Thursday Jun 20th, 2013 at 2:53 am #52274

I get a 404 when I try to open http://paulfostermarketing.co.uk/wp-content/plugins/s2member/s2member-o.php. I don’t know if the file is actually missing, or you have a rewrite rule or some security thing in the server preventing the file from being reached. Have you asked your webhost?

Posted: Thursday Jun 20th, 2013 at 2:49 am #52273

An upgrade will only happen if the user is logged in to his account. If he’s not logged in, the payment goes towards a new signup. So upgrade buttons/forms, should be shown only to logged in users, either protecting the whole page, or using a conditional. I’m guessing they were logged out when they made the new payment.

About the upgrade, if they then end the subscription, the EOT Behavior will be to demote him to Level 0 (this is the default setting), regardless of his previous level. He won’t be demoted to the paid level he had before. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

If the one-time payment access is a ccap and the upgrade a level, then there’s a setting in the EOT Behavior that lets you leave his ccaps instead of removing them. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Custom Capabilities[/hilite]

Posted: Thursday Jun 20th, 2013 at 2:43 am #52272

You can customize the pro-form’s template. See: http://www.s2member.com/kb/pro-forms/#customizing-pro-forms

Posted: Thursday Jun 20th, 2013 at 2:39 am #52271

WordPress only has /wp-login.php?action=register, but s2Member Pro has the pro-forms which behave as registration forms when the user is not logged in, and you can place them in any WP page or post. Knowledge Base » s2Member® Pro Forms

Create a different page for each pro-form, and then link to them, as we do here from the Prices page. Or you can have a single one changed dynamically based on variables you pass in the URL: Knowledge Base » Using Variables In A Shortcode

Posted: Thursday Jun 20th, 2013 at 2:36 am #52270

Did you also try all the troubleshooting tips?

Did you verify that your Authorize.Net credentials are all correct in the s2Member admin page? [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options[/hilite]

If you send me the site’s info, I can do a test purchase to see what happens after checkout, and what shows up in the logs. Please leave me a reply here after sending the email, thanks. s2Member® » Private Contact Form

Posted: Thursday Jun 20th, 2013 at 2:28 am #52269

We don’t offer that service, but you can post the job in a freelancers site like jobs.wordpress.net, odesk.com or elance.com.

I know one s2Member user that hired a developer for some customizations, that did a good job and she’s recommending him. This is his site if you want to try him: http://krumch.com/tag/s2member/

Posted: Thursday Jun 20th, 2013 at 1:09 am #52266

I will work on this once the basic new site’s up and running, and if i have any joy will report back here.

Cool.

… Can you elaborate on that please? Something I might be able to play with?

See: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> dg[/hilite]

You can search the code for that to play with it, but I’m not sure how much is already there, or if anything was left.

Posted: Thursday Jun 20th, 2013 at 1:04 am #52265

Glad to help!

I see, you migrated the site. Well, I hope you can sort out the issues one by one. Start with the one the server scanner found, and see if some of the problems you were having go away.

Remember these other things you can try, too: Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Jun 20th, 2013 at 12:47 am #52264

Great! Glad you sorted it out. Thanks for the update. :)

Posted: Thursday Jun 20th, 2013 at 12:43 am #52262

That seems a little confusing; at the minute if a subscriber is logged in they can use the pro form button (to get L1 access) and they can (as desired) bypass the auto return page.
Are you saying that if they purchase something else to give them additional custom capabvilities they will have to go through the autoreturn page?

With the [hilite mono]success[/hilite] attribute for PayPal Standard buttons, yes. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

For i’d like to look like a standard paypal button (i.e. minus username etc.
[[s2Member-Pro-PayPal-Form level="1" ccaps="hgvdriver" desc="$0.01 EUR / One Time (for lifetime access, non-recurring, no trial)" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.xxx.ie" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="2" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success="https://www.scitrans.ie/wp/thank-you/?subscr_id=%%subscr_id%%" /]]

I understand now what you meant earlier. Since the success attribute works for upgrades in the pro-form, you want to use it, but have it look like a PayPal Standard button. Is that it?

Well, you can edit the template, and style it too. Not sure how far you can take it, though, haven’t tried. This should help: http://www.s2member.com/kb/pro-forms/#customizing-pro-forms

the s2 login widget always sends the user to thankyou even if ‘previous page is selected, any thoughts?

Did you verify the setting in the widget’s admin? And what page is the widget you’re logging in from? I’d need to try this myself to see how it’s behaving in your site. s2Member® » Private Contact Form

Finally…. any way to bypass wp-login and just go to the site page with login widget?

The person would be taken to wp-login.php if the login failed, or he clicks the signup link, or the forgotten password link. If it’s after login, instead of the Login Welcome Page or the page where the widget is (depending on your setting), then I’d check for a plugin or the theme overriding it. See: Video » s2Member (Login Welcome Page Conflicts?)

Posted: Wednesday Jun 19th, 2013 at 7:35 am #52207

Ah, I see. Okay, let’s wait for it to happen again and get some log entries we can review, then. When you have them, please submit your site’s info and leave me a reply here letting me know. Thanks! s2Member® » Private Contact Form

Posted: Wednesday Jun 19th, 2013 at 7:34 am #52206

Ah, I see. So you’re migrating from another software. Knowledge Base » How to Migrate to s2Member Pro from Other Software

You’d just have to create the profile fields you need the user profile to have, create the CSV file with the users, and use s2Member’s import tool.

[hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]
Knowledge Base » Import (or Mass Update) Users

For the CSV file, it’s good to create a user manually from the dashboard, with all the custom profile fields having a value, and export with s2Member so you get the right CSV format. Then add rows for the users and import. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Exportation[/hilite]

I recommend that you use OpenOffice Calc to edit the CSV file.

Viewing 25 replies - 551 through 575 (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.