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 - 51 through 75 (of 2,567 total)
Author Replies
Author Replies
Posted: Thursday Nov 29th, 2012 at 2:12 pm #32927
Raam Dev
Username: Raam
Staff Member

Hello,

Please see this thread for a hack that allows you to change the s2member-files directory.

Posted: Wednesday Nov 28th, 2012 at 4:55 pm #32828
Raam Dev
Username: Raam
Staff Member

Hi Cheryl,

There are a large number of possible reasons the code might not be working. There are no obvious bugs that stand out to me, but it could be that wp_mail() isn’t sending the email for some reason.

To debug this issue, I recommend that you start by ruling things out. Instead of sending an email with all that data, try writing some code that just writes the data to a log file. Then check if the log file contains the data you’re expecting after a successful signup.

Next, you can try creating a PHP file that sends an email using pre-filled data to see if you can actually get it to send the email.

Actually, as I was writing that previous sentence, I realized that you’re using the wp_mail() function, which is a WordPress function. However, you’re not loading the WordPress framework in your signup-notifer.php file. If you don’t load WordPress, you won’t have access to the wp_mail() function. So, instead of using wp_mail() you might try using the PHP mail() function.

Finally, there are a few helpful plugins mentioned in Troubleshooting Email Delivery Problems that you may want to install.

Posted: Wednesday Nov 28th, 2012 at 4:47 pm #32826
Raam Dev
Username: Raam
Staff Member

Thanks for the update, Marcus! Glad to hear you figured it out. :)

Posted: Wednesday Nov 28th, 2012 at 4:44 pm #32821
Raam Dev
Username: Raam
Staff Member

Hi Danie,

I’m not sure how you’re expecting to use s2Member here. The s2Member plugin is designed to restrict access to WordPress Posts and Pages. If you have a MySQL database for each user and you want to display graphs using data in that database, all of that would take place outside the s2Member plugin.

Posted: Wednesday Nov 28th, 2012 at 4:43 pm #32820
Raam Dev
Username: Raam
Staff Member

Hi Desmond,

You are correct that the reason the button isn’t working is because you’re trying to use the shortcode on a WordPress installation that’s different from the one where s2Member is installed. There is no way to “share” an s2Member installation across multiple WordPress installs.

So, if you want to use your ClickBank buttons on a different WordPress site, you will need to generate the URL version of the buttons and use those instead (i.e., you cannot use the shortcode). To generate a URL version of the shortcode, simply change the output=”” shortcode attribute to output=”url” and then display the shortcode on a temporary WordPress page (the page must be on the same site as the s2Member installation).

When the shortcode is parsed, you will see it turn into a long URL. You can then copy that URL and use it anywhere you want (on another WordPress site, in an email, etc.).

Posted: Wednesday Nov 28th, 2012 at 4:34 pm #32819
Raam Dev
Username: Raam
Staff Member

Hi Arnegger,

The first login date is not something that’s captured by s2Member or WordPress, however you could write a hack that records the first login date somewhere and then read that value from within your Content Dripping conditionals. See this thread for more ideas on how you can capture the login date.

Posted: Wednesday Nov 28th, 2012 at 4:31 pm #32818
Raam Dev
Username: Raam
Staff Member

Hi Arnegger,

I’m not clear on what you’re asking: Do you want to bring something into s2Member, or do you want to notify some other service when someone signs up with s2Member?

We provide various notification APIs (see Dashboard -› s2Member® -› API / Notifications) that you can use to integrate with 3rd party services. If you need to be able to create s2Member users from a remote script you can use the Remote Operations API included with s2Member Pro (Dashboard -› s2Member® -› API / Scripting -› Remote Operations API).

Posted: Wednesday Nov 28th, 2012 at 4:27 pm #32817
Raam Dev
Username: Raam
Staff Member

I’ve double-checked that I am using testing/sandbox credentials on my site and I am still receiving this error. Any help?

Try deleting all the settings in Dashboard -› s2Member® -› PayPal® Options -› Account Details and Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration, saving, and then re-adding the Sandbox details.

Also, I wondered if it is possible for s2members on my site (paid) to cancel their membership and be dropped down to a subscriber/free level without receiving a refund? My site has a no-refund policy, but people can cancel their membership or downgrade to a free membership at any time.

