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 - 851 through 875 (of 2,567 total)
Author Replies
Author Replies
Posted: Thursday Sep 13th, 2012 at 12:44 am #25105
Raam Dev
Username: Raam
Staff Member

Hi Mary,

Have you enabled logging (Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging)? The log files would be the first place to start diagnosing such problems. Without the logs, there really isn’t any way to tell what happened.

Also worth noting (it sounds like you’re already aware of this, but I want to mention it just in case) is that members who sign up without being logged in will always be treated as *new* users. In the case you explained above, you would actually end up with two s2Member accounts for the same person. Of course for this to happen, the member would have to sign up the second time with a different email address, otherwise they would get an error saying that the email is already in use (WordPress requires all users have unique email addresses).

The preferred course of action for such scenarios is to have the member log into his old account (which would be at the Free Subscriber level) and provide them access to an “upgrade” page. On that page you would put a Billing Modification form or button (Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms, or Dashboard -› s2Member® -› PayPal® Buttons -› Subscr. Modification Buttons).

When an existing member uses the upgrade form/button and pays for a subscription, their Free Subscriber account is automatically upgraded to the level they paid for.

Posted: Thursday Sep 13th, 2012 at 12:36 am #25104
Raam Dev
Username: Raam
Staff Member

Hi Ashia,

Please see my replies below:

1) I would like to be able to display a list of members from a particular membership level in a couple of different ways: First, by having a publicly-accessible page with, for example, name, company, city and link to view further details about a given member. But then the link to view a member’s “details” would take the site visitor to a member-only area requiring log-in. In other words, I only want members to be able to see other member’s detail info, such as email address and/or phone number, but have this detail view blocked from the public. Is such a configuration possible?

s2Member provides no “member directory” functionality for creating lists of members. You would need to add this functionality yourself (through another plugin, or by hiring a programmer to add such functionality).

The access restriction part of this can be handled with s2Member, yes. For member-specific areas, please see Video » s2Member (Client Portals?).

2) I additionally need the ability to add custom fields in relation to members — for example, I want to be able to list not just name and address, but also “specialty area” or “interests”. Is adding such custom fields possible?

Yes, s2Member as a feature for adding Custom Registration/Profile fields (see Dashboard -› s2Member® -› General Options -› Registration/Profile Fields).

3) I need for existing members to be able to be able to update their own profile information, including the entries for the above-described custom fields. But a site administrator should also be able to manually intervene (via the wordpress admin interface) to update a specific member’s information if needed. Is this combination possible?

Yes, s2Member provides the [s2Member-Profile /] shortcode that you would place on a WordPress page and point the member to (see Dashboard -› s2Member® -› General Options -› Member Profile Modifications).

This shortcode generates a profile editing form, which includes fields for updating the Custom Registration fields that you created. Administrators can manually update any of this information by editing the users profile from the WordPress backend (Dashboard -› Users -› Edit user).

4) The front end of this website will be in German; the back end (admin) can be in either English or German. Are German translation files (esp for front end) already available? And/or can they be added/edited from my end?

s2Member does not provide any translations for specific languages, however we do support translations. Please see Pre Sale FAQs » Can s2Member® be translated into other languages?.

Posted: Thursday Sep 13th, 2012 at 12:29 am #25103
Raam Dev
Username: Raam
Staff Member

When s2Member is installed network-wide, is it “network aware” in that, even if payment is processed only on the main site, is the user account’s status (paid/unpaid/cancelled) available to other sites on the network so access can be controlled?

No. While s2Member is compatible with WordPress Multisite Networking, the sites within a WordPress network are separate and not interconnected. That means you cannot share users, logins, or other data across the sites (including access control).

Please see the following from WordPress.org:

The sites in a multisite network are separate, very like the separate blogs at WordPress.com. They are not interconnected like things in other kinds of networks (even though plugins can create various kinds of interconnections between the sites). If you plan on creating sites that are strongly interconnected, that share data, or share users, then a multisite network might not be the best solution.

The s2Member Multisite feature allows you to offer the s2Member plugin to sub-sites, giving your sub-sites the ability to setup and use s2Member on their own. When you upgrade s2Member on the primary site, the s2Member plugin is automatically updated for all your sub-sites. However, things like access restrictions on one WP installation are not shared across WP installations (again, the WordPress Multisite feature itself isn’t designed to work like that).

There are plugins that allow you to get around these WordPress Multisite limitations, however they may or may not work with s2Member.

Posted: Thursday Sep 13th, 2012 at 12:21 am #25101
Raam Dev
Username: Raam
Staff Member

Justin,

You may be interested in using the BlackBox Debug Bar WordPress plugin. It keeps those messages separate from the page content itself, making things cleaner and easier to debug.

Posted: Tuesday Sep 11th, 2012 at 5:22 am #24858
Raam Dev
Username: Raam
Staff Member

Glad to help, Skip! :)

Posted: Tuesday Sep 11th, 2012 at 5:22 am #24857
Raam Dev
Username: Raam
Staff Member

Hi Andrew,

There is not currently any Custom Capability “expiration” feature within s2Member. If you want to give someone a Custom Capability and then specify an expiration for that access, you’ll need to write some custom PHP code that adds that functionality based on your business rules.

