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 - 2,301 through 2,325 (of 2,567 total)
Author Replies
Author Replies
Posted: Wednesday Mar 21st, 2012 at 11:20 am #8745
Raam Dev
Username: Raam
Staff Member

Hi Ric,

That log entry indicates that s2Member sent the subscription request to Aweber, meaning it’s out of s2Member’s hands beyond that point. If Aweber shows that it never received the subscription request, that would indicate a problem between the time when s2Member sent the request and when Aweber should’ve received the request.

Since the subscription request goes from s2Member to Aweber via an email, what I recommend trying is configuring an SMTP server for all WordPress email delivery. It’s possible that some of the emails are being lost (i.e., Aweber might not be receiving them) due to unreliable email delivery.

Please see this KB article for instructions: Knowledge Base » Troubleshooting Email Delivery Problems

Posted: Wednesday Mar 21st, 2012 at 11:13 am #8744
Raam Dev
Username: Raam
Staff Member

Hi Deyson,

This thread from the old forum about changing front-end messages may be what you’re looking for:
http://www.primothemes.com/forums/viewtopic.php?f=36&t=16557#p59282

If you want to actually make changes to the login-widget.inc.php file, you can try making a copy and then placing your modified file in wp-content/mu-plugins/. Upgrades to s2Member won’t override your modified file in that directory.

Posted: Wednesday Mar 21st, 2012 at 11:06 am #8743
Raam Dev
Username: Raam
Staff Member

Hello Dimitri,

It sounds like another plugin may be conflicting with s2Member. Could you please try deactivating any recently installed plugins one-by-one and then retesting the generate button?

Posted: Wednesday Mar 21st, 2012 at 10:57 am #8742
Raam Dev
Username: Raam
Staff Member

Hi Zoe,

s2Member does not currently support SagePay. There also isn’t a pluggable payment gateway system for s2Member, so creating an add-on that wasn’t affected by s2Member upgrades wouldn’t be possible at this time.

We are looking into the possibility of making the next major release of s2Member more compatible with other payment gateways and possibly even making a pluggable system that would allow you to create your own payment gateway add-ons.

Posted: Wednesday Mar 21st, 2012 at 10:41 am #8737
Raam Dev
Username: Raam
Staff Member

Hi Carole,

The third option Jason suggested (creating a custom script that receives the data from s2Member and then sends the email), would allow you to filter the notifications down to a specific product.

Posted: Wednesday Mar 21st, 2012 at 10:36 am #8736
Raam Dev
Username: Raam
Staff Member

Hi Paul,

s2Member allows you to sell access to protected posts/pages on a one-off basis through a feature called Specific Post/Page Access. You can generate a purchase button for the post/page and present it on your site. After a user completes the purchase they will receive an email with an access link to that post/page. The link will only be valid for a specific period of time, depending on what you chose when you generated the purchase button.

s2Member does not have any option to choose the “number of views” per page, but rather allows you to set the length of time the URL should be valid (e.g., 2 hours, 3 days, etc.).

Another thing to keep in mind is that you cannot sell one-time access to the same post/page that you have restricted to a specific membership level. See the note below taken from Dashboard -› s2Member® -› Restriction Options -› Specific Post/Page Access Restrictions:

If you configure s2Member, in such as a way, that a Post/Page requires Membership Level Access, you cannot sell that same Post/Page through Specific Post/Page Access. Doing so, would create a conflict. Customers that purchased Specific Post/Page Access, would be unable to access the Post/Page – without also having a Membership. Not good. So please be careful.

A way around this problem for your scenario would be to create two pages with the same content: one for membership access and another that you sell on a one-off basis for one time access.

Posted: Wednesday Mar 21st, 2012 at 10:23 am #8734
Raam Dev
Username: Raam
Staff Member

Hi Shayne,

We do intend to provide better shopping cart features in the next major version of s2Member, however we don’t have any details on what those features will look like. The next major version of s2Member is targeted for release within the next month or so.

Posted: Wednesday Mar 21st, 2012 at 10:09 am #8731
Raam Dev
Username: Raam
Staff Member

Hello,

There are several PHP functions provided by s2Member. Please see Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Posted: Wednesday Mar 21st, 2012 at 10:08 am #8730
Raam Dev
Username: Raam
Staff Member

Benny,

Email issues are most often the result of your default server configuration. By default, WordPress will use the mail agent on the local web server to send your emails. However, other servers may detect those emails as spam because they haven’t been authenticated.

The way to fix this is to install and configure an SMTP plugin in WordPress so that all emails WordPress sends are authenticated to an SMTP server. I had the same email-going-to-spam issue until I installed and configured an SMTP plugin to use smtp.gmail.com to authenticate my outgoing emails.

