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.

Raam Dev

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 1,501 through 1,525 (of 2,567 total)
Author Replies
Author Replies
Posted: Tuesday Jul 3rd, 2012 at 3:37 am #18134
Raam Dev
Username: Raam
Staff Member

Pete,

You’re welcome. In the future, you can click on the little magnifying glass icon in the top right of the code box. That will open a new window with just the code and you can copy and paste that.

Posted: Tuesday Jul 3rd, 2012 at 3:25 am #18133
Raam Dev
Username: Raam
Staff Member

Hi Zoe,

Congrats on your new job! :)

The problem you’re having is outside the the scope of s2Member’s support, but if the get_user_field() function is returning empty I suggest starting there: Does that function successfully return other user fields? If not, then is the user_id being passed properly? If other fields work, are you sure the date_recorded data is being stored in the database in the same way that other user fields are being stored?

I hope helps you narrow down the issue! :) If you’re still stuck, I suggest asking your question on the WordPress.org Support Forums or even Stack Overflow.

Posted: Saturday Jun 30th, 2012 at 7:36 am #17945
Raam Dev
Username: Raam
Staff Member

Hi Brian,

If the PayPal button you’re using (for signups, subscriptions, whatever it is…) is a hosted button that you created on PayPal.com, then you will need to regenerate your PayPal button. (I’m fairly certain that PayPal-hosted buttons record your merchant information at the time you generate the button and store that information encrypted in the button itself.)

If you’re using an s2Member-generated PayPal button, the “Merchant information” in that email comes directly from PayPal’s website and you’ll need to update that information from your PayPal account. s2Member does not store or pass along any of that Merchant Information data.

Posted: Saturday Jun 30th, 2012 at 7:29 am #17944
Raam Dev
Username: Raam
Staff Member

Alex,

It’s possible that the Security Header error is the result of your custom integration. I have no way of “checking if Express Checkout is working” on your account until I can perform a test checkout.

My only suggestions for resolving the Security Header error message are to recheck your PayPal IPN and PDT integration settings (Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration and Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration) — make sure all the settings match correctly (API username, password, signature, etc.). You may also want to enable logging (Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging) and see if anything useful shows up in there.

With custom integrations like the one you’re doing, it’s hard for us to diagnose problems, as they may be related to the custom integration. As per our support policy, we’re unable to assist with diagnosing custom integrations. To test if the custom integration is causing problems I suggest setting up a second test site using a fresh copy of the s2Member plugin and testing from there as well.

Posted: Saturday Jun 30th, 2012 at 7:21 am #17943
Raam Dev
Username: Raam
Staff Member

Hi Hody,

Did you make sure that Deactivation Safeguards were enabled in Dashboard -› s2Member® -› General Options -› Deactivation Safeguards?

If they’re already enabled, could you please explain what you mean by “deploy your website to a new URL”?

Posted: Saturday Jun 30th, 2012 at 7:19 am #17942
Raam Dev
Username: Raam
Staff Member

Hi Arthur,

Currently s2Member only supports Amazon S3 and CloudFront. All the s2Member source code is available, so if you needed to write your own integration, that would be possible.

Posted: Saturday Jun 30th, 2012 at 7:15 am #17940
Raam Dev
Username: Raam
Staff Member

Hi Boudewijn,

Extending the functionality of the <!– more –> tag is outside the scope of s2Member’s support, however there is another way to handle this:

When s2Member redirects someone to the Membership Options Page, it includes several variables about where the redirection came from (which page was attempting to be accessed, level required, etc.). On your Membership Options Page you can read these variables to determine where the visitor might have been redirected from and then display the correct content (i.e., the correct payment options).

Please see Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars) for more information, including several code samples that should help you get started.

Posted: Saturday Jun 30th, 2012 at 7:03 am #17939
Raam Dev
Username: Raam
Staff Member

Hi Pete,

There were a few problems with my code. Please try the updated version below:

<?php
add_action('ws_plugin__s2member_after_handle_profile_modifications', 'update_user_url');
function update_user_url($vars = array())
{
	$user = $vars&#91;'user'&#93;; // A WP_User object instance.
	wp_update_user( array ('ID' => $user->ID, 'user_url' => $_POST['ws_plugin__s2member_profile_website']) ) ;
}
?>