Posted: Tuesday Sep 11th, 2012 at 12:38 am #24847
Raam Dev
Username: Raam
Staff Member

Hi Steve,

I will forward this to Elizabeth in the billing department and she will get back to you. Thank you for your patience.

Posted: Tuesday Sep 11th, 2012 at 12:36 am #24846
Raam Dev
Username: Raam
Staff Member

If you create a paid membership at Level 2 with s2Member Pro and then you want to offer select users the opportunity to sign up for Level 2 at no charge, you can simply use a Free Registration form (Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms) configured to give access to Level 2. Then, you’ll place that form on a secret page and only give the URL to your corporate clients. That form will allow free registration and the users who sign up with that form will automatically be assigned Level 2 access.

The membership levels in s2Member are cumulative. This means that if you have content protected at two levels (e.g., Level 2 and Level 3), all Level 3 members automatically have access to content protected at Level 2, Level 1, and Level 0. However, Level 2 members do not have access to content protected at Level 3.

Posted: Tuesday Sep 11th, 2012 at 12:24 am #24844
Raam Dev
Username: Raam
Staff Member

Hi Derek,

A suspended account doesn’t need to be canceled… if it shows as suspended in PayPal, it won’t be charged. It’s really just a terminology thing on PayPal’s side and how PayPal marks an account as suspended or canceled differs depending on the circumstances.

Posted: Tuesday Sep 11th, 2012 at 12:16 am #24842
Raam Dev
Username: Raam
Staff Member

Hi Skip,

This is already possible.

Redirect from Membership Options Page:
http://www.primothemes.com/forums/viewtopic.php?f=4&t=14947#p53487

Redirect from Login Welcome Page:
http://www.s2member.com/forums/topic/mailchimp-signup-before-viewing-page-content/#post-12419

Posted: Tuesday Sep 11th, 2012 at 12:14 am #24841
Raam Dev
Username: Raam
Staff Member

Hi Scott,

How is that page (/academy-area/) being restricted? If you remove the restriction and make the page publicly available, do you still get a 404 error?

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

Hi Brad,

s2Member uses the WordPress user base, which has no concept of members associated with other members. There are Administrator accounts that have privileges to create other users, however s2Member does not operate at that level: all users created with s2Member are assigned one of the s2Member Levels and those levels are based on the WordPress Subscriber role, which only has permission to view content (i.e., no access to the WordPress back-end is given).

If a member signs up at user level two they get the ability to add users to their account

That is not currently possible with s2Member.

Posted: Tuesday Sep 11th, 2012 at 12:07 am #24838
Raam Dev
Username: Raam
Staff Member

Hi Dave,

We do not currently have a dev version or an SDK available. If you’d like to test a custom integration against s2Member Pro, we ask that you purchase an s2Member Pro license.

Posted: Tuesday Sep 11th, 2012 at 12:05 am #24837
Raam Dev
Username: Raam
Staff Member

Yes, if you enable logging (Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging), s2Member will report things like demotions in wp-content/plugins/s2member-logs/ and you can track what’s happening that way.

Posted: Tuesday Sep 11th, 2012 at 12:04 am #24836
Raam Dev
Username: Raam
Staff Member

Hi Brian,

Have you double-checked your IPN and PDT Auto-Return configuration in PayPal?

Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration
Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration

Posted: Tuesday Sep 11th, 2012 at 12:01 am #24834
Raam Dev
Username: Raam
Staff Member

Barry,

You can use the wp_logout_url() function to generate a Logout link that redirects to a specific URL. Please see the documentation on the WordPress Codex for more info.

To check if a user has a specific ccap, you can use the current_user_can() function like this:

<?php if(current_user_can("access_s2member_ccap_free_gift")){ ?>
        Display info about the ccap free_gift here.
<?php } ?>

(For more info on s2Member Conditionals, please see Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals.)

To embed something like this inside a WordPress post/page, you’ll need to be using the Exec-PHP Plugin.

Posted: Monday Sep 10th, 2012 at 11:54 pm #24833
Raam Dev
Username: Raam
Staff Member

We are currently using the wp-login.php?action=register, form. What would I need to do to use the pro-form?

You would need to generate a Pro-Form shortcode and then place that shortcode on a WordPress page (a ‘Registration’ page). Please see Dashboard -› s2Member® -› PayPal® Pro Forms -› Quick Start Guide for more information.

How can make the registration form take on the layout of the website? In our members area if a person goes to edit their profile all the text shows up in white so you can’t read the questions. How can we change the text color?

You’ll need to add your own CSS styles to override the defaults that s2Member generates. For extensive modifications, you can also customize the Pro-Form templates. Please see Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates? and Pre Sale FAQs » How can I prevent s2Member® Pro from loading it’s default CSS?

Posted: Monday Sep 10th, 2012 at 11:49 pm #24832
Raam Dev
Username: Raam
Staff Member

1. How can I configure S2Member so that new users see a welcome page, but existing users skip that page and go to another page/category listing/etc.?

For redirecting new members the first time they login, please see Dashboard -› s2Member® -› General Options -› One-Time Offers (Upon Login).

