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 - 751 through 775 (of 2,567 total)
Author Replies
Author Replies
Posted: Thursday Sep 20th, 2012 at 10:05 pm #26000
Raam Dev
Username: Raam
Staff Member

Apologies for the confusion, Jeffry. I was mistaken about how this worked.

If you want to modify one of the templates, simply copy the modified template to your theme directory and then in your Pro-Form shortcode, add template=”modified-template-filename.php”.

So for example, you could simply copy wp-content/plugins/s2member-pro/includes/templates/forms/authnet-checkout-form.php to your theme directory, modify it, and then add template=”authnet-checkout-form.php” to the Pro-Form shortcode. That would tell s2Member to use your modified template when generating the form.

Posted: Thursday Sep 20th, 2012 at 9:48 pm #25999
Raam Dev
Username: Raam
Staff Member

Scott, Paul,

If all of the PHP code that you enter into the HTML Editor on WordPress does not get saved when you save the post, then I suspect either a problem with the PHP execution plugin that you’re using (I personally use the Exec-PHP Plugin), or a problem with another plugin causing a conflict, or perhaps even a strange bit of JavaScript that your WordPress theme includes.

For the latter two cases, I suggest disabling other plugins until you find the culprit, and/or switching to the default WordPress theme (e.g., TwentyEleven) to see if that fixes the issue.

Posted: Thursday Sep 20th, 2012 at 9:42 pm #25998
Raam Dev
Username: Raam
Staff Member
Technical support question, not Pre-Sale (wrong forum).

Moving this thread into Community Forum so you have a chance to receive assistance from other site owners. If you’d like priority support from s2Member®, please re-post this topic in our Customer Support Forum and we’ll take a closer look for you.

For further details, please read our Support Policy.

Posted: Thursday Sep 20th, 2012 at 9:41 pm #25996
Raam Dev
Username: Raam
Staff Member

Hi Barbara,

Please see s2Member® » Terms » Refund Policy.

Posted: Thursday Sep 20th, 2012 at 9:39 pm #25995
Raam Dev
Username: Raam
Staff Member

Yes, that would work if you check $_GET[’email’] against all the users in your WordPress database. That way, the script can only be used to send emails to people who are registered on your site.

Posted: Thursday Sep 20th, 2012 at 9:37 pm #25994
Raam Dev
Username: Raam
Staff Member

Thank you for the update, Paul. Glad to hear it’s working now. :)

Posted: Thursday Sep 20th, 2012 at 8:41 am #25935
Raam Dev
Username: Raam
Staff Member

For Billing Modification forms, you may want to use ws_plugin__s2member_during_paypal_notify_during_subscr_signup_w_update_vars (source).

Posted: Thursday Sep 20th, 2012 at 8:35 am #25933
Raam Dev
Username: Raam
Staff Member

Haha, will do! :)

Posted: Thursday Sep 20th, 2012 at 8:35 am #25932
Raam Dev
Username: Raam
Staff Member

Haha, no worries. :)

Posted: Thursday Sep 20th, 2012 at 8:34 am #25931
Raam Dev
Username: Raam
Staff Member

Yes, I think that would work fine. I don’t believe the registration access links “expire”… I don’t see anything about that in s2Member (I haven’t dug through the code though, so I’m not positive).

If you figure out how to integrate the register_link_gen() function I mentioned above with your WHMCS emails, that should do what you need. The s2Member code is documented pretty well, so it shouldn’t be too difficult for a PHP programmer to get that customization working for you.

Posted: Thursday Sep 20th, 2012 at 8:04 am #25921
Raam Dev
Username: Raam
Staff Member

Hi Mary,

That font size is not generated by s2Member. The /wp-login.php page is a WordPress page, not an s2Member page. s2Member provides a few hooks into the WordPress login form so you can change a few of the styles/fonts, but any additional changes (or changes to specific text on the login form) would need to be made manually with additional CSS styles. Please see Styling Your Login on the WordPress Codex.