This code uses the wp_update_user() function instead of update_user_option(). Also note that s2Member dynamically adds the prefix ws_plugin__s2member_profile_ to the name of your custom registration field.

Posted: Saturday Jun 30th, 2012 at 6:25 am #17934
Raam Dev
Username: Raam
Staff Member

Hi Julian,

That information is currently stored in the user_meta table. If you do a search WHERE meta_key LIKE ‘%s2member%’ you should find the necessary data.

Based on what you’re trying to do, it might be easier to use the s2Member hooks and write some code that stores the information you need in a separate lookup table. From a coding standpoint, this would be simple using the s2Member hooks for PayPal (for recording new subscriptions) and for the Auto EOT System (for recording cancellations, end of terms, etc.).

Posted: Saturday Jun 30th, 2012 at 6:14 am #17930
Raam Dev
Username: Raam
Staff Member

Zoe,

I suggest trying the hack that Jason mentioned in that other post. If you’re using the same web host as you were for that problem, there’s a good chance that will fix it.

Posted: Saturday Jun 30th, 2012 at 6:10 am #17928
Raam Dev
Username: Raam
Staff Member

Hi Douglas,

What level of s2Member access is required to access the video? If you restricted the video to Level 2 access, for example, then you must make sure the user’s Membership Level is set to Level 2 or higher (you can choose the membership level when adding a new user, or when editing their account).

When adding an account manually (when, for example, the user pays for the membership offline), these notes may be helpful: Pre Sale FAQs » Can I create new Membership accounts manually with s2Member?. (Most of that info applies to scenarios where you want to manually add a user who has already paid you using PayPal or another payment gateway and where you want to manually add their payment information and Subscriber ID so that s2Member can handle cancellations, payment failures, etc., automatically.)

Again, if your member is unable to access the video, then that would indicate they don’t have permission. The most basic level of permission s2Member can apply is that of a specific Level (e.g., Level 1 – 4). There are additional types of restrictions, Custom Capabilities (aka ‘ccaps’) for example, that can be used as well. If you have required users to have a specific Custom Capability to access your video, then you’ll need to add that Custom Capability to the users account in the Custom Capabilities field.

Posted: Saturday Jun 30th, 2012 at 5:42 am #17926
Raam Dev
Username: Raam
Staff Member

Glad to help! :) Let us know if there’s anything else we can help with.

Posted: Saturday Jun 30th, 2012 at 5:42 am #17925
Raam Dev
Username: Raam
Staff Member

Glad to help, Boudewijn. :) I thought that access problem might be a coincidence!

Posted: Saturday Jun 30th, 2012 at 5:40 am #17923
Raam Dev
Username: Raam
Staff Member

You’re welcome, Ralph. Let us know if there’s anything else we can help with. :)

Posted: Saturday Jun 30th, 2012 at 5:40 am #17922
Raam Dev
Username: Raam
Staff Member

No problem! Glad I could help. :)

Posted: Saturday Jun 30th, 2012 at 5:38 am #17921
Raam Dev
Username: Raam
Staff Member

Question 1:
Can you check that I have added paypal express checkout? I want people to be able to pay with their credit cards without signing up for paypal.

I was unable to test your PayPal account because when I tried doing a test signup on http://salearnerslicense.co.za/paypal-test/ I received the following error:

Error #10002. Security error. Security header is not valid.

This could be caused by using the wrong credentials or trying to connect to the Sandbox API URL using the Live credentials or vice versa. You should double-check that you’re using the correct API URL + account details.

Questions 2:
I have added required code, and it is still displaying the fields. Please can you check. If send me an email to alex ( a ) lab41.co I can send you access details so you can see backend.

