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,376 through 1,400 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday Apr 12th, 2013 at 6:04 am #47288

You can use PHP for the condition. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

[hilite pre_code]

Content for users with Level 1 access that don't have an EOT time.

[/hilite]
Posted: Friday Apr 12th, 2013 at 5:47 am #47287

s2Member Pro integrates with PayPal Standard, Express Checkout and Pro, with Authorize.Net, ClickBank, Google Checkout… See if one of those supports your currency. http://www.s2member.com/pro/

If not, you could integrate a new payment gateway on your own, but that’s very advanced. In case you want to try it, looking at how the currently supported payment gateways are integrated would help. The PayPal IPN w/ Proxy Key is also an option. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration -> Proxy Key[/hilite]

Posted: Friday Apr 12th, 2013 at 5:41 am #47285

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

Posted: Friday Apr 12th, 2013 at 5:38 am #47284

Hi James.

So you can open the protected file with other browsers, and only Safari can’t?

Are you using the s2member-files folder or Amazon S3?

Have you tried these tips? Knowledge Base » Resolving Problems with File Downloads

Have you tried using the mod_rewrite format for the URL? [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

Posted: Friday Apr 12th, 2013 at 5:35 am #47283

Now is there a way you can point me to where s2member is inserting my custom field values into the wp_usermeta table?

I haven’t really checked, but am guessing s2member/includes/classes/custom-reg-fields.inc.php.

But rather than modifying how s2Member stores those, I think it’ll be simpler to modify your script to use s2Member’s default. These functions may help:

http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_s2member_custom_fields()
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field()

Posted: Friday Apr 12th, 2013 at 5:30 am #47282

Thanks a lot for you answer. Is the code you posted complete? I mean, there’s no closing php tag. Is it supposed to be like that? (haven’t tried it)

That’s not a problem. We post the hacks like that to prevent some site owners from leaving a space or linebreak after the closing PHP tag and getting errors for outputting to the browser before the headers. Of course, if you want to put together more than one hack in a single file, you’d remove the opening PHP tag from the following ones, since you only need it once, at the very beginning of the file.

Also, I don’t quite understand what the functions does, so would it do this:

I had not reviewed the code, I just copy/pasted what Jason replied. I read it now and what it does is only process the list server removal if the event is an ‘ipn-refund-reversal-demotion’ or ‘ipn-cancellation-expiration-demotion’.

And lastly, what should I choose in the configuration for automatic list removal? should any of the checkbox need to be checked or none?

I’m guessing checked, otherwise no one will be removed, but please run your tests to make sure it does what you want.

Posted: Friday Apr 12th, 2013 at 5:21 am #47281

That’s great! Thanks for the update. I’m glad you could sort it out. :)

Posted: Friday Apr 12th, 2013 at 5:20 am #47280

Hi Dirk.

(2::1 Y), which I guess in this case stands for membership level 2, 1 year access

That’s correct.

can I change the article number content to something different, like “1 year Premium Access”?

No, that’s the format s2Member expects for it, but you can enter “1 year Premium Access” in the description.

Posted: Friday Apr 12th, 2013 at 5:14 am #47279

No, you’re using an equal sign (=) in the mod_rewrite one, but it should be a dash (-). [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

Try this:

http://localhost/wpfinal/wp-content/plugins/s2member-files/s2member-file-download-key-33df11dcdbb8b788d42374437931fa92/825ce31dc53c452b50a3c300569f4d6c.mp3

You may need to update the download key, though. Try opening the file like that first, then try it in the player.

Posted: Friday Apr 12th, 2013 at 5:09 am #47278

Great. Thanks for the update. :)

Posted: Thursday Apr 11th, 2013 at 10:51 pm #47260

Thanks, got the email and could login. I’m forwarding it to Jason.

Posted: Thursday Apr 11th, 2013 at 9:37 am #47194

Thanks, got the email, but I couldn’t login with the dashboard credentials you submitted. I tried the FTP password and that worked.

Sorry for the long wait. But I had to wait for a 12hour membership to be sold, and we mostly get 1 month memberships.

Could you tell me what user it was? And something to recognize his entries in the logs, please. Thanks!

Also, please tell me where to find the button/form for the 12hr membership, so I can look at the shortcode and try it in another page changing the amount to 1 cent for my test.

Posted: Thursday Apr 11th, 2013 at 9:23 am #47193

:)

You can find your posts in your forum profile page: http://www.s2member.com/forums/users/zeeflo/

Posted: Thursday Apr 11th, 2013 at 9:18 am #47192

Hmm… I have never used Post Affiliate Pro, so I’m not sure I understand those messages. Why does it say s2Member if those aren’t things s2Member does?

How did you integrate it? Withe the Tracking or the Notifications API? Did you review the code/URL you entered there to make sure everything’s correct? And is s2Member loading the URL/code correctly? [hilite path]Dashboard -› s2Member® -› Notifications / Tracking[/hilite]

