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 - 726 through 750 (of 2,567 total)
Author Replies
Author Replies
Posted: Tuesday Sep 25th, 2012 at 12:15 am #26385
Raam Dev
Username: Raam
Staff Member

Hi David,

You can add comma separated list of Page IDs to the restriction boxes in Dashboard -› s2Member® -› Restriction Options -› Page Access Restrictions. There isn’t currently any “easier” way of restricting multiple pages, unless you use something like a Category or Tag restriction (e.g., if all the pages have a specific tag or are in a specific category, you can simply restrict the entire Tag/Category).

Posted: Tuesday Sep 25th, 2012 at 12:12 am #26384
Raam Dev
Username: Raam
Staff Member

If you want to change the color of the username that shows up after they’ve logged in, you’ll need to do something like this:

.ws-plugin--s2member-pro-login-widget-profile-summary-name { color: red; }

That should go at the bottom of your theme’s style.css file, probably found in wp-content/themes/your-theme-name/. You should also be able to access that file by simply going to Dashboard -> Appearance -> Editor in WordPress and then selecting the style.css file on the right column.

Posted: Tuesday Sep 25th, 2012 at 12:09 am #26383
Raam Dev
Username: Raam
Staff Member

Hi Matt,

As cassel mentioned, you can use Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms without having any PayPal configuration set up. Those forms do not require PayPal to be configured. That form, being a Free Registration Form, does not validate against any PayPal configuration.

Posted: Monday Sep 24th, 2012 at 11:45 pm #26382
Raam Dev
Username: Raam
Staff Member

Simeon,

If you need to use multiple membership levels but you don’t want higher levels to have access to lower level content, then you need to use Custom Capabilities in addition to the levels.

For example, you would restrict all Level 1 content to both Level 1 membership and a Custom Capability called level1. Then you would configure your Level 1 signup form or button to automatically assign the level1 Custom Capability to anyone who signs up for Level 1.

You would repeat that process for each of the levels, restricting content to both a membership level and a Custom Capability and configure your signup forms to also assign a Custom Capability specifically for that level.

Then, when a Level 2 member logs in, for example, he won’t have the level1 Custom Capability, so he won’t have access to the Level 1 content.

Posted: Monday Sep 24th, 2012 at 7:56 am #26291
Raam Dev
Username: Raam
Staff Member

When you create Custom Registration fields in Dashboard -› s2Member® -› General Options -› Registration/Profile Fields you can specify that the field is required.

Posted: Monday Sep 24th, 2012 at 7:52 am #26290
Raam Dev
Username: Raam
Staff Member

Hi Simeon,

Unfortunately the downloads feature relies on the Membership Level to set different download limits. There is not currently any way to configure a Custom Capability that gives specific restrictions on downloads. (See Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions; only Membership Levels can be used there.)

The scenario you’re describing would rely heavily on Custom Capabilities to separate out different users within the same level (e.g., Level 1 user with ccap1, Level 1 user with ccap2, etc.). However, since your ‘groups’ are offering different types of download access, you cannot use Custom Capabilities without adding custom code that adds such a restriction feature to Custom Capabilities.

Posted: Monday Sep 24th, 2012 at 7:42 am #26287
Raam Dev
Username: Raam
Staff Member

Under – Cancellation Notification URLs:
I give my php file path ( with email of the user whose account is cancelled ) , where i can send email to that particular user that there account is cancelled.

That shouldn’t be a file path. The Cancellation Notification URLs are supposed to be URLs to scripts that you’ve created (e.g., http://example.com/my-notification-script.php).

But mail function is not working there , i tried 20 times but its not working.
I would be very thankful if you give me solution of this or any other alternative.

If you’ve filled in an email address at the bottom of the Cancellation Notification section and you’re not receiving the emails, I recommend installing the Email Log plugin and the WP SMTP plugin. Please see Troubleshooting Email Delivery Problems for more details.

Posted: Monday Sep 24th, 2012 at 7:36 am #26284
Raam Dev
Username: Raam
Staff Member

If you’re referring to the label “Username”, then you’d add something like this:

.ws-plugin--s2member-pro-login-widget-username { color: red; }

If you’re referring to the username input box itself, you’d add something like this:

#ws-plugin--s2member-pro-login-widget-username { color: red; }
Posted: Monday Sep 24th, 2012 at 7:27 am #26283
Raam Dev
Username: Raam
Staff Member

Hi Kev,

The upgrade process requires on the IPN communication from PayPal. After completing payment, s2Member waits for PayPal to confirm the payment was successful and only then processes the upgrade of the account.

I’m not sure if sandbox mode actually sends those IPN messages, so the best way to test this would be to do a live transaction. You can create an upgrade for $0.01 and run a live test to simulate.

Just make sure that both IPN and PDT/Auto-Return integration are configured properly:
Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration
Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration

Posted: Monday Sep 24th, 2012 at 6:48 am #26277
Raam Dev
Username: Raam
Staff Member

Could you copy/paste the full URL they are incorrectly redirected to on the Membership Options Page? That URL will contain details about why they were redirected and if you share that here we can explain where the problem lies.

Posted: Monday Sep 24th, 2012 at 6:46 am #26276
Raam Dev
Username: Raam
Staff Member

Interesting! Thank you for sharing your solution. I’m glad you got it working. :)

