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,476 through 5,500 (of 7,376 total)
Author Replies
Author Replies
Posted: Thursday Jun 14th, 2012 at 4:29 am #16415

Hi Robert.

The ccaps are stored as capabilities in usermeta. You’ll need to use PHP to get them.

[hilite pre_code]

[/hilite]

That’ll return an array. You’ll need to go throught it and pick out the ones that are s2Member custom capabilities.

The custom field is that whole string. You can explode it in PHP to get the cv1. http://php.net/explode

[hilite pre_code]

[/hilite]

I hope that helps. :)

Posted: Thursday Jun 14th, 2012 at 3:53 am #16414

Okay.

Do you have PayPal Pro or not? If you have PayPal Pro to get payments on your site, for the recurring payments you’ll need to pay PayPal that option too. You should contact PayPal support to get the recurring payments enabled in your account.

If you want to just use the free PayPal Express Checkout, then that’s simpler and cheaper, although the user will need to go to PayPal and login to his account to subscribe. In the pro-form’s shortcode change the [hilite mono]accept[/hilite] and [hilite mono]accept_via_paypal[/hilite] attributes to “paypal”: [hilite code]accept="paypal" accept_via_paypal="paypal"[/hilite].

Posted: Thursday Jun 14th, 2012 at 2:51 am #16412

Okay.

It should be [hilite mono]%%automatic%%[/hilite], not [hilite mono]$$automatic$$[/hilite].

Also, you can just point to a URL, like: http://yoursite.com/wp-admin/profile.php

Have you tried those?

Posted: Wednesday Jun 13th, 2012 at 9:30 pm #16410

Hi Lisa.

Well, I haven’t integrated it with an s2Member site yet, but you’d be using the MadMimi API.
https://madmimi.com/developer/api-client-libraries/example-code
https://madmimi.com/developer/api-client-libraries

It’d be something like this:

[hilite pre_code]
require('MadMimi.class.php');
$mailer = new MadMimi('your MadMimi email address', 'your MadMimi API key');

$user = array(
'add_list' => $_GET['list'],
'email' => $_GET['email'],
'firstName' => $_GET['first_name'],
'lastName' => $_GET['last_name'],
'ip' => $_GET['user_ip'],
);

$mailer->AddUser($user);
[/hilite]

Then you’d load the file with your code, using the registration notification. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Registration Notifications[/hilite]

You can use the other notifications and new code to, for example, move users between lists on upgrades.

If you don’t know PHP, I recommend that you get a freelancer to do this for you. You can try getting one from sites like elance.com, odesk.com or jobs.wordpress.net.

I hope that helps. :)

Posted: Wednesday Jun 13th, 2012 at 7:28 pm #16407

Thanks for the update, we’ll be looking forward to the next one. I hope they give you a solution soon. :)

Posted: Wednesday Jun 13th, 2012 at 7:25 pm #16406

Ah, got ya. No, the box for now just does AND.

I’ll check with Jason if there’s a way to hack this.

Posted: Wednesday Jun 13th, 2012 at 7:22 am #16355

Hi Stuart.

You can increase the memory limit. http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

I hope it helps. :)

Posted: Wednesday Jun 13th, 2012 at 7:00 am #16353

Hi Bonnie.

When you submit a coupon, the page gets loaded again, which is why the person is taken back to the top and the video starts playing from the beginning.

About the SSL, you only need to secure the page where you’ll take the payments with the Auth.Net pro-form, not every page on your site. The rest of the site can remain HTTP without the S.

To secure the page with the pro-form, you can use a custom field s2Member makes available for the page where you’re getting page.

This should help: Pre Sale FAQs » Do I need an SSL certificate to use PayPal® Pro or Authorize.Net®?

So, whatever you did to serve the whole site via HTTPS, you can remove. If it’s another plugin that does it, please deactivate it or it’ll most probably cause a problem, like the one you’re having now.

I hope this helps. :)

Posted: Wednesday Jun 13th, 2012 at 6:41 am #16352

Joe, Dave answered the questions quite well, but I’d like to add a few things:

1. This works PERFECTLY if you have a yahoo email but the subscriber never gets the email for their password if they use gmail? Yahoo mail works 100% of the time but we CANNOT get gmail to work?!?! I already submitted this question to the s2member forum which was answered by telling me to follow the instructions found here: (Knowledge Base » Troubleshooting Email Delivery Problems). I went through every step and still can’t get gmail email addresses to receive a confirmation email upon submitting a form. This is problem #1 – Please help me!!