By the way, s2Member now can do HTTP connection logging, which may help you debug. [hilite path]Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File -> Additional Logging Routines[/hilite]

Posted: Thursday Apr 11th, 2013 at 9:08 am #47191

Hi Bruno.

Check out the settings here: [hilite path]Dashboard -› s2Member® -› API / List Servers -› Automate Unsubscribes/Opt-Outs[/hilite]

Posted: Thursday Apr 11th, 2013 at 9:07 am #47188

What do the variables at the end of the Membership Options page URL say regarding the restriction applied when this happens? [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

Posted: Thursday Apr 11th, 2013 at 9:04 am #47185

Since the file’s address is at the end of the player’s URL, I’d use the mod_rewrite format. [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

Posted: Thursday Apr 11th, 2013 at 8:56 am #47184

One thing that happened recently is when I upgraded to 130604 I forgot to upgrade the Pro until later in the day. I saw where that can cause problems – that is why I performed the reinstall step(s) above.

That’d just remove the Pro features from your installation until you updated it to the matching version, but no settings would be lost.

By the way, you do have the Deactivation Safeguards enabled, right? [hilite path]Dashboard -› s2Member® -› General Options -› Deactivation Safeguards[/hilite]

I use shortcode conditionals throughout the site and those instances are recognizing the user level. So it appears this problem is isolated to protected pages.

Yeah, this is very odd. Definitely not a standard behavior of s2Member…

Could you create a new test installation of WordPress in another directory with just s2Member and try the Login Welcome redirection there? Knowledge Base » Common Troubleshooting Tips

If you can reproduce it there, could you please submit your site’s info so we take a look at it? Let me know when you send it. s2Member® » Private Contact Form

Posted: Thursday Apr 11th, 2013 at 8:40 am #47183

No problem. :)

Posted: Thursday Apr 11th, 2013 at 8:40 am #47182

Thanks for the kudos! Very glad you like it. :)

AWeber does throw an error if you try to subscribe using an AWeber form and your email address is already present. That’s why I was surprised not to see the same or similar behaviour when going through s2Member.

I see. The thing is that s2Member is not using the AWeber API, it’s sending an email to subscribe the user, so it doesn’t hear back from AWeber or the problem. We’re improving the integration for a future release, but the current s2Member works this way.

Yeah, it’d be great if you have a setting in AWeber that could help.

Posted: Thursday Apr 11th, 2013 at 8:37 am #47181

I’m also receiving a global WP issue that add’s backslashes to everything in the database attempting to escape it… might this have caused an error when s2Member saved the data?

It may have.

I’d create a new tests installation of WP with just s2Member and create the two same fields to see if you can reproduce the problem like that. Knowledge Base » Common Troubleshooting Tips

If you can reproduce it in the clean installation, please submit your site’s info and tell us how to reproduce it with a step-by-step, please, so we can investigate it. s2Member® » Private Contact Form

I searched the database and I can’t find where this information is stored locally.

It’s most likely in a serialized array in the options table for the fields definitions, and the usermeta table for the user input. Search for s2, it’ll help find the rows related to s2Member.

Posted: Thursday Apr 11th, 2013 at 8:27 am #47179

In the user’s profile. :)

Posted: Thursday Apr 11th, 2013 at 8:16 am #47176

we had to remove it, it was bloated with things we didn’t need and interfered with the construct of the design and function.

JavaScript is required for a Pro Form to function as intended, because that’s the way it was built.

if the form and process is Javascript dependent, it’s built of straw.

Pro-forms use an [hilite code]input type="submit"[/hilite] button, so it can be submitted without our JavaScript file. However, the display of certain fields (based on user interaction with the Pro Form) and the overall look and feel of a default pro-form are dependent upon the JS file. If you remove the JS file without duplicating and/or supplementing the default behavior, there will be problems.

array(1) {
  ["response"]=>
  string(109) "<strong>Thank you.</strong> Your account has been approved.<br />&mdash; You'll receive an email momentarily."
}

If it’s there in the var_dump, I don’t know why it’s not being displayed. What I’d do is start with a clean installation, verify it’s working correctly, and then add one tweak at a time, testing after each to notice what breaks it.

And I’d also test with live, 1 cent transactions rather than the Sandbox. I’ve seen the Sandbox give its own set of problems that don’t happen with live transactions, so it just adds more unnecessary work and trouble sometimes.

By the way, have you tried using the success attribute to instead show the person another page after checkout? It may help avoid the no-content problem. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success[/hilite]

Posted: Thursday Apr 11th, 2013 at 7:48 am #47175

Glad I could help! :)

Posted: Thursday Apr 11th, 2013 at 7:43 am #47173

I did comment out line 752

Ah, but that one isn’t part of what Jason said could be removed in the post you referenced for this. http://www.s2member.com/forums/topic/authorize-net-proforms-can-i-disable-fields/

also comment out line 614 this solves everything:

So you got it working with that and your tests are all fine?

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