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,201 through 1,225 (of 2,567 total)
Author Replies
Author Replies
Posted: Wednesday Aug 1st, 2012 at 1:40 am #20873
Raam Dev
Username: Raam
Staff Member

Hi Michael,

For the approval process, I would recommend having paid users go to Level 1. Then to “approve” a paid member, you’d manually change their level to Level 2 (which is what you’d restrict features to).

You may be able to achieve blocking free users from having a BuddyPress profile using the URI restrictions (see Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions). Otherwise, you’ll need to manually edit the BuddyPress files and add some PHP code that does a conditional check to see if the logged in user is a free user (see Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals).

To restrict certain features to Level 2 users (i.e., paid, and approved users), I would again recommend using Advanced PHP Conditionals within the PHP templates/pages that display and give access to the features you want to restrict. This would give you the finest control over what gets restricted.

However, if all your paid-only features can be restricted using URI Restrictions, then you could simply use s2Member’s URI Restrictions and enter the URI’s to those pages in the Level 2 restriction box.

Posted: Wednesday Aug 1st, 2012 at 1:32 am #20872
Raam Dev
Username: Raam
Staff Member

Depending on the membership/product you’re selling, the member’s account may or may not have and EOT set (s2Member sets the EOT when it receives the EOT message from PayPal at the end of the subscription), in which case there may not be an easy way to determine 30 days beforehand that their account will EOT in 30 days.

As cassel mentioned, it would take a bit of complex programming to get this set up. If you need to hire someone to do this, we recommend jobs.wordpress.net.

Posted: Wednesday Aug 1st, 2012 at 1:28 am #20870
Raam Dev
Username: Raam
Staff Member

Hello,

It sounds like you could be mixing http://www.domain.com with domain.com. If you mix www and non-www, you will have issues where WordPress doesn’t know you’re logged in.

For example, if you login to http://www.domain.com and then try to access a page on domain.com, WordPress may not detect you as logged in.

Please see Knowledge Base » Don't mix www and without.

Posted: Wednesday Aug 1st, 2012 at 1:23 am #20869
Raam Dev
Username: Raam
Staff Member

Hi Shawn,

I haven’t seen that problem before. It definitely sounds like something on PayPal’s end though, so I suggest waiting to hear back from them or giving them a call. The only other thing I can recommend is double-checking all of your s2Member PayPal configuration again. Also, if you’re generating PayPal buttons, try generating a PayPal Pro-Form and see if that works.

Posted: Wednesday Aug 1st, 2012 at 1:21 am #20868
Raam Dev
Username: Raam
Staff Member

Michael,

If you add captcha=”clean” to your shortcode (as you have in your example above), a captcha will appear along with the Pro-Form registration form and will require completion of the captcha to proceed.

If you want to allow free registrations that require a captcha, then you won’t be able to use /wp-login.php?action=register. Instead, you can create a separate page for free registrations and use the Pro-Form Free Registration form (Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms) that includes a captcha.

Then, you can disable /wp-login.php?action=register by turning off Open Registrations in Dashboard -› s2Member® -› General Options -› Open Registration, which will prevent spammers from submitting registrations.

Posted: Wednesday Aug 1st, 2012 at 1:15 am #20867
Raam Dev
Username: Raam
Staff Member

Hi Ben,

When you create the Custom Registration Field, there’s an “Applicable Membership Levels” option to define which levels the field should appear on. Simply set that option to only the levels you want the field to appear.

Posted: Wednesday Aug 1st, 2012 at 1:13 am #20866
Raam Dev
Username: Raam
Staff Member

Hi Matt,

When you test the login with a test user, do you get sent to the Login Welcome Page that you’ve selected in Dashboard -› s2Member® -› General Options -› Login Welcome Page?

The code above is correct. If you want to check for ccaps instead of levels, you’ll need to use the current_user_can(“capability”) function. Please see Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals for examples.

The $purchase_page variable in the code above simply gets set to a URL in conditional blocks. You don’t need to do anything different with it.

Posted: Tuesday Jul 31st, 2012 at 3:42 am #20746
Raam Dev
Username: Raam
Staff Member

Hi Jake,

Yes, this is certainly possible with s2Member.

For example, if you only wanted to show a piece of content on the 30th day of their membership, you could use some PHP code like this:

<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS == 30){ ?>
    Drip content to Members that paid you 30 days ago.
<?php } ?>

There are many more examples available in Dashboard -› s2Member® -› API / Scripting -› Content Dripping.