Posted: Thursday Sep 20th, 2012 at 7:56 am #25917
Raam Dev
Username: Raam
Staff Member

Hi John,

Please see my replies below:

#1. Aweber Integration isn’t working. I have completed all the steps for success. I know this because one test did land in my Aweber list. All the other tests have not, sadly. Also, the disabling of the double opt-in did not work.

If one test worked, then perhaps you were affected by the 12-hour rule? (The aforementioned link also contains a few helpful tips for debugging AWeber.) I also suggest double-checking all your AWeber settings and re-reading Knowledge Base » AWeber email parser for s2Member.

#2. Login Redirect bug. Sometimes those who register and login are redirected to the admin backend page. I’ve researched this topic, and there isn’t a graceful solution to this. This issue is a back-breaker.

All s2Member Levels have role capabilities that are equivalent to the WordPress “Subscriber” role, which itself does not allow access to the WordPress admin backend. So unless you modified the s2Member roles (or manually changed a users role), there’s no way an s2Member user could gain access to the WordPress admin backend.

If you’re referring to the Profile Editing section on the WordPress backend, then you might want to check Dashboard -› s2Member® -› General Options -› Member Profile Modifications and look for your configuration under the section called “Redirect Members away from the Default Profile Panel?”.

Posted: Thursday Sep 20th, 2012 at 7:21 am #25909
Raam Dev
Username: Raam
Staff Member

That sounds like another plugin conflicting with s2Member, or perhaps even some badly coded JavaScript in the WordPress theme that you’re using.

I just tested creating a multi-checkbox using the Custom Registration Fields and copy/pasted your example above and then saved, and the lines remained as they were when I pasted them.

I suggest trying to disable other plugins until the problem is resolved and/or switching to the default WordPress theme (e.g., TwentyEleven) to see if that fixes the problem.

Posted: Thursday Sep 20th, 2012 at 7:12 am #25907
Raam Dev
Username: Raam
Staff Member

Hi Fred,

Please see my replies below:

1. Does PayPal Express Checkout need to be enabled? I’ve had a look on the PP site where there’s a section on Express Checkout (getting started, integration guide) which has no instructions to enable checkout, and implies that it’s a default feature of a business account. I’ve got PP API credentials from a sandbox buyer account as a standard (non-Pro) business account.

I believe it’s already enabled as part of your PayPal Business account. I don’t remember needing to manually enable it. If you want to double-check, I recommend contacting PayPal.

2. I created a Pro form for level 1 access, specifying a €90 initial and recurring annual sub, and got shortcode which I copied to a page and edited the “accept” field as suggested, to get:

This is a limitation on PayPal’s side. PayPal doesn’t let you have a trial amount and a recurring amount that are exactly the same. Two possible solutions are to set the same term in using different words, e.g. 1Y -> 12M or to simply change the initial/trial amount by 1 cent (€89.99).

3. Can I make Euros the default currency, or does it have to be USD for Paypal purposes?

I believe setting the currency to EUR in the Pro-Form should be enough to make it the default, but it may also depend on what your default currency is on PayPal.

4. I added a custom registration form field in Dashboard -› s2Member® -› General Options -› Registration/Profile Fields but this doesn’t appear in the Pro form. Is that because of the error above?

When you created the Custom Registation Field, did you set “Applicable Membership Levels” to all? If you specified a specific level, make sure that you’re using a Pro-Form that matches the level you specified, otherwise it won’t show up.

5. Is there one of Jason’s helpful videos on the form generation process?

There isn’t a video for Pro-Form generation. There’s really nothing more to generating the Pro-Forms than pressing the “Generate Form” button after entering in the prices/description.

Posted: Thursday Sep 20th, 2012 at 6:08 am #25900
Raam Dev
Username: Raam
Staff Member

Looking at the code, that should get triggered for free registrations as well.

Note that additionally there is a hook specifically for free registrations:
ws_plugin__s2member_during_configure_user_registration_front_side_free

