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 - 1,101 through 1,125 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday May 3rd, 2013 at 8:24 pm #49167

I watched the video and the bug mentioned there is for firefox. I am using Chrome…what else do you suggest?

The [hilite mono]redirect_to[/hilite] variable explained in the Login Welcome Page Conflicts video, is independent of the browser used.

The tool suggested, Firebug, is a Firefox add-on, but I think is also available for Chrome. https://getfirebug.com/releases/lite/chrome/

And there are other tools you can try for this, but even just viewing the source code of the page (possible in any browser) and looking for the login form, you’d see the input fields it has.

Posted: Friday May 3rd, 2013 at 8:03 pm #49166

Have you tested deactivating s2Member and other plugins to see if the errors go away to confirm what the theme conflicts with?

Posted: Friday May 3rd, 2013 at 7:33 pm #49164

I have copied this file to my theme folder [a child-theme]

But with no result.

It won’t work in the child theme dir, try the main theme’s. http://www.s2member.com/kb/pro-forms/#customizing-pro-forms

Posted: Friday May 3rd, 2013 at 6:49 pm #49161

Example:

[hilite pre_code]
echo do_shortcode('[[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="Blog To $100K Disks + Membership Access" custom="blogto100k.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="anchor" /]]');
[/hilite]
Posted: Friday May 3rd, 2013 at 5:25 pm #49145

1. How we integrate s2Member Recurring Billing service.

Billing is managed by the payment gateway, not s2Member. Do you mean the PayPal Pro Recurring Billing service?

2. Is this available in Australia.

You’d have to check with PayPal Australia if PayPal Pro is available there.

3. How we create Payflow API.

You don’t create it, you get it with PayPal Pro PayFlow Edition, if that’s the edition you get of PayPal Pro instead of the one that uses the PayPal Pro API.

See also: Knowledge Base » PayPal Pro, PayFlow, DPRP, Express Checkout

Posted: Friday May 3rd, 2013 at 5:21 pm #49144

To be certain I tried it again before replying and it redirects me to the members options page

If you’re not logged in, you will be sent to the Membership Options page, since it’s a protected file. If you’re logged in to your admin account, you would not be redirected, since s2Member restrictions don’t apply to administrators.

Posted: Friday May 3rd, 2013 at 5:16 pm #49143

You’d add it to the shortcode:

[[s2Member-PayPal-Button level="1" ccaps="" desc="Membership" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.mdtvip.com" ta="9.98" tp="30" tt="D" ra="9.99" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" success="http://www.mdtvip.com/wp-login.php?action=register" /]]

Please read the documentation for the success attribute here: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

Also, will this code work in a disabled registration? Meaning ONLY for paid members of level 1 access.

Yes. See my earlier reply: http://www.s2member.com/forums/topic/create-profile-after-payment-members-only/#post-49047

It’d really be quick and helpful for you to just do a few test purchases for 1 cent, and see with your own experience how it all works.

Posted: Friday May 3rd, 2013 at 2:14 pm #49139

Resolved!

Great! Glad you found the conflict causing you the problem.

Would this work fine, and be an effective way of handling it, or is there a better way to have this system?

To drip the ccaps? That would be fine, but that code will keep adding the cap without checking if he already had it.

Maybe you could do something like this (haven’t tested it):

[hilite pre_code]
'product1',
7 => 'product2',
31 => 'product3',
39 => 'product4',
);

foreach ($days_ccap as $days => $ccap) {
if (!current_user_can('access_s2member_ccap_'.$ccap) && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= $days) {
$user = new WP_User(S2MEMBER_CURRENT_USER_ID);
$user->add_cap('access_s2member_ccap_'.$ccap);
}
}
}
?>
[/hilite]

Posted: Friday May 3rd, 2013 at 1:59 pm #49137

Awesome! I’m so glad. :)

Have a great launch!

Posted: Friday May 3rd, 2013 at 1:56 pm #49134

If using shortcodes for 4 buttons on the same page is being slow for you, you could try using buttons created over at PayPal. Knowledge Base » Using Buttons Generated @ PayPal.com

To have one button instead of 4, after you created the above, you can try having a dropdown in the HTML form and make the button’s ID a select dropdown with the IDs as values and the payment plan as the description.

Posted: Friday May 3rd, 2013 at 1:47 pm #49132

So the user had a subscription with you and then made a buy-now purchase, which caused the subscription’s cancellation?

I’ll ask Jason about this, too.

Posted: Friday May 3rd, 2013 at 1:22 pm #49130

Here is what paypal say:

Payment details
Payment type Amount due each cycle Total cycles Remaining cycles Cycle frequency Amount sent

