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,951 through 1,975 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday Mar 8th, 2013 at 6:25 am #44051

Hi Randall.

However when I try to get a download link to place on my site, there is an ‘missing key pair’ error.

Could you verify that your keys are correct in the CloudFront integration? [hilite path]Dashboard -› s2Member® -› Download Options -› Amazon® S3/CloudFront CDN Storage[/hilite]

Video » s2Member® File Downloads (Amazon S3/CloudFront/JW Player)

If you need to reset the integration to start again, this may be useful: http://www.s2member.com/forums/topic/cloudfront-err-400-unable-to-del-existing/#post-15884

I hope that helps. :)

Posted: Friday Mar 8th, 2013 at 5:59 am #44050

Hi Elayne.

I appreciate that he did eventually answer me but while he did provide some feedback on issues that I wasn’t experiencing, he didn’t address MY issues. MY difficulty is importing an amember database and his answer was about how to make the users screen look less cramped by unchecking the fields in screen options.

I mentioned that tip in case you found it helpful, but after I had addressed your questions before.

It seems impossible to make this work unless you are a developer.

But no coding is needed for it, the documentation explains the process and you said that you were able to do a test import successfully.

Elayne Whitfield said:
I did a test import of the users that I exported from amember and it seemed to work fine. It took me, who knows very little about 30 minutes.

I’m not sure what wasn’t addressed and what the problem is if you were able to do an import. I left you a reply in the other thread so we can continue it there. :)

Posted: Friday Mar 8th, 2013 at 5:49 am #44048

Regardless, I am able to upload the test.csv so that’s not the issue.

I don’t understand then what the problem you’re having is. I thought you were having difficulty importing the users, but you were able to.

What else did you need help with that wasn’t addressed? I’ll be happy to assist you.

Posted: Friday Mar 8th, 2013 at 5:44 am #44047

Hi Gary.

What do you need to tie it with s2Member for? Setting a higher level for the free user account? You may want to use a pro-form for the registration instead, and you won’t have a problem using it with s2Member. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms[/hilite]

I hope that helps. :)

Posted: Friday Mar 8th, 2013 at 5:41 am #44046

Hi Jim.

Sorry for the delay. Thanks for your patience. It’s been a busy week for us here. :P

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

About that error, I’d try the server check tool to see if it finds any problems, and I’d also verify that the PDT setting is correct.
Knowledge Base » Common Troubleshooting Tips » Server
[hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration[/hilite]

I deleted my checking account from the PayPal account I’m trying to pay with so the only source of funding is the same AMEX I successfully registered with. Alas, I get the same error.

Please make sure that the card you use to fund the PayPal account with which you’re paying the subscription, is not tied to the account you’re getting the payment with. You’re not using the same PayPal account to receive and make the payment, right?

As someone else with the issue pointed out, if I set a trial on the subscription, the Express transaction works.

Well, the trial will start, but it doesn’t mean the payment will be successful after that. I think it’s best to test the payments with 1 cent transactions without a trial until you make it work, then test with a trial if you want to give one.


I hope that helps. :)

Posted: Friday Mar 8th, 2013 at 5:00 am #44045

With the default registration page? Have you tried some of the anti-spam plugins? http://wordpress.org/extend/plugins/search.php?q=spam+registration

Posted: Friday Mar 8th, 2013 at 4:57 am #44044

Hi Anthony.

Thanks for sharing your hack.

Regarding the form I see in your page, it doesn’t look like a pro-form. Are you using a custom one? I see in the source code a div that mentions Theme My Login in the ID.

Posted: Friday Mar 8th, 2013 at 4:49 am #44043

Thanks for the info. I don’t know why you have all those login attempts when the restriction works for some customers.

Could you please submit your site’s info? Please let me know here when you send it. s2Member® » Private Contact Form

Thanks!

Posted: Friday Mar 8th, 2013 at 4:44 am #44041
Posted: Friday Mar 8th, 2013 at 4:33 am #44040

Thank you very much for the update, Stewart! I’m glad you sorted it out, although I’m sorry you’ll have to go through all that manual editing…