I agree that it seems like a problem with Gmail not liking your server. If you don’t have your own IP, someone else you’re sharing the IP with may have been flagged for spam. Or who knows what the problem is. You should really contact your web host about this.

This is not an s2Member problem. s2Member uses the wp_mail function, which comes with WordPress.

Did you check if the emails to Gmail addresses are being sent? You can use the email logging plugin. http://wordpress.org/extend/plugins/email-log/

Are other emails from your site to Gmail addresses getting to their inboxes?

Lets say in (s2member>Auth.Net Pro-Forms) each of the forms (Authorize.Net Forms For Level #1 Access – through – Authorize.Net Forms For Level #6 Access) or otherwise (Modules 3 – 8) are setup like this:

I’ll offer the first 0 Days @ $0.00
Then, I want to charge: $50 / Monthly (recurring charge, for ongoing access)

This makes it to where you pay for access to Module 3 and you’re in – One month later it charges you again and now you have access to module 4 – Then 5, 6, 7, and 8.

2. Is this correct or not? Yes or no? If yes, then perfect! If no, can you please explain? :)

It gets tricky. The thing is that the subscriptions in s2Member are for a single level. s2Member doesn’t change the user’s Level after each monthly payment of the subscription. He’d remain at the same level and the new content would need to be dripped with conditionals in the body of the posts/pages.

The way content dripping works currently, is explained here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]. Basically the conditions would be checking how long ago the user paid for the level, and based on that decide whether to show the new content in the drip sequence. It doesn’t check following payments, those times aren’t available, only the first time for the level, and the conditions would be based off of that.

The shortcode for the Auth.Net pro-form has the [hilite mono]rrt[/hilite] attribute available, which you can use to specify the number of terms the payments will recur, instead of going on indefinitely. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Shortcode Attributes -> rrt[/hilite]

Now, what normally happens at the end of the last term paid, is what your Auto EOT Behavior setting says. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options -› Automatic EOT Behavior[/hilite]

Since you are giving lifetime access to the paid modules, you’d need to change the EOT setting so no demotion back to Level 0 happens. This is fine if someone pays all the terms, but if someone stops paying before, then the dripping of content will continue and, since he didn’t lose access, he’ll be shown the coming modules eventually.

Selling the modules individually with one-time payments, which is the one you set up already, is the one that would work for you with s2Member without customizations. From what you said, fixing the Gmail addresses problem would do the trick.

Now, if you want to customize the behavior a bit to do what you want, it may be possible to use the Notifications API in s2Member to load a script created by you, that will change the user’s Level after each new payment.

Video » s2Member (API Tracking/Notifications)
Knowledge Base » Changing Roles/Capabilities via PHP

If the payment doesn’t happen, then the notification won’t happen, so the script won’t be ran and the user won’t be moved to the new level. That would work for what you want. And payments would only be a set number if you use the rrt attribute, as mentioned earlier.

I hope that helps. :)

Posted: Wednesday Jun 13th, 2012 at 5:00 am #16349

Great! Thanks for the update. Let us know how it goes. :)

Posted: Wednesday Jun 13th, 2012 at 4:59 am #16348

Hi Marco.

That’d be a problem with the WP parser for shortcodes. I don’t think having it inside an HTML should be a problem. If your table is generated by another shortcode, then maybe nested shortcodes can cause an issue.

Could you show us your code for the table with the button, please? Thanks!

Posted: Wednesday Jun 13th, 2012 at 4:43 am #16347

Hi Jim. Sorry for the delayed response.

The s2member-logs and s2member-files folders should have been created on activation of s2Member, but if the server permissions didn’t allow it, that’d explain why you don’t have them.

You can add those folders manually to the /wp-content/plugins/ directory. Just make sure s2Member will be able to write to those, or no logs will be created.

To check your server and make sure there are no other problems, you can try this script Jason created. Upload it via FTP to your WordPress directory and load it in your browser, please. http://www.s2member.com/r/server-check-tool/

Once you get logs from your transactions, it’ll be easier to see what the issue may be with the PayPal checkout.

Did you double-check all your PayPal integration settings to make sure there are no errors there? [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

Are you using PayPal Pro or just Express Checkout with the pro-form? Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

Thanks!

Posted: Wednesday Jun 13th, 2012 at 4:27 am #16343

Hi Jim. Sorry for the delayed response.

Let me see, if you use the s2Member custom field to secure pages in a page that doesn’t load any files from your CDN, do you still get the error you mentioned first?

You may have a plugin that’s causing a conflict, it is a possibility, even the theme. A test you can do is use the default theme and reload the page to see if you get the problem. If not, try deactivating other plugins one by one, and see if check the secured page after each. I’d start with the caching plugin, so you can actually see the difference after each change in your tests.

I hope that helps. :)

