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 - 5,176 through 5,200 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Jun 26th, 2012 at 11:52 pm #17612

Where are you trying the code?

In a WP page? When trying he PHP code, do you have a PHP execution plugin active?

If outside WP, then the s2Member function won’t work.

Do not access this file directly.

Could you post a copy of the full code you’re using?

Posted: Tuesday Jun 26th, 2012 at 11:49 pm #17611

Hi Victor.

This post by Jason gives some tips on how to search by a custom profile field: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15658&p=48878#p48878

Other than that, there’s this members directory plugin that has support for s2Member’s fields:
http://wordpress.org/extend/plugins/amr-users/
http://wpusersplugin.com/3086/user-lists-and-filtering-with-s2member-fields/

I hope that helps. :)

Posted: Tuesday Jun 26th, 2012 at 11:43 pm #17610

Hi Brenda.

I’m not sure I understand. Do you mean the user’s PayPal email address or the one they registered with? The PayPal one is not stored by s2, the registration one is there in WordPress and editable. I’m guessing you mean the PayPal one. Could you confirm?

Thanks. :)

Posted: Tuesday Jun 26th, 2012 at 7:08 am #17520

Thanks, got your email.

There’s a JavaScript problem. Either your theme or another plugin is not loading its JS properly and causing a conflict.

Try a test changing the theme to the default one and check the pro-form again. If you still have the problem, start deactivating other plugins one by one and checking after each.

I hope that helps. :)

Posted: Tuesday Jun 26th, 2012 at 6:49 am #17517

Could you post a screenshot of the error, please?

I’d also like to see the logs. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite]

Please put the s2member-logs folder in a zip file, upload it to your server and send the link to it using the contact form, or send the FTP login info and I can get them directly. s2Member® » Private Contact Form

Also include a link to the page where you have the PayPal button or pro-form, please.

Thanks.

Posted: Tuesday Jun 26th, 2012 at 6:32 am #17515

No problem. :)

Posted: Tuesday Jun 26th, 2012 at 6:31 am #17514

Yeah, please enable it and, if the problem happens again, post the log entries.

Thanks!

Posted: Tuesday Jun 26th, 2012 at 6:28 am #17513

This should do it:

Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

Tip: If you ONLY offer PayPal® Express Checkout, you might like to hide the entire Billing Method section of your Pro Form. This can be accomplished via CSS, with the following style. This goes into your theme’s style.css file.

[hilite pre_code]
div.s2member-pro-paypal-form-billing-method-section {display: none;}
[/hilite]
Posted: Tuesday Jun 26th, 2012 at 6:15 am #17512

Hi Marco.

Levels give incremental access, so Level 2 will have access to content at Level 1 as well.

About the custom profile fields, you can specify what levels the field will be for. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> New/Edit Field -> Applicable Membership Levels[/hilite]

Now, you’d need to ask the user to complete his profile after he upgrades. You can use the success attribute so he’s taken to a page where you tell him to add those new fields and give a link to the profile page, or add it there with the s2Member shortcode for it.

[hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> success[/hilite]
[hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success[/hilite]

[hilite path]Dashboard -› s2Member® -› General Options -› Member Profile Modifications[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Member Profile Modifications[/hilite]

I hope that helps.

Posted: Tuesday Jun 26th, 2012 at 5:57 am #17510

Could you post a link to the page where the pro-form is, please? You can use the contact form if you don’t want to make it public. s2Member® » Private Contact Form

Thanks.

Posted: Tuesday Jun 26th, 2012 at 5:43 am #17509

I think that’s it, but I’ll email him to confirm.

Posted: Tuesday Jun 26th, 2012 at 5:41 am #17508

Hi Jeff.

If you set up PayPal to return people to your site after a payment then, when they get to your site s2Member doesn’t get the custom attribute it expects. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> custom[/hilite]

Maybe it’s that?

Do you have your logs? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite]

Posted: Tuesday Jun 26th, 2012 at 5:29 am #17506

No update yet. He should get to the email soon.

I don’t know what to tell you about the emails, though. Could you try creating a free account here with a Gmail address, posting a reply to this thread and then log back in to your regular account and post another reply here to see if you got the notification for the test account?

Posted: Tuesday Jun 26th, 2012 at 5:17 am #17503

I don’t know, but will ask Jason, who’s the one that made the videos.

Have you searched for royalty free audio clips? http://www.google.com/search?q=royalty+free+audio

Posted: Tuesday Jun 26th, 2012 at 4:25 am #17500

David, to load 2Member selectively depending on the page, you may want to try the Plugin Organizer plugin. http://wordpress.org/extend/plugins/plugin-organizer/

I’m not sure how the JS can be moved to the footer, but I’ll ask Jason if he has a simple hack for that.

Posted: Tuesday Jun 26th, 2012 at 4:19 am #17499

I haven’t checked latetly, but am pretty sure it’s an entry in usermeta. If you created a new user, then the login OTO should have worked, it wouldn’t have counted another user’s logins.

Are you using the Post Registration Autologin hack? I seem to remember you are. s2Member will count that login too, if I’m not mistaken, so maybe that threw your count off when you tested?

Posted: Tuesday Jun 26th, 2012 at 4:06 am #17496

Kati, thanks for showing him that thread.

Andy, although we’re working on improving it, it’s still not a problem that most users are having, just a few. This indicates that it’s likely to be something in your installation that causes these load times to happen.

Since s2Member’s JS and CSS are being generated dynamically. You can store the CSS in a static file, as mentioned in other threads, but the JS has user specific info that can’t be cached as a static file to serve everyone.

Because it checks access permissions and WP user data, it loads through WP, although a slimmer version of WP. So, whatever you can do to improve WordPress’ time, will improve the load times of s2Member’s CSS and JS.

Sometimes, as a test, you need to deactivate other plugins one by one and check the load times after each. Then you may find one that is causing a conflict in some way. I know the JS file is s2Member’s, but remember that it’s loaded through WordPress.

For caching, Jason’s QuickCache plugin is very effective and helps.

Another trick a site owner that had this problem months ago used, was to use a plugin that let him enable s2Member in some pages only, the protected ones. I think he used Plugin Organizer.

Of course, like mentioned in the other thread, we’re improving s2Member removing all the dynamic parts from the JS file, so it’s static and this isn’t an issue anymore.

I hope that helps. :)

Posted: Monday Jun 25th, 2012 at 11:35 pm #17448

Hi Sepano.

Thanks for reporting it. I’m notifying Jason now so he looks into it.

Posted: Monday Jun 25th, 2012 at 11:33 pm #17447

Yeah, that’s what it was ouputing before, which is why you had the error, the code for the button is not a valid URL to redirect to.

What I don’t understand is why the [hilite mono]output[/hilite] attribute in the shortcode is not working in this version of the hack. I emailed Jason asking him what he thinks.

Posted: Monday Jun 25th, 2012 at 11:30 pm #17446

Hi Maxim.

No, the custom profile fields don’t support file uploads.

You may want to look for a plugin that lets your users upload profile images. I believe there must be something for that already. http://wordpress.org/extend/plugins/

I hope you find a good one. :)

Posted: Monday Jun 25th, 2012 at 11:27 pm #17445

In your PayPal integration you’d use your Express Checkout API credentials. [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

And you have to edit the [hilite mono]accept[/hilite] and [hilite mono]accept_via_paypal[/hilite] attributes in your shortcode, like this:

[hilite pre_code]
[[s2Member-Pro-PayPal-Form level="2" ccaps="" desc="Silver Member / Description and pricing details here." ps="paypal" lc="ZA" cc="USD" dg="0" ns="1" custom="salearnerslicense.co.za" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal,visa,mastercard,amex,discover,maestro,solo" coupon="" accept_coupons="1" default_country_code="ZA" captcha="0" /]]
[/hilite]

Will it pre-populate fields for existing level 1 members?

If the user is logged in, his profile fields will be prepopulated in the pro-form, yes.

Posted: Monday Jun 25th, 2012 at 11:13 pm #17442

Cool. :)

Posted: Monday Jun 25th, 2012 at 11:13 pm #17441

I fixed all problems with removing better wp security plugin. I made security alone.

Cool. Glad you solved those problems.

when I try to make new register there is a message: “PayPal® configuration error. Please configure your PayPal® Email Address”.

Ah, although you don’t need PayPal for free registrations, because there isn’t a payment, since it’s a PayPal pro-form, s2Member expects the PayPal integration configured. You can just enter fake values if you’re not going to use PayPal to get payments. [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

I hope that helps. :)

Posted: Monday Jun 25th, 2012 at 11:06 pm #17439

Hey there.

The most probable reason is that the user wasn’t logged in to his account when he started the checkout.

Could you post the log entries for that user’s transaction? (x’ing out any private info, like email address) [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite]

Thanks.

Posted: Monday Jun 25th, 2012 at 5:46 pm #17421

Great! Thanks for confirming it. Glad it solved the problem. :)

Viewing 25 replies - 5,176 through 5,200 (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.