Posted: Monday Sep 24th, 2012 at 6:44 am #26275
Raam Dev
Username: Raam
Staff Member

It looks like maybe your WordPress install is having trouble using the s2Member constants (i.e., S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS). The next step is to disable all other plugins except s2Member and see if it works then. If that doesn’t fix it, I suggest also trying to switch to the default WordPress theme (e.g., TwentyEleven).

These code samples work (I’m personally using them on my own site), so the problem is somewhere with your site or server configuration. We just need to keep narrowing it down until we figure out where the problem is.

Posted: Monday Sep 24th, 2012 at 6:38 am #26274
Raam Dev
Username: Raam
Staff Member

Hi Kerry,

All looks good there, except of course for the Unable to verify $_POST vars message. Could you please triple-check your IPN (Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration) and PDT/Auto-Return Integration settings (Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration) on both the s2Member side and the PayPal side?

There are really only three things that would cause that error: a configuration problem on the server, a configuration problem with your button/form (namely the custom=”” attribute, which looks fine as far as I can tell), or a configuration problem between s2Member and PayPal (i.e., IPN or PDT/Auto-Return integration settings).

Posted: Thursday Sep 20th, 2012 at 11:35 pm #26017
Raam Dev
Username: Raam
Staff Member

When I tested the checkout and I was redirected to PayPal, selected my funding source and I was successfully redirected back to your site. At this point your website should have an option to submit the payment. It look like this is what is missing.

That actually doesn’t make sense. Once you’re sent to PayPal, you do not get returned to your site until the payment has been completed on PayPal’s side. It wouldn’t make sense to go to PayPal, then back to your site, then back to PayPal again.

I just tested your signup using PayPal. I filled out the registration form on your site, selected PayPal, clicked “Checkout with PayPal”, was redirected to PayPal’s website, logged into my PayPal account, and got to the point where I could click “Pay Now”. (I didn’t click “Pay Now”, but I would’ve expected that once payment was made, I’d get transferred back to your site. To get transferred back to your site after payment is made is normal behavior.)

Are you seeing something different?

Posted: Thursday Sep 20th, 2012 at 11:25 pm #26015
Raam Dev
Username: Raam
Staff Member

Are you using the HTML Editor in WordPress? (The Visual Editor must never be used when using any type of PHP execution plugin.)

What happens if you put the following on a page?

<?php echo 'My code sample.'; ?>

And what about this?

<?php if(2 > 1) { echo '2 is greater than 1'; } ?>

It sounds to me like you either have a problem with the PHP Execution plugin not working properly (which could be caused by a plugin conflict) or you have a strange server configuration that is messing with the way PHP Execution works.

Posted: Thursday Sep 20th, 2012 at 11:18 pm #26014
Raam Dev
Username: Raam
Staff Member

Tracy,

The problem is still that your page is not “processing” the PHP code. Installing and activating the PHP Execution plugin should’ve been enough to tell WordPress to process the PHP code on that page, but apparently something else is going on. I believe the plugin has settings that allow you to define who is allowed to run PHP code. Have you checked those settings? If the “Collectable Membership Subscriptions” page was created by someone who doesn’t have permission to run PHP code, the PHP code on that page won’t get processed.

Another thing I recommend trying is using the s2Member PayPal Button Shortcode instead of copy/pasting the HTML Form code (which is what it looks like you’ve done… however I could be mistaken). If you’re using the HTML Code version, I recommend trying to the Shortcode version (simply regenerate the button in Dashboard -› s2Member® -› PayPal® Buttons and copy/paste the resulting shortcode).