Posted: Thursday Sep 20th, 2012 at 6:04 am #25899
Raam Dev
Username: Raam
Staff Member

The WordPress login itself is site-wide, not page specific. If you need to subscribe people to different lists, then you should use different membership levels for each signup, as each membership level can be assigned a different list.

Posted: Thursday Sep 20th, 2012 at 6:02 am #25898
Raam Dev
Username: Raam
Staff Member

Hi Iaeon,

A rewrite of how Custom Fields are handled has been included. Our lead developer, Jason, has been hard at work on the next release for many months now. He’s still working on it. The last I heard, we’re very close to the beta testing phase. We don’t have a “release date” or “release window”, but when it’s ready, we will make an announcement.

Thank you for your patience.

Posted: Thursday Sep 20th, 2012 at 5:57 am #25896
Raam Dev
Username: Raam
Staff Member

Hi Nicolas,

Have you confirmed that this problem exists? If only one person has this problem, then it’s more likely a problem with his computer, not your website.

I recommend running a few tests yourself to see if you have any problems logging in as a test user (you can create test accounts for this). If you have no problems, then ask your customer to send you their password (or simply reset their password yourself) and then try logging in as them.

Posted: Thursday Sep 20th, 2012 at 5:54 am #25895
Raam Dev
Username: Raam
Staff Member

Hi Helen,

Have you tried configuring that email from Dashboard -› s2Member® -› PayPal® Options -› Specific Post/Page Confirmation Email?

Posted: Thursday Sep 20th, 2012 at 5:52 am #25894
Raam Dev
Username: Raam
Staff Member

Glad to help! :)

Posted: Thursday Sep 20th, 2012 at 5:52 am #25893
Raam Dev
Username: Raam
Staff Member

You should be able to copy that modified file to wp-content/mu-plugins/ and it will automatically overwrite the one provided by s2Member. That will survive upgrades.

Posted: Thursday Sep 20th, 2012 at 5:51 am #25892
Raam Dev
Username: Raam
Staff Member

Hi Frank,

Yes, I mean that you can enter the text directly into the description of the Custom Registration Field when you create it. If both languages are required, then you’d need to include both of them as your example shows above.

Posted: Thursday Sep 20th, 2012 at 5:50 am #25891
Raam Dev
Username: Raam
Staff Member

Hi Kerry,

The custom=”” attribute is required. I see in the shortcode you included above that you do have custom=”wpsitesolutions.com”. Is that present in the shortcode on your live site? Also, have you made sure that you’re not mixing your domain with www and without?

Posted: Thursday Sep 20th, 2012 at 5:46 am #25890
Raam Dev
Username: Raam
Staff Member

Thank you for the feature request, Mark. We have made note of it.

Posted: Thursday Sep 20th, 2012 at 5:45 am #25889
Raam Dev
Username: Raam
Staff Member

1. Will this work without causing any security/general issues ?

Yes, that should work. The only security concerns you should worry about is someone discovering the eot.php script and then using it to send their own emails (e.g., using it to send lots of spam messages through your server).

The most basic way of preventing something like that would be to include in your URL a key (e.g. , &key=somethinglongandcryptic) and then checking if $_GET[‘key’] matches before sending the email. That way, if someone discovers the script, they will also need to know what your secret key is before they can use it to send emails.

2. How to avoid email landing in spam box.

There are lots of things that could cause messages to go to spam and I couldn’t possibly cover all of them here. I recommend researching on Google “how to pass spam filters with php mail”.

3. Am i missing something important here ?

It doesn’t look like it to me. I recommend testing the script by creating a test user and then setting their Automatic EOT time manually on their profile. You can set it to expire in one day and then wait for the email to see if it arrives. You could also add some logging routines to your eot.php script to save information about what’s happening to a local log.txt file so you can check that to see if anything came through.

Viewing 25 replies - 751 through 775 (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.