One final thing – you mention (as does the in plugin documentation) that setting RRA/MAXFAILEDPAYMENTS to zero will mean it won’t try again and terminate after the first attempt. This is incorrect. For the last two weeks I’ve had RRA set to zero, and all my new profiles since then are now set to “Never expire” in PayPal.

RRA/MAXFAILEDPAYMENTS must therefore be set to 1 if people want it to terminate after attempting 3 times in 15 days at the first renewal date.

I’ll notify Jason so he can review it. Thanks!

Posted: Friday Mar 8th, 2013 at 4:26 am #44039

Hi Alissa.

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

I hope that helps. :)

Posted: Friday Mar 8th, 2013 at 4:15 am #44037

I just looked up the string in the files and it doesn’t include the asterisk. Try with [hilite mono]Username (lowercase letters and/or numbers)[/hilite].

Posted: Friday Mar 8th, 2013 at 4:04 am #44036

Hi Deyson.

I can understand. You can disable logging, or you’ll have to edit the source files.

I did a search for the string [hilite mono]paypal-api.log[/hilite] in the files and found it in s2member/includes/classes/paypal-utilities.inc.php. As you can see there, the log just gets an export of all the vars available. You’ll need to edit those before they get put in the log.

So the edited file doesn’t get overwritten on update, you can work on a copy of the file in your must-use plugins directory. /wp-content/mu-plugins/

I hope that helps. :)

Posted: Friday Mar 8th, 2013 at 3:37 am #44034

Mary Grisolia said:

I’m so sorry that you’re having trouble with logging in, I know you’re busy and I appreciate you taking the time to look into my website.
My sites are hosted on GoDaddy and it seems that they’re having issues with some of their servers, including the one my websites are hosted. This has been going on since saturday and they said they don’t know when the issue will be resolved. The websites come up and down intermitently.

In the meantime, I created an account in Hostgator and moved some of websites over there to do some testing. Turns out the badge works perfect in that (Hostgator) server. One difference I observed with setup in Hostgator compared to GoDaddy is that an extra line in .htaccess was required for PHP files to work properly:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

Do you think this may have something to do with my badge issue?
I’m waiting for GoDaddy’s servers to come back to normal so I can log in to my account and add this line to my .htaccess file there. Once I do that I’ll let you know if the badge issue was solved or not.

Thanks and sorry again.
Have a great day!

Mary Grisolia said:

I wanted to let you know that FTP access has been reestablished, but I just cjecked this morning and the badge is working again! Yesterday I modified the .htaccess using the line of code I told you about but didn’t see a change at that moment. Today, it works :)
Either it was that (although I thought changes in .htaccess took place immediatly, and they didn’t in this case), or GoDaddy did something on their side and the badge issue was related to a hosting issue.
In any case, I’m very sorry to have bothered you with this as this wasn’t s2Member’s fault.
Thanks again, and please let me know if I can delete the user account I created for you.

Hey, that’s great news! Thanks for the update. I’m very glad it’s working for you again. :)

Sure, go ahead and remove the account, please, I don’t need to login now.

Posted: Friday Mar 8th, 2013 at 3:33 am #44032

Hi Jordan.

I can’t tell what the problem is from that log entry.

Could you please try all the advice in this article first: Knowledge Base » Common Troubleshooting Tips

If that doesn’t find the problem, could you please submit your site’s info so I can take a look at the settings and logs? Thanks! s2Member® » Private Contact Form

Posted: Thursday Mar 7th, 2013 at 6:31 pm #44014

Yes, I see. You need to consult with your webhost about those messages in the server check, since they’re things that need to be configured in your server.

I understand you can’t disable a live site for the tests. In that case, you can create a test WordPress installation in a directory, add just s2Member and test, then start adding the theme and other plugins testing after each.

Posted: Thursday Mar 7th, 2013 at 6:24 pm #44012

Well, registering doesn’t automatically log the user in. And if you’re giving the user a blog when he signs up, he should be the admin of that blog.

Or do you mean he’s registering in the child blog? In that case he should also be able to login after creating his account, not sure why he’d have a problem with that.