See this KB article for more info: Knowledge Base » Troubleshooting Email Delivery Problems

Regarding the redirect after payment: If you forced s2Member to redirect to the registration form, you’d have spotty results with users registering because they may try registering before s2Member has received the IPN message from PayPal indicating the user made a successful purchase. If the user registered before s2Member receives that information, their account wouldn’t be linked to the transaction they just made.

That’s why the alternative is to use the Pro-Forms and have them register their account during the checkout process. That way, they can login immediately as a free subscriber and as soon as s2Member receives the IPN message from PayPal, their account will be given the necessary access.

Posted: Tuesday Mar 20th, 2012 at 1:20 pm #8625
Raam Dev
Username: Raam
Staff Member

Hi Jennifer,

That could be the result of a misconfigured or (or not configured) IPN Integration and/or PDT/Auto-Return Integration. Please double-check your settings under Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration and Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration.

You’ll also want to enable logging (Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging) so that when this happens in the future you can track down the cause.

The other possibility is that the user paid and then canceled their subscription (or a payment failed) and they were demoted to a free subscriber. Have you checked the Administrative Notes field on their profile to see if s2Member added anything there about a demotion?

Posted: Tuesday Mar 20th, 2012 at 1:13 pm #8624
Raam Dev
Username: Raam
Staff Member

Hi Sacha,

Are you saving the translation to /wp-content/plugins/? Please see the note below from Pre Sale FAQs » Can s2Member® be translated into other languages?

When you are finished translating the s2member.pot file, place your completed s2member-[locale].mo file into this directory: /wp-content/plugins/. s2Member® will find it there and load it automatically into WordPress® for you.

Posted: Tuesday Mar 20th, 2012 at 1:06 pm #8622
Raam Dev
Username: Raam
Staff Member

Hi Benny,

Are you offerring a free trial period? With the free trial period, PayPal can sometimes take a little while to get back to s2Member about the transaction. In those cases, s2Member doesn’t know right away if the user completed the checkout, so the user is required to wait until they receive an email from s2Member inviting them to register (s2Member generates that email when it receives confirmation of checkout from PayPal via an IPN message).

You may see something like the following in your log file for the delayed transactions:

0 => 'No Return-Data. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',

If this is what’s happening, then there really isn’t any way around it (other than switching to Pro-Forms, which allows your user to register for an account as part of the checkout process). Your users will need to wait until PayPal notifies s2Member of a successful transaction and then they will need to use the link in that email to register their account (see Dashboard -› s2Member® -› PayPal® Options -› Signup Confirmation Email).

Posted: Tuesday Mar 20th, 2012 at 12:51 pm #8620
Raam Dev
Username: Raam
Staff Member

Hello,

If the account has expired, it should have an Automatic EOT time. Edit the user’s profile and look for the Automatic EOT Time field. If there’s no date and there’s no note in the Administrative Notes filed indicating a demotion, then the account has not expired.

(Keep in mind if there’s a date in that field, the date may be a date/time in the future, meaning the account has been scheduled for EOT, but still has time remaining for access; see the note at Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior).

When an account expires, it will follow whatever rules you configured in Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior. If you have the Automatic EOT Behavior set to delete the account, then the account will be deleted and will no longer exist in s2Member.

However, if you set it to demote the users account to Free Subscriber, then their account will be demoted and a note will be added to their profile (see the Administrative Notes section when editing a user profile).

Posted: Tuesday Mar 20th, 2012 at 12:00 pm #8615
Raam Dev
Username: Raam
Staff Member

Hi Chris,

Here’s the example taken from Dashboard -› s2Member® -› Import/Export -› User/Member Importation that describes what each field in a s2Member Import file represents:

"ID","Username","Password","First Name","Last Name","Display Name","Email","Website","Level[0-9]+ or Role ID","Custom Capabilities","Registration Date ( mm/dd/yyyy )","First Payment Date ( mm/dd/yyyy )","Last Payment Date ( mm/dd/yyyy )","Auto-EOT Date ( mm/dd/yyyy )","Custom Value ( starts w/domain )","Paid Subscr. ID","Paid Subscr. Gateway","Custom Field ID #1","Custom Field Value #1","Custom Field ID #2","Custom Field Value #2", ...

Using that, we can match the fields from your other software to that of s2Member:

Username -> Username
Password -> Password
First Name -> First Name
Last Name -> Last Name
Display Name -> Display Name
e-Mail -> Email
Member since date -> Registration Date ( mm/dd/yyyy )
Renewal due date -> [n/a]
Membership Level -> Level[0-9]+ or Role ID
Paypal ID -> Paid Subscr. ID