To redirect everyone else after logging in, you can either select an existing page or enter a specific URL in Dashboard -› s2Member® -› General Options -› Login Welcome Page.

2. If one category is restricted to members but another is not, what happens if a non-member tries to read a post that is included in both categories? Will the post show up in my “Public” category index listing (even though the member only category index listing for that post would not even be accessible to those visitors)? The reason I am asking is that my site has a variety of categories/child categories that only members can access, but also has a public category that anyone can see. I plan to associate some posts with both categories for marketing purposes.

This would depend largely on how your WordPress theme was coded, so the only way to know for sure is to test it. If you want fine control over various listings of things, you’ll need to modify the PHP code in your theme files.

That said, if a post is assigned two categories, one of which they don’t have access to, they will be redirected to the Membership Options page when they try accessing that post (i.e. they will not be able to access the post).

Posted: Monday Sep 10th, 2012 at 11:10 pm #24829
Raam Dev
Username: Raam
Staff Member

Dwayne,

Yes, IPN and PDT/Auto-Return integration is essential. If that was not configured, then you would experience the exact problems you described.

Please let us know if you still have issues after configuring IPN/PDT.

Posted: Monday Sep 10th, 2012 at 11:09 pm #24828
Raam Dev
Username: Raam
Staff Member

Alan,

You won’t be able to fully test things in an environment where PayPal cannot communicate back with the server. s2Member waits for certain messages from PayPal before proceeding with things like upgrades, where s2Member needs to make sure the payment went through successfully before proceeding with upgrading an account.

The success=”” attribute also uses the response from PayPal to redirect to the URL you specified (after a purchase on PayPal, the user is sent back to s2Member where it receives the response from PayPal and if successful redirects to the success page).

In short, there is no way to fully test a setup with PayPal without PayPal being able to communicate with s2Member. If you’re hosting s2Member on a site that is not publicly accessible, then PayPal won’t be able to communicate with s2Member and you’ll experience the problems that you’re experiencing.

Posted: Monday Sep 10th, 2012 at 10:58 pm #24827
Raam Dev
Username: Raam
Staff Member

Hi Wayne,

In that case you should contact the theme developer and ask them for help fixing this. s2Member works with any WordPress theme that is coded to the standards set forth by WordPress.

Posted: Monday Sep 10th, 2012 at 10:56 pm #24826
Raam Dev
Username: Raam
Staff Member

Soosie,

The problem here is that your import file is corrupted and it looks like it’s corrupted because of what you’re doing to it after you make your changes.

As Cristian mentioned, looking at the example lines you shared, there is a problem with the double-quotes. You have several fields that are doubly enclosed with double-quotes, meaning that when s2Member runs the import, it sees nothing in the field (which would explain why things are not being updated as your expecting).

After you run an export and s2Member gives you the .csv file, you can open that in Excel, make your modifications to the columns, and then re-save the file making sure that it’s saved as CSV (Comma Separated Values) with “Double-Quotes Enclosing” fields. There is no need to manually add double-quotes to the CSV file and it sounds like that is the part where your import file is becoming corrupted.

Microsoft Excel has a lot of different options and it’s easy to choose the wrong settings when you re-save the file. The alternative to Microsoft Excel is OpenOffice.org Clac, which is a free and open-source suite of office-type applications.

I don’t personally have Excel on my computer so I have no way of walking you through the re-saving process step-by-step with Excel. (I do, however, use OpenOffice.org Clac.) The default settings with OpenOffice.org work just fine for re-saving CSV files, but I’m not sure about the defaults for Excel.

Posted: Saturday Sep 8th, 2012 at 8:46 am #24634
Raam Dev
Username: Raam
Staff Member

Hello,

It looks right to me, but the best way to make sure is to simply test it. I recommend testing with a $0.01 transaction on PayPal so you can mimic a renewal notification.

Posted: Saturday Sep 8th, 2012 at 8:24 am #24631
Raam Dev
Username: Raam
Staff Member

Hi Robert,

There are two ways you could do this:

1. You could create a Custom Registration field that shows up during registration, then use some JavaScript + PHP to fill in the value of that field with the API key that you generate, then finally hide the field using CSS so that the user never sees that it’s there. When the form is submitted, the API key will be recorded to their account. (You’ll need to use a plugin like Exec-PHP to run PHP on the page where you display the Pro-Form.)

2. The other way to do this would be to hook into the registration process using one of the Registration Hooks and then generate your API key and add it to the Custom Registration Field. However, with the way s2Member currently stores Custom Registration Fields in the database, adding the data via PHP might be rather tricky (see this thread for more info).

I have personally used the first method and it works just fine.

Posted: Saturday Sep 8th, 2012 at 5:00 am #24598
Raam Dev
Username: Raam
Staff Member

Hi Frank,

Are you trying to translate the variables that you put in emails (e.g., %%custom_fields%%), the Custom Fields themselves when they show up on a Pro-Form, or something else? It’s not entirely clear to me what you’re trying to translate.

Also, have you seen front-end translations? Is that maybe what you’re looking for?

Viewing 25 replies - 851 through 875 (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.