If you do “View Source” when viewing your “Collectable Membership Subscriptions” page, you should not see any PHP code in there. PHP code is supposed to be processed on the server and turned into regular HTML and text before it ever gets to your browser, so if you’re seeing PHP code anywhere except in your WordPress editor, then the problem is that your server is not processing the PHP.

Posted: Thursday Sep 20th, 2012 at 11:00 pm #26012
Raam Dev
Username: Raam
Staff Member

Paul,

You should be able to change that message using front-end translations.

Posted: Thursday Sep 20th, 2012 at 10:57 pm #26011
Raam Dev
Username: Raam
Staff Member

Kerry,

The next step is to check your logs for any hints as to what else might be causing the problem. Have you enabled logging in Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging? Please run another test and then copy/paste the relevant logs for that specific transaction from the log files in wp-content/plugins/s2member-logs/ here for us to check. (Be sure to X-out any private information, such as email addresses.)

Posted: Thursday Sep 20th, 2012 at 10:53 pm #26010
Raam Dev
Username: Raam
Staff Member

If you’re referring to the s2Member Login Widget, any changes there should update immediately. If they’re not updating immediately, I would check if you’re running a caching plugin that is possibly caching old values and try clearing/disabling that.

If you see widgets appearing when they’re not supposed to, that would indicate that your server or your web browser is loading an old copy. You might also want to try clearing your browser cache and refreshing again.

Posted: Thursday Sep 20th, 2012 at 10:47 pm #26009
Raam Dev
Username: Raam
Staff Member

As Jason mentioned in the other post, what’s most likely happening is that you’re setting the EOT and then as part of the upgrade process s2Member is deleting the EOT. So, you need to make sure you’re updating it after that point.

Perhaps try ws_plugin__s2member_during_paypal_return_after_subscr_signup_w_update_vars. You can also look through the code to see what makes the most sense.

Posted: Thursday Sep 20th, 2012 at 10:34 pm #26008
Raam Dev
Username: Raam
Staff Member

Hi Gary,

No, you would need to leave the s2Member Billing Info fields in the template, as they are required to process payments.

However, you could create a second set of billing info fields using the Custom Registration Fields (Dashboard -› s2Member® -› General Options -› Registration/Profile Fields) and then modify the Pro-Form template and add some JavaScript that automatically updates the Custom Registration Fields with whatever the user adds s2Member Billing Fields.

Then you could simply use some CSS Styles to hide all those additional fields so the user doesn’t see them. When the user presses submit, the additional billing info fields will also be submitted in the background, effectively storing the data on their account.

A PHP/JavaScript programmer should be able to make these modifications for you and if you need to hire someone, we recommend jobs.wordpress.net.

Posted: Thursday Sep 20th, 2012 at 10:27 pm #26007
Raam Dev
Username: Raam
Staff Member

Hi Genie,

Please see Dashboard -› s2Member® -› ClickBank® Options -› Signup Confirmation Email. The user will receive that email after signing up and that email includes a registration link where they will be able to create their account.

Posted: Thursday Sep 20th, 2012 at 10:25 pm #26006
Raam Dev
Username: Raam
Staff Member

Can you tell me what level of access the test user has? For the test user to access page 48, the user must have s2Member Level 3 or higher.

Posted: Thursday Sep 20th, 2012 at 10:18 pm #26003
Raam Dev
Username: Raam
Staff Member

John,

It sounds like there might be a problem with your server sending emails to GMail addresses. You’d need to contact your web host to have them check on that for you.

Another helpful thing you can do is install the Email Log plugin. That plugin keeps a record of all the emails sent through WordPress so you can see exactly what got sent.

Another very useful thing is to configure an SMTP server for WordPress so that all emails are sent through another server instead of the one your site is on. I personally have a GMail account that I use as my primary WordPress address and I installed the WP SMTP plugin and configured it to use the GMail SMTP server to send all my emails. It works great.

You can learn more about both of these things here: Knowledge Base » Troubleshooting Email Delivery Problems

Posted: Thursday Sep 20th, 2012 at 10:10 pm #26001
Raam Dev
Username: Raam
Staff Member

Nothing stands out as a plugin known to be incompatible, but I’d try starting with TinyMCE Advanced.

Viewing 25 replies - 726 through 750 (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.