Posted: Wednesday Jun 13th, 2012 at 3:49 am #16341

Hi Paul.

I haven’t seen that problem happen, so it seems specific to your installation. The only thing that comes to mind is another plugin causing a conflict there with s2Member.

You can run this test: leave s2Member active and deactivating the other plugins one by one, trying to reproduce the problem after each until it goes away, then the last one you deactivated would be the one conflicting.

I hope that helps. :)

Posted: Wednesday Jun 13th, 2012 at 3:43 am #16340

Hi Kris.

What could have happened is that the user wasn’t logged in to her account when she started the checkout process, so s2Member didn’t relate the payment to the existing account. Instead, it’ll tie the payment to the new account expected to be registered, which is when the New User email happens too. It’s possible the she didn’t create a new account, though, and instead logged in to the existing one. This would explain why the subscr ID isn’t in her profile.

If she’s already paying you through Amazon and now also PayPal, you’ll need to stop one of them so only one keeps going. You should be able to stop her subscription from your side.

I hope that helps!

Posted: Wednesday Jun 13th, 2012 at 12:05 am #16336

Good idea, Steve. Thanks for adding those keywords to the thread.

By the way, the code Jason posted needs to be edited a bit to customize the pro-form’s submit button’s text. You need to change the values for [hilite mono]$original[/hilite] and [hilite mono]$translated[/hilite] in his code.

I hope that helps. :)

Posted: Tuesday Jun 12th, 2012 at 11:40 pm #16335

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

Posted: Tuesday Jun 12th, 2012 at 11:36 pm #16332

lol, right, it is better! :P

It’s still odd, and I’m curious about what’s causing that behavior. Maybe another plugin is messing up with the wp_mail in WordPress? You’d need to deactivate the other plugins and test to confirm it.

Anyway, I’m glad that you now get the emails. Thanks for the update. :)

Posted: Tuesday Jun 12th, 2012 at 11:33 pm #16331

This particular attribute isn’t editable in the button generator’s interface, but you can generate the shortcode and then edit this manually without a problem.

s2Member will remove the access by default, but you can change this behavior from [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]. :)

Posted: Tuesday Jun 12th, 2012 at 11:26 pm #16329

I’m glad it helps! :)

Yeah, I know, we’re improving this. Thanks for the feedback.

Posted: Tuesday Jun 12th, 2012 at 10:01 pm #16314

You can use the pro-forms with PayPal Express Checkout too, which may be available in your country, even if PayPal Pro isn’t. Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

Or use the pro-forms with Authorize.Net, that’s the option you have if you want to get payments on your site, without taking the customer elsewhere.

I hope that helps. :)

Posted: Tuesday Jun 12th, 2012 at 9:58 pm #16313

You can use the pro-forms with Authorize.Net too. Features » Authorize.Net® Pro Form Integration (Also Popular) :)

Posted: Tuesday Jun 12th, 2012 at 9:55 pm #16312

Sure, you can control that in the conditions you write to show the content. For example, if a regular member would be shown something after 90 days, then you can also show it after only 30 days to those that have the custom capability “show60daysearlier” or something like that.

[hilite pre_code]
if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 90 OR
(current_user_can('access_s2member_ccap_show60daysearlier') AND S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30))
[/hilite]
Posted: Tuesday Jun 12th, 2012 at 7:55 am #16238

Hi Todd.

I’m afraid you will not be able to do that exactly. s2Member doesn’t have a cart to let the visitor select stuff to buy before doing the checkout. You have buttons that sell what you specified for them in the shortcode, and it can be dynamic if you use PHP in the shortcode, but you still need the rest of the stuff for a cart.

Also, although you can sell individual things using custom capabilities, they require a user account. Specific Post/Page restriction works without an account, but then you’d have to buy the access to the pages in pre-configured bundles, or all of them individually in separate purchases, which isn’t practical.

You can check out what the restrictions let you do and not, in the free version of s2Member. The Pro add-on would add the ccBill gateway, but the rest of what you want you can try now without purchasing.

I hope that helps.

Posted: Tuesday Jun 12th, 2012 at 7:49 am #16235

Hi Tim.

Let me check this with Jason. I’m emailing him now.

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