The s2Member cancellation forms (Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Cancellation Forms) do not provide refunds, so you can use those. Also, what happens when a user cancels will be determined by your configuration in Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior. If you want users to be demoted to Free Subscriber, you can specify that in there.

Posted: Wednesday Nov 28th, 2012 at 4:22 pm #32816
Raam Dev
Username: Raam
Staff Member

Hi Malin,

You might try installing Exec-PHP Plugin and then using a PHP version of the conditional instead of the shortcode version:

<?php if (current_user_can("access_s2member_level0") && !current_user_can("access_s2member_ccap_nbbc")) { ?>
[s2Member-Pro-PayPal-Form level="*" ccaps="nbbc" desc="No Bullshit Bootcamp, 450 kr inkl moms." ps="paypal" lc="SE" cc="SEK" dg="0" ns="1" custom="www.webbmalin.se" ra="450" rp="1" rt="L" rr="BN" accept="paypal" accept_via_paypal="paypal" coupon="NBBCRABATT" template="my-checkout-form.php" accept_coupons="1" default_country_code="SE" captcha="0" /]
<?php } ?>
Posted: Wednesday Nov 28th, 2012 at 4:17 pm #32815
Raam Dev
Username: Raam
Staff Member

Hi Laurie,

When you import a CSV file into MailChimp, you will be asked to identify what columns contain the Email Address, First name, Last Name, etc. You can simply delete/ignore all the other fields that are not applicable to MailChimp.

Posted: Wednesday Nov 28th, 2012 at 4:15 pm #32814
Raam Dev
Username: Raam
Staff Member

Hi Laurie,

If you want to silently subscribe MailChimp users to a list, please see this thread.

Posted: Wednesday Nov 28th, 2012 at 4:14 pm #32812
Raam Dev
Username: Raam
Staff Member

Hi Richard,

Please see my replies below:

1. Are there particular settings or things specific to s2member that I should take care of to ensure s2member doesn’t make my site slow?

No, the default settings are optimal.

2. If I deactivate the plugin to test the speed of the site with the plugin deactivated, will that mean I’ll have to respecify s2member settings when I reactivate it? After it’s reactivated will members’ accounts work ok?

As long as Deactivation Safeguards are enabled (see Dashboard -› s2Member® -› General Options -› Deactivation Safeguards), you can disable s2Member and then re-enable it with no loss of settings.

3. Anybody have observations on s2member or other wordpress membership site plugins and their affect on site speed?

I looked at your site and it loaded very quickly. I tried several pages and all of them loaded within 1 second. If it’s really taking 9 to 10 seconds for you, then I suspect it’s a problem with your computer or your internet connection.

Posted: Wednesday Nov 28th, 2012 at 4:10 pm #32811
Raam Dev
Username: Raam
Staff Member

Hi Joshua,

We don’t have any specific login form plugins that we recommend, but any login form plugin that works with WordPress should also work with s2Member, as s2Member simply uses the WordPress login and authentication system.

Posted: Wednesday Nov 28th, 2012 at 4:07 pm #32810
Raam Dev
Username: Raam
Staff Member

Hi Alissa,

That’s correct. You should import the s2Member options after installing s2Member, between steps 2 and 3 above.

Posted: Wednesday Nov 28th, 2012 at 4:04 pm #32809
Raam Dev
Username: Raam
Staff Member

Glad to help, Richard! :)

Posted: Wednesday Nov 28th, 2012 at 4:03 pm #32808
Raam Dev
Username: Raam
Staff Member

Hi Miles,

There is not currently any feature for displaying a list of pages the user has access to, however, as you mentioned, you can achieve that with the IF THEN ELSE logic, creating a single page that checks what the user has access to and then displays links to those things.

If you wanted to do this dynamically, you could certainly write some PHP code that loops through all the WordPress pages on your site, checking the required Custom Capability and then checking if the user has access to it, showing a link to the page if they do have access. However, this code is something that you’d need to write and maintain, as it’s not part of s2Member.

Posted: Wednesday Nov 28th, 2012 at 3:54 pm #32807
Raam Dev
Username: Raam
Staff Member

Hi Gene,

Can you please try changing /test.zip in your URL to just test.zip? Also, can you confirm that the test.zip exists in your wp-content/s2member-files/ directory?

Finally, please double-check the credentials that you’re using to authenticate.