Posted: Tuesday Jul 31st, 2012 at 3:37 am #20745
Raam Dev
Username: Raam
Staff Member

Hi Giuseppe,

Please see Pre Sale FAQs » Can I add support for other payment gateways?. The s2Member PayPal hooks is where I’d recommend starting.

Posted: Tuesday Jul 31st, 2012 at 3:33 am #20744
Raam Dev
Username: Raam
Staff Member

Suhaib,

I suggest removing all URI restrictions and starting with just restricting one URI. Add one URI restriction for Level 0 and one URI restriction for Level 1, then test to see if it works as expected.

Posted: Tuesday Jul 31st, 2012 at 3:30 am #20743
Raam Dev
Username: Raam
Staff Member

Hello,

You can definitely use the s2Member Pro-Forms to accept subscriptions, even if you only have PayPal Express. Please see the following from Dashboard -› s2Member® -› PayPal® Pro Forms -› Quick Start Guide:

*PayPal® Pro is NOT Absolutely Required* s2Member is very flexible. It is now possible to integrate Pro Forms without a PayPal® Pro account, whereby the enhanced Form Shortcodes that s2Member provides can be integrated ONLY with PayPal® Express Checkout. In other words, if you get declined for PayPal® Pro service, you can still use s2Member Pro Forms. Ask PayPal® to activate Express Checkout for you. ( it’s free ). Once Express Checkout is enabled, you will have access to your PayPal® API Credentials. Log into your PayPal® account, and navigate to Profile -> API Access (or Request API Credentials). You’ll choose ( Request API Signature ). Now … here is the tricky part; whenever you generate a Pro Form Shortcode with s2Member, be sure to change accept=”paypal,visa,mastercard,amex,discover,maestro,solo” to just accept=”paypal”; thereby excluding the on-site credit card processing functionality; which is available only with PayPal® Pro.

For details on using Pro-Coupon codes with the Initial/Trial period, please see the examples found in Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File. For example:

SAVE-10|10%||ta-only ( 10% off an Initial/Trial Amount; the ta=”” attribute in your Shortcode )

Posted: Tuesday Jul 31st, 2012 at 3:23 am #20742
Raam Dev
Username: Raam
Staff Member

Hello,

Yes, this is definitely possible. You’ll need to modify your theme header file (or wherever the menu gets generated) and add some PHP code that checks if the user is a member. If they’re a member, you show the menu items for the member. If they’re not a member, you show the non-member menu items.

Posted: Tuesday Jul 31st, 2012 at 3:20 am #20741
Raam Dev
Username: Raam
Staff Member

Thank you for the update, Mary! Glad to hear you got it working. :)

Posted: Tuesday Jul 31st, 2012 at 3:19 am #20740
Raam Dev
Username: Raam
Staff Member

Hi Stacey,

Please see my replies below:

1. I run daily deals with companies who want to provide me with a spreadsheet of coupon codes to upload into my membership software. Is this possible?

Uploading a spreadsheet of coupon codes is not possible, but you could certainly take that list and manually copy/paste it into the Pro-Coupons configuration box (Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File). You’ll need to make sure the format of the coupon codes match the required Pro-Coupon format.

2. Also related to coupon codes, is it possible to apply a coupon to the first month of a recurring membership? Upon renewal, the full membership price will be charged?

Yes. When you create your subscription button or Pro-Form shortcode, you’ll need to set the Initial/Trial amount to equal the recurring amount. So, if you offer a subscription for $10/month, you’ll set the Initial/Trial period to be “I’ll offer the first 1 month @ $10.00”.

Then, in your Pro-Coupon, you’ll add ta-only to indicate the discount should only be applied to the Initial/Trial amount. For example, SAVE-2|2.00||ta-only will apply a $2 discount to the first month, and then each month thereafter will be $10.

3. My site provides paid members access to dinner menus. I’d like to structure the site so that members have unlimited access to ‘menu posts’ from their join date to present. In other words, if Jane joined on July 1, 2012, she can access all menu posts dating back to July 1, 2012, but not before. Is this possible?

Yes, this is certainly possible but it would require modifying your theme files to control what get’s displayed depending on the user viewing the site. s2Member provides the functionality for this (see Dashboard -› s2Member® -› API / Scripting -› Advanced Query Conditionals), but it’s very advanced and requires knowledge of PHP and WordPress to get it working. If you’re not comfortable with PHP, we recommend posting your job on jobs.wordpress.net.

Posted: Tuesday Jul 31st, 2012 at 3:08 am #20739
Raam Dev
Username: Raam
Staff Member