Initial Payment £0.01 GBP – — – £0.00 GBP

It says 1 cent there, have you asked PayPal why they’re rounding it down to 0? Have you tried another amount for the initial term?

Posted: Friday May 3rd, 2013 at 2:51 am #49097

I’ve run a clean install, and it hasn’t worked. You can see the page for yourself here; http://thegoldenwarriorsoflight.com/membership-registration/GBP/

That’s not a clean installation, it has a custom theme. Try with the default theme, please.

If you added any plugins other than s2Member, please deactivate them for the test too.

Knowledge Base » Common Troubleshooting Tips

That should have the pro-form working/looking correctly again. Then you can add things one by one, reloading the pro-form page after each to check if the problem returned with your last addition.

Posted: Friday May 3rd, 2013 at 2:48 am #49096

Please see: Video » s2Member (Login Welcome Page Conflicts?).

Please try these, particularly the theme and plugins ones: Knowledge Base » Common Troubleshooting Tips.

Posted: Friday May 3rd, 2013 at 2:44 am #49094
Posted: Friday May 3rd, 2013 at 2:42 am #49093

That’s the way the PayPal buttons integration already works, except for the return, which goes to an s2Member return page with a link to then register the account. You can try skipping that page using the [hilite mono]success[/hilite] attribute, pointing to wp-login.php?action=register. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]

Posted: Friday May 3rd, 2013 at 2:38 am #49091

Okay. Check the documentation I pointed you to then.

And for the role capabilities, editing the [hilite mono]s2member_level2[/hilite] role and remove the [hilite mono]access_s2member_level1[/hilite] capability may be all you need.

Remember to lock the roles after you edit so they’re not changed back to default after an s2Member update. Knowledge Base » Locking s2Member Roles/Capabilities

Posted: Friday May 3rd, 2013 at 2:35 am #49089

http://fernleafconsulting.co.uk/?s2member_file_download=s3-eu-west-1.amazonaws.com/fernleaf/CodeCanyon.pdf

Just enter the filename, not the S3 address. s2Member will create the S3 URL based on the filename and your Amazon settings in the Download Options page.

http://fernleafconsulting.co.uk/?s2member_file_download=CodeCanyon.pdf

Then I wanted to store videos on S3 that I wanted people with 0 to see and …. I can’t see how. How do I set some to 0 and some to 1.

See the documentation here, please: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Custom Capability and Member Level Files[/hilite]

Posted: Friday May 3rd, 2013 at 2:29 am #49088

Great! Thanks for the update. :)

Posted: Friday May 3rd, 2013 at 2:27 am #49087

No, “url” is the actual value you’d enter there. It’s the kind of output you want the shortcode to give. So, instead of the HTML for a button image linked to the ClickBank order URL, it’d just output the URL. To that URL you can add at the end your other variable to test if it works.

[[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="My Product Access / description and pricing details here." custom="mysite.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="url" /]]&cbskin=4786

You’d use that to link your custom button image, like this:

<a href="[[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="My Product Access / description and pricing details here." custom="mysite.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="url" /]]&cbskin=4786" /><img src="http://mysite.com/wp-content/uploads/2013/03/tt-buy-now-button.png" /></a>
Posted: Friday May 3rd, 2013 at 2:19 am #49086

Great! Thanks for the update. I’m informing Jason so he can investigate it. :)

Posted: Friday May 3rd, 2013 at 2:12 am #49085

You can do that with PayPal Standard buttons, setting regular payments to only be three of $500 every 4 months.

To recur only a set number of times, use the [hilite mono]rrt[/hilite] attribute. See: [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> rrt[/hilite]

Posted: Friday May 3rd, 2013 at 2:03 am #49084

That shortcode is for the PayPal Standard buttons. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons[/hilite]

You can integrate with Express Checkout, but that’d be with the pro-forms. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms[/hilite]

They don’t require PayPal Pro, you can have just Express Checkout if you change the [hilite mono]accept[/hilite] attribute to just paypal: [hilite mono]accept="paypal"[/hilite]. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> accept[/hilite]

Posted: Friday May 3rd, 2013 at 1:58 am #49083

Okay. Test that please.

And feel free to submit your site’s info if you’d like me to take a look at these conditionals in a post to see how they’re behaving and if I can spot what may be causing it. Let me know here after you sent it so I look for the email, please. s2Member® » Private Contact Form

Posted: Friday May 3rd, 2013 at 12:13 am #49074

Okay, got it on the double login. Did they answer if the two accounts are connected or not?

Viewing 25 replies - 1,101 through 1,125 (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.