Additionally, if these are PayPal subscriptions that you’re importing, you’ll need to make sure that the Paid Subscr. Gateway field for each row is set to paypal, so that s2Member knows the subscription is a PayPal subscription.

You may want to add a sample user and sample payment data to s2Member (you can edit the sample user’s profile and then insert dummy values in the Paid Subscr. ID field, etc.) and then run an Export (Dashboard -› s2Member® -› Import/Export -› User/Member Exportation) so that you have a base-format to work with when building your import file.

Posted: Tuesday Mar 20th, 2012 at 11:44 am #8612
Raam Dev
Username: Raam
Staff Member

Excellent! Thank you for sharing the solution. :)

Awarded user ‘Epix Media’ the Experienced badge.
Posted: Monday Mar 19th, 2012 at 1:48 pm #8553
Raam Dev
Username: Raam
Staff Member

Hi Chris,

Have you seen the documentation in Dashboard -› s2Member® -› Import/Export -› User/Member Importation? There are a few examples near the bottom that explain the different fields.

If you need further help, please provide us with a full line of the exported CSV data, along with any header descriptions that identify the columns.

Posted: Monday Mar 19th, 2012 at 1:43 pm #8552
Raam Dev
Username: Raam
Staff Member

Hello,

The set_user_role() function is called whenever a new user is created, so that explains why the user_role_update() function that you have in your functions.php file is being triggered when new users are created.

There’s no easy way to check “if this isn’t a new user, send the user role update email”, so I suggest trying something like this Eliminate Notify Email plugin to prevent the default email from being sent.

Posted: Monday Mar 19th, 2012 at 1:17 pm #8549
Raam Dev
Username: Raam
Staff Member

Hi Lan,

You will need to create the HTML form necessary to select the license and quantity, then submit that information to another page that calculates the total amount with PHP and uses the dynamic shortcode attribute feature to configure the monthly amount on the purchase button.

Please see this thread from the old forum that explains how to use dynamic shortcode attributes to dynamically set the price: http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

Posted: Monday Mar 19th, 2012 at 1:04 pm #8548
Raam Dev
Username: Raam
Staff Member

The video below may also be of assistance:

<Embed Playlist>
Posted: Monday Mar 19th, 2012 at 12:55 pm #8547
Raam Dev
Username: Raam
Staff Member

Hi Terri,

You may want to point your developer at this thread from the old forum where another s2Member user found a workaround to a similar problem: http://www.primothemes.com/forums/viewtopic.php?f=4&t=14258&p=29350#p30556

Posted: Monday Mar 19th, 2012 at 12:52 pm #8546
Raam Dev
Username: Raam
Staff Member

Glad to help! :)

Posted: Monday Mar 19th, 2012 at 12:52 pm #8545
Raam Dev
Username: Raam
Staff Member

Hi Thomas,

Your WordPress theme is specifying hard URLs (as opposed to relative URLs) to various resources (such as your social media graphics). Those hard URLs start with http:// instead of https://, so the browser is complaining that insecure content is being loaded.

The page at https://www.crossfitulster.com/on-ramp-program120-one-time/ displayed insecure content from http://www.crossfitulster.com/wp-content/plugins/social-media-widget/images/default/32/twitter.png.

You’ll need to update your WordPress theme and/or widgets so that all the URLs are either relative (e.g., /wp-content/plugins/[……]/twitter.png) or that their URLs start with https://.

Posted: Monday Mar 19th, 2012 at 12:48 pm #8544
Raam Dev
Username: Raam
Staff Member

Hi Nigel,

You cannot use header(“Location:”) that way to redirect the page. You need to set up your pages the way my example describes.

Unfortunately this is getting into the realm of custom programming, which is outside the scope of our Support Policy. If you have further questions about how redirections and such work, you may wish to post a thread on the WordPress Support Forum.

Posted: Friday Mar 16th, 2012 at 2:49 pm #8393
Raam Dev
Username: Raam
Staff Member

Hi Thomas,

After you generate the shortcode for One Time ( for 6-day access, non-recurring ), change the rp=”6″ attribute to rp=”10″.

You can read more about the shortcode attributes in Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained).

Posted: Friday Mar 16th, 2012 at 2:46 pm #8392
Raam Dev
Username: Raam
Staff Member

Hi Thomas,

If you choose View -> Developer -> JavaScript Console in Google Chrome, it should tell you what insecure URLs are causing the problem.

Viewing 25 replies - 2,301 through 2,325 (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.