Ah, you’re using BuddyPress. Well, BP changes the registration process to begin with, at least in a normal installation, I’m guessing it does in multisite too.

I do know there was a problem related to multisite networks with BP, not sure if it’s related to your problem: Knowledge Base » Getting Around the BuddyPress 404 Error (Multisite Blog Farms)

I hope that helps.

Posted: Thursday Mar 7th, 2013 at 5:35 pm #43998

Ah, yes, I know what you’re talking about. And thanks for the kudos! :D

Posted: Thursday Mar 7th, 2013 at 5:28 pm #43995

If the user cancels his subscription and EOT has value set the end of the year, then made a Buy Now for two years, how will I know EOT of subscription that has been canceled?

Currently these times are not saved as a history, whatever the current EOT time is will overwrite the previous one. If you need to store these, you could use a notification together with a custom script to save them. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Cancellation Notifications[/hilite]

But if the EOT is not set, how can I get it?

You’d need to figure it out from the last payment time plus the period you sell, that’s what I’d try to do. So if last payment was on Mar 1 and you charge monthly, you can guess EOT would be Apr 1. Something like:

[hilite pre_code]
$estimated_eot_time = get_user_field('s2member_last_payment_time') + (date('t') * 24 * 60 * 60);
[/hilite]

http://php.net/date
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

I hope that helps. :)

Posted: Thursday Mar 7th, 2013 at 9:04 am #43952

Hi Lewis.

It looks like something is causing s2Member to determine the WP directory incorrectly. This is not something I’ve seen before, so it seems particular to your installation. It’s most probably a plugin or theme conflict.

Did you try deactivating every other plugin and using the default theme? Refresh the pro-form page, do you still have the problem? If not, then add back one by one those things you removed and reload the pro-form page after each to see if the problem returned.

Or as a test, install a separate copy of WordPress and add only s2Member, generate a pro-form shortcode and add it to a page. Can you reproduce the problem there?

Posted: Thursday Mar 7th, 2013 at 8:43 am #43951

Thanks for the update. I’m glad you could solve it. :)

Posted: Thursday Mar 7th, 2013 at 8:36 am #43949

Any hints on how to integrate the role selection in the registration and profile forms?

Well, you could modify the pro-form to add your own field, or use an s2Member custom profile field, and then catch it after the form is submitted to change the user role. Knowledge Base » s2Member® Pro Forms

You can probably use the [hilite mono]set_user_role[/hilite] hook in a hack to change the role to the one the user chose in his custom profile field.
Knowledge Base » Hacking s2Member® Via Hooks/Filters
http://adambrown.info/p/wp_hooks/hook/set_user_role
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

I hope that helps. :)

Posted: Thursday Mar 7th, 2013 at 8:28 am #43948

Hi Dave.

I’m very sorry about the delay, it’s been a busy week for us and we fell behind with some.

The problem I’m having is the regular online PayPal Pro Forms (Online payments) remember the users details if they are signed in but the PayPal Pro Free Registration Form does not, how can I fix this?

We need to get the pro-free form to recognise the logged-in user and remember the details so it jumps them back from #0 (Free Sub) to #2 (Gold Sub)

The thing is that the free registration pro-form is for registrations, so it was never meant to be prepopulated with an existing user’s info. And if it were, it’d try to create a new user, not update an existing one. This form is not for upgrades.

For free upgrades, you could create a customization that uses PHP to change the user’s role. You could have an upgrade link that includes a variable you pick up with your hack to know what role to change his account to.
Knowledge Base » Changing Roles/Capabilities via PHP
Knowledge Base » Hacking s2Member® Via Hooks/Filters
http://adambrown.info/p/wp_hooks/hook/wp_loaded

I hope that helps. :)

Posted: Thursday Mar 7th, 2013 at 8:05 am #43946

Great! I’m glad! Thanks for the update. :)

Posted: Thursday Mar 7th, 2013 at 8:04 am #43945

Dave, what Eduán said is correct.

One thing you could do to create a sort of payment history, is use the Payments Notification together with a custom script to store that info, or have the notification email the info to an email account to store all these and then search there. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications[/hilite]

I hope that helps. :)

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