Thank you for the update! PayPal’s site and information is definitely convoluted, so I feel your pain. I will recommend to Jason that he add a note about this in the next maintenance release.

Posted: Tuesday Jul 31st, 2012 at 3:06 am #20738
Raam Dev
Username: Raam
Staff Member

Hi Barry,

The two WordPress installations will not talk to each other. WordPress will treat the users separately, not allowing someone logged into one installation to gain access to the other.

If you’re simply trying to change the look and feel of pages, you should be using Page Templates. You can assign pages specific Page Templates that you’ve designed, so each page can have its own header, footer, etc. Please see Page Templates on the WordPress Codex for more information.

Posted: Tuesday Jul 31st, 2012 at 3:01 am #20735
Raam Dev
Username: Raam
Staff Member

Hi Matt,

Are you using BuddyPress? It looks like that code might be generated by BuddyPress (the id=”bbp_redirect_to” gave me that clue). The file that generates this code won’t have the code as you see it above. It will most likely be written in PHP.

If you’re just trying to redirect users after they login, you can simply edit your Login Welcome Page and add some code that detects the user and then redirects them to the correct place. See this thread for an example.

Posted: Tuesday Jul 31st, 2012 at 2:57 am #20734
Raam Dev
Username: Raam
Staff Member

Hi Manuel,

Have you contacted PayPal to ask them about this error? The error is coming from PayPal, so there is something on their end that is causing this error.

Posted: Tuesday Jul 31st, 2012 at 2:56 am #20733
Raam Dev
Username: Raam
Staff Member

Hi Ralph,

It’s not different. If there are no users with those fields, you won’t see them in the database. The WordPress Codex describes what’s possible, not necessarily what you will see in your database.

For your scenario, I recommend looking into the s2Member Pro API. It allows you to create s2Member users from a external script, which you could attach to the approval process. See Dashboard -› s2Member® -› API / Scripting -› Remote Operations API.

Posted: Tuesday Jul 31st, 2012 at 2:43 am #20732
Raam Dev
Username: Raam
Staff Member

Hi Rob,

Just a quick update: I heard back from Jason and he confirmed that silent transitions with AWeber will be possible in the major release. However, AWeber does not make it possible to provide completely silent subscriptions (unlike MailChimp); only silent transitions are possible.

Posted: Saturday Jul 28th, 2012 at 2:24 am #20492
Raam Dev
Username: Raam
Staff Member

Hi Angel,

You may be able to use a similar technique to that which we’ve used for PayPal Pro multisite networks that require a central IPN processor script. Please the second paragraph in Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration -> More information.

Posted: Saturday Jul 28th, 2012 at 2:10 am #20491
Raam Dev
Username: Raam
Staff Member

This is a duplicate of this thread. Closing this one to avoid confusion.

Posted: Saturday Jul 28th, 2012 at 2:08 am #20489
Raam Dev
Username: Raam
Staff Member

Hi Stephanie,

Yes, I believe that should work. You can always try doing,

echo 'Country: ' . get_user_field(“country”);

to have it print out the value of that field. That way you can check what it’s pulling. Keep in mind the user must be logged in for this to work, otherwise the get_user_field() function won’t know which user it’s supposed to be getting the value from.

Posted: Saturday Jul 28th, 2012 at 2:02 am #20488
Raam Dev
Username: Raam
Staff Member

Hi Andrea,

Your format is incorrect. The fields must be Comma-Delimited, not Tab-Delimited. This is the correct format:

"ID","Username","Password","First Name","Last Name","Display Name","Email"

Please see the note at the top of Dashboard -› s2Member® -› Import/Export -› User/Member Importation:

Import files can be uploaded in CSV format, or you can copy/paste data into the form field provided. In either case, you MUST follow the examples given below. Please double-check your data before clicking the Import button. Make sure that all data fields are properly encapsulated by double-quotes, and separated by commas. You’ll also need to make sure that all of your data fields are in the proper order, based on the examples given below.

To get a file with the correct format, you may want to first export your current users and then open that file to use it as a starting point.

Posted: Saturday Jul 28th, 2012 at 1:57 am #20487
Raam Dev
Username: Raam
Staff Member

PayPal Express Checkout is not limited to Buy Now transactions: You can also use it to accept subscriptions. You’ll need to have that feature enabled on your PayPal account, so I recommend contacting PayPal to make sure that feature is there.

s2Member handles both Buy Now and Subscription transactions, so there’s nothing you need to do differently to use the same account for both types.

Viewing 25 replies - 1,201 through 1,225 (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.