I just looked at the test signup page again (http://salearnerslicense.co.za/paypal-test/) and the other payment options are no longer showing (see screenshot below). That would indicate the CSS is working.

Question 3:
I have a different payment method, that I need to talk to S2Member. I.e. when payment received it gives members access to level 2. I have setup a notification page URL, where it will send a success message to “http://salearnerslicense.co.za/?s2member_boxpay_notify=1″ will this work?

Are you integrating your own custom payment processor? If so, you’ll need to handle the s2Member integration yourself. In other words, you’ll need to add the necessary code to s2Member to accept the IPN messages from boxPay. Please see Pre Sale FAQs » Can I add support for other payment gateways?

Posted: Friday Jun 29th, 2012 at 3:45 am #17835
Raam Dev
Username: Raam
Staff Member

Hi Chick,

You’ll need to manually edit plugins/s2member-pro/includes/classes/login-widget.inc.php and make your changes there. If you want to prevent changes to that file from being overwritten upon the next s2Member upgrade, you’ll need to copy your changed file to plugins/mu-plugins/.

Posted: Friday Jun 29th, 2012 at 3:42 am #17834
Raam Dev
Username: Raam
Staff Member

Hi Thomas,

You can modify the Pro-Form templates in plugins/s2member-pro/includes/templates/forms/. If you want to prevent your changes from being overwritten on future upgrades, I believe you can simply copy your changed file to plugins/mu-plugins/ (you might want to make a backup of your changes just in case and then check to make sure changes were preserved after the next upgrade).

Changing error messages may be possible through editing plugins/s2member/includes/translations/s2member.pot or through using contextual translation filters. If neither of those work, your only option will be searching for the message in the core files and modifying them there.

Posted: Friday Jun 29th, 2012 at 3:34 am #17832
Raam Dev
Username: Raam
Staff Member

Hi Sepano,

If you’re using PayPal Pro, then yes, s2Member Pro provides a Billing Update form (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Update Forms) that allows your customers to update their credit card information.

If they signed up with a credit card through PayPal (using Express Checkout), then I believe their only option is to cancel the subscription and resubscribe with a new credit card (that is unless PayPal provides them a mechanism for updating credit card information for subscriptions — I don’t believe they do, but you might want to check with them).

Posted: Friday Jun 29th, 2012 at 3:30 am #17831
Raam Dev
Username: Raam
Staff Member

Hi Greg,

As the script explains, the following issues were discovered:

[ERROR] Mcrypt/Encryption Extension - Missing Mcrypt extension.
[ERROR] cURL Extension / Or fopen() URL - PHP not compiled with OpenSSL.
[ERROR] OpenSSL Extension With openssl_sign() - PHP not compiled with OpenSSL.
[ERROR] Temporary Files Directory - Unable to find a readable/writable temporary files directory.
[WARNING] Missing $_SERVER['SERVER_ADDR']

You will need to fix the errors before you can use s2Member. The descriptions under each of the errors on the Server Scan page should point you in the right direction. If in doubt, I recommend contacting your web host, as these are all issues they are responsible for fixing.

Posted: Friday Jun 29th, 2012 at 3:26 am #17830
Raam Dev
Username: Raam
Staff Member

Hi Terri,

There are no silly questions. :)

Yes, s2Member can do what you explained. In fact, that’s the default way it functions. After you install the plugin, you can start restricting specific content and creating subscriptions forms/buttons to allow signup and access to that restricted content. If you don’t restrict anything, the entire site is viewable without registration (just as if you never installed the plugin).

Posted: Friday Jun 29th, 2012 at 3:19 am #17829
Raam Dev
Username: Raam
Staff Member

Hi Maria,

It looks like your message got cut off… could you please post the rest of it?

Also, could you please confirm that you’re running the latest version of s2Member (v120622)?

Posted: Friday Jun 29th, 2012 at 3:16 am #17828
Raam Dev
Username: Raam
Staff Member

Hi Alex,

Looking at your test page, it appears that the CSS you added is not being loaded.

Please try adding the following right above your Pro-Form shortcode on the WordPress Post/Page (you’ll want to make sure you’re using the HTML editor and not the Visual editor when adding the code):

<style type="text/css">
#s2member-pro-paypal-checkout-form-billing-method-section { display: none; }
</style>
Posted: Friday Jun 29th, 2012 at 3:10 am #17826
Raam Dev
Username: Raam
Staff Member

Hi Zoe,

It sounds like it might related to GZIP compression or chunked file delivery. Please see the following KB article and try the various suggestions explained there:

Knowledge Base » Resolving Problems with File Downloads

Posted: Friday Jun 29th, 2012 at 3:08 am #17825
Raam Dev
Username: Raam
Staff Member

You’re welcome. :) Glad to help!

Viewing 25 replies - 1,501 through 1,525 (of 2,567 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.