Posted: Wednesday Nov 28th, 2012 at 3:43 pm #32805
Raam Dev
Username: Raam
Staff Member

We will keep that in mind. Thank you.

Posted: Wednesday Nov 28th, 2012 at 3:41 pm #32804
Raam Dev
Username: Raam
Staff Member

Thanks for the update. Every theme is different so it’s hard to offer specific advice for what to look for. However, I’d start with using a JavaScript debugger in Chrome or Firefox and seeing if there are any JavaScript errors that show up when using the custom theme.

Posted: Tuesday Nov 27th, 2012 at 3:07 pm #32739
Raam Dev
Username: Raam
Staff Member

Hi Joshua,

Sorry, no updates at this time. We won’t know more until the next major version of s2Member is released and at this time I don’t have a date for when that will be.

Posted: Tuesday Nov 27th, 2012 at 3:06 pm #32738
Raam Dev
Username: Raam
Staff Member

Hi Joshua,

Yes, you can certainly do this.

For the Free Registrations, you can create a page that contains a Free Registration form (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms). Then on the Login Welcome Page you can use a conditional (see Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals) to check if the user is a Free user and then show PayPal buttons to make a purchase. Those can either be buttons that upgrade their Free account to a specific membership level (Dashboard -› s2Member® -› PayPal® Buttons -› Subscr. Modification Buttons) or buttons that simply allow the Free user to purchase a Custom Capability (see Dashboard -› s2Member® -› PayPal® Buttons -› Capability (Buy Now) Buttons) that will indicate the user has purchased a specific product.

If you’re using s2Member Pro, you can also use the Pro-Form version of the Upgrade/Downgrade form (Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms) and the Capability Buy Now form (Dashboard -› s2Member® -› PayPal® Pro Forms -› Capability (Buy Now) Forms). The Pro-Forms do not require PayPal Pro; you can configure them to simply allow the user the checkout and pay on PayPal.com.

Posted: Tuesday Nov 27th, 2012 at 3:00 pm #32737
Raam Dev
Username: Raam
Staff Member

Hi Traci,

Please see my replies below:

1) How can I use the first person’s name as a shortcode in pages/posts?

You can do that with the s2Member PHP/API Constants (see Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants):

[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]

2) Should drip content membership areas be setup on pages or posts?

That all depends on what content you’re dripping. If you’re dripping posts, then you’ll want to set it up on posts. Otherwise, you’ll want to use pages. Pages are designed for more static content while Posts are designed for stuff that you want to be displayed in chronological order, like a series of blog posts or news articles.

Usually when you’re dripping content, it’s static content that you write once and then put up somewhere, so Pages make more sense. Then you can use the Content Dripping features of s2Member (see Dashboard -› s2Member® -› API / Scripting -› Content Dripping) to only give access to those pages after specific amounts of time.

3) Will these pages or posts show up as links automatically on the welcome/login page or should I add the links manually?

You will need to build these links manually. If you’re dripping content then you can use the same content dripping conditionals on your welcome/login page to only show the links when the user has access to them.

For example:

<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30){ ?>
    Link to Page the user has access to after 30 days
<?php } ?>

<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 60){ ?>
    Link to Page the user has access to after 60 days
<?php } ?>

<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 90){ ?>
    Link to Page the user has access to after 90 days
<?php } ?>
Posted: Tuesday Nov 27th, 2012 at 2:52 pm #32735
Raam Dev
Username: Raam
Staff Member

Hello,

Unfortunately I don’t believe there is any other way to call a Pro-Form. You must use the shortcode.

Posted: Tuesday Nov 27th, 2012 at 2:51 pm #32734
Raam Dev
Username: Raam
Staff Member

Hello,

s2Member’s Remote Operations API (Dashboard -› s2Member® -› API / Scripting -› Remote Operations API) only supports creating new users. However, if you’re just trying to add Custom Capabilities to existing users, you can use the built-in WordPress functions to write some code that will achieve that. Please see this thread for more information on adding Custom Capabilities via PHP.

Posted: Tuesday Nov 27th, 2012 at 2:49 pm #32733
Raam Dev
Username: Raam
Staff Member

Hello,

Yes, the IPN/PDT settings are what control the communication between PayPal and s2Member, so those settings must be filled out for the process to work correctly. :)

Let us know if you still have issues after correcting those.

Viewing 25 replies - 51 through 75 (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.