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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 1,876 through 1,900 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Mar 12th, 2013 at 8:35 am #44354

I’m glad I could help you, even if only a little. :)

Posted: Tuesday Mar 12th, 2013 at 7:22 am #44349

Hi Alan.

The article has already been updated with the fixed code since the problem was found here. :)

http://www.s2member.com/kb/auto-login-upon-registration/

Posted: Tuesday Mar 12th, 2013 at 4:25 am #44340

No problem.

I hope their logs help pinpoint the source of your trouble so it can be solved.

I look forward to your update. :)

Posted: Tuesday Mar 12th, 2013 at 4:06 am #44339

Hi JC.

That’s an interesting project you have there.

You’d be using custom capabilities to manage access to the pages. Video » s2Member (Custom Capabilities)

This video will help: Video » s2Member (Client Portals?)

The customer would have the ccap for his account, and his page would be protected with it. The manager would have the ccaps of all the customer he handles.

You’ll probably need to do some more customization, depending on the level of automation, or the capabilities you want to give certain roles in your WordPress installation. These may also be useful:

Knowledge Base » Creating A "User Manager" Role
Knowledge Base » Locking s2Member Roles/Capabilities

I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 3:44 am #44338

Great question, MP. I’ll ask Jason about it. :)

Posted: Tuesday Mar 12th, 2013 at 3:15 am #44335

How can I know EOT if the EOT do not have value and I do not know the subscription period?

I’m sorry, I had not understood from your previous posts that you don’t know the subscription period for the user.

You could try writing a hack that connects to PayPal’s API to find out. This post may help: http://www.s2member.com/forums/topic/last-payment-time-is-wrong/#post-28491

Please send me the code that I have to install that will work correctly.

I’m sorry: s2Member® » Support Policy » Outside Scope.

In advertising has been written that it supports the ability to unsubscribe and modify subscriptions.

You can using the subscription cancellation and modification buttons/pro-forms.

I do not want to become an expert in how your plugin work. I just do not want any trouble that you plugin can deliver to me. I want to install it and forget it.

If you’re doing something supported by s2Member, of course it’s simpler than if you want to customize the way it works.

If you need to customize something to behave in a certain way that isn’t the default, and you don’t know how to do it yourself, you can hire a freelancer experienced in these things. There are several freelancer sites where you can try posting your job, like: jobs.wordpress.net, odesk.com, elance.com, freelancer.com.

boudewijn lutgerink said:

Basically, your request for s2members to create the code for you is beyond their allowed support (unless you pay for it of course.)

Boudewijn, I just wanted to clarify that we don’t do paid customization jobs either.

Oh, and thanks very much for your help and support. :)

Posted: Tuesday Mar 12th, 2013 at 2:57 am #44333

Hi Chuka.

I’ve found this, but I didn’t find the solution. http://www.s2member.com/forums/topic/force-https-on-modify-profile-popup-window/

s2Member helps force SSL on pages and posts created with s2Member, but other areas don’t have where to add the custom field that does this.

You could try looking for a plugin that would let you enable SSL on admin pages and wp-login.php. Found this one, for example: http://wordpress.org/extend/plugins/verve-ssl/

I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 2:50 am #44332

I’m sorry about that. Could you show me where you were told that so I can review the conversation? I looked for it but didn’t find it.

Posted: Tuesday Mar 12th, 2013 at 2:45 am #44331

Ah, thanks for explaining it. Yeah, your approach seems good. :)

I’d use custom capabilities for each post, and conditionals will work great to hide just the content. With a bit more work on the conditionals you can certainly sell the posts individually or packaged in a subscription.

Posted: Tuesday Mar 12th, 2013 at 2:41 am #44329

Cool. :)

Posted: Tuesday Mar 12th, 2013 at 2:21 am #44326

S2Member says JWPlayer is free, however JWPlayer is not free for commercial purposes, and I can’t think of a single instance where S2Member would be used for anything other than a commercial purpose.

That’s a good point you raise. I’ll have to ask Jason why he chose JW when he decided to do a closer integration with a particular player.

I’ll mention it in the forums when it’s done so something on the topic can actually be found.

Thanks! Looking forward to that. :)

Posted: Tuesday Mar 12th, 2013 at 2:05 am #44325

Hi Matt.

My question is, can s2 member be linked to forms? For example, can s2 member be linked to something like this?
http://rehab-live.realflipper.com/squeeze-page/

Yes, s2Member has the free registration pro-form, which you can like that. You’d need to not ask for custom password or first and last names, so only username and email address are used. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

And you can customize the look of the pro-form to get it close to what you want. Knowledge Base » s2Member® Pro Forms

Also, once a user signs up, where is their information stored? We would like a record of all users currently signed up with us. Is there a database that s2 member saves user information to?

Well, the user creates a WordPress account, so you have access to it as to any normal WP account. [hilite path]WP Admin -> Users.[/hilite]

We also use InfusionSoft as our autoresponder, is there anyway to export the user information into a csv file so we can import it into InfusionSoft?

You can try the Notifications API to integrate with it. [hilite path]Dashboard -› s2Member® -› API / List Servers -› Other Integration Methods[/hilite]

And there’s a User Export tool too, if you want to do that. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Exportation[/hilite]


I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 1:49 am #44324

JP, Eduán is correct about needing a customization.

In website1 you could try using the Notifications API and in website2 the Remote Operations API to create the user.
[hilite path]Dashboard -› s2Member® -› API / Notifications[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Remote Operations API[/hilite]

Regarding post-registration auto-login, this: Knowledge Base » Auto-Login Upon Registration

I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 1:45 am #44323

Hi Rob.

I’m not sure if cURL is used for the notifications, I’ll ask Jason.

About MailChimp, you want to move the user to the proper lists when you changed his level? You’ll need to enable the list transitions here [hilite path]Dashboard -› s2Member® -› API / List Servers -› Automate Unsubscribes/Opt-Outs[/hilite].

Then, when you change the role with your customization, you can process the list transitions. This article may help with that: Knowledge Base » Changing Roles/Capabilities via PHP

Posted: Tuesday Mar 12th, 2013 at 1:34 am #44321

Hi Hercules.

Like Eduán said, this is not something s2Member does.

You’ll need other plugins to manage plugins in your multisite network. If some of them let you specify what to allow based on user role, then you can try configuring it using the s2Member level roles.

This thread has some related info: http://www.primothemes.com/forums/viewtopic.php?f=36&t=1414

I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 1:20 am #44320

Hi Michael.

Sorry I didn’t see your support thread sooner, it’s been a busy week here and I’ve been a bit behind with the threads.

Regarding your .htaccess code, this is what I have in my installation:

[hilite pre_code]
# BEGIN s2Member GZIP exclusions

RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
RewriteRule .* - [E=no-gzip:1]

# END s2Member GZIP exclusions
[/hilite]

I see in yours that the enclosing if tags are missing, but that may have happened when you posted without wrapping it with code tags. I also see the [hilite code]R RewriteBase /[/hilite] line in the first post, or the duplicate WP code and orphan s2 lines in your third post.

I understand that this started happening around the time you installed s2Member, but I don’t think s2Member is the responsible for it. If that were the case, we’d have reports of this from several site owners, and although there have been .htaccess related issues in the past, they were different.

s2Member would only modify the .htaccess on activation, so having it happen in other moments also shows that it’s something else, maybe a cron job. And the fact that the problem continues without s2Member also confirms that it’s something else.

Got it that you removed all plugins, did you also try changing the theme to the default one? Or did you check to make sure no plugin put something in your must-use plugins directory /wp-content/mu-plugins/?

You can try installing a clean copy of WordPress in a test directory and add just s2Member there, see if you can reproduce the issue.

I’m afraid that 444 works fine as long as no plugin you install/update needs to add/modify its rules, so it’s not really a solution, but at least it helps keep the site going in the meantime.

Can your webhost help looking in their logs to see what’s modifying the .htaccess file when it happens? That’d be hugely helpful to know what’s doing it.

Posted: Sunday Mar 10th, 2013 at 12:28 pm #44214

Hi Matt.

1) Does my client actually have to fill out the form and make the purchase himself for the licence to work for their website? There is a note to developers on the purchase page that makes this really confusing.

It doesn’t have to be the client personally who fills out the purchase form, you can do it for him, but the user account the license is tied to should be his. You can register the account and pay in his name, that’s fine, and he should have the login details for future access even after you don’t work together anymore.

We put this policy in place after having several problems with some site owners who didn’t have the license to their name, or access to the account that did, and had to purchase a new one to get updates of the plugin. And this new way of doing it makes sense and solved that problem.

Think of it as registering the domain name. You can do it for him, but you’d register it under his name and he’d have control over it after you deliver the site and not work with him later.

Does this mean that having a Staging URL and a Production URL means we need to purchase the $129 license?

No, the license is for live WP instances. The staging/testing/development installations don’t count.


I hope that helps. :)

Posted: Sunday Mar 10th, 2013 at 12:18 pm #44213

Hi James.

Thanks for the kudos! :)

So, I want to block contents for certain membership levels, but not block the pages containing the content.

Eduán is correct. You can use conditionals for this. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

Posted: Sunday Mar 10th, 2013 at 12:14 pm #44212

Hi Mike.

Registration is done after the payment is rendered and I need certain terms agreed to for legal purposes. Pay Pal standard can’t do it.

You can sell them the paid access once they’re logged in, too. Have open registration (free) enabled, with the required terms agreement checkbox, then have the PayPal button to upgrade the account after they login.

Knowledge Base » Force Terms & Conditions agreement

After reviewing the S2 Pro add on, it appears this can be accomplished in one step. However – is the subscriber (member) registration data automatically stored in User Profile of WP, excluding financial information?

Right, the pro-form integrates with PayPal Express Checkout (free) or PayPal Pro (paid). It acts as a registration form if the user is not logged in and will let you have the user agree to your terms before he proceeds to payment.

Secondly – I don’t like using the WP admin bar and or want to redirect users to Login Welcome page – I’m currently redirecting back to home page and using a Customer Center for profile mods. Will the Pro login form solve issues with modifying account profile?

The Pro Login widget is not required to send people to the Login Welcome page after login, that’s the default behavior. If that’s not what you’re experiencing in your installation, maybe this video will help: Video » s2Member (Login Welcome Page Conflicts?)

Remember to test that with a normal account, the admin will always be shown the admin dashboard.

The admin bar, the one at the top, can be disabled with other plugins. http://wordpress.org/extend/plugins/search.php?q=disable+admin+bar


I hope that helps. :)

Posted: Sunday Mar 10th, 2013 at 12:07 pm #44210

Hi Ray.

 Automated member management – “subscription based” year long membership

Yes, you can send yearly paid memberships.

 Enable members to be part of several categories (or lists) enabling placement of members on Master lists, or individual category lists based on profession

s2Member doesn’t add user groups for something like this. You could use the custom profile fields to save the profession in their profiles. Searching by custom profile fields doesn’t have an interface yet, but it’s not impossible to do with a hack.

 On site member sign up

Yes, this is included.

o This functionality should tie into the membership management tool

You can change the user’s access from his profile.

o Allow for payment online with automatic membership approval and activation

Yes, this is included.

o Allow for off line payment with membership approval and activation required upon receipt of payment

If it’s offline, then the user’s access will need to be managed manually, editing his profile.

Also have each member to 3-5 categories, or lists, within s2member. ??

Are you referring to users? By categories/lists do you mean levels? There are several levels, yes. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Levels/Labels[/hilite]


All these things can be done with the free version of s2Member, if PayPal Standard is the payment gateway you’ll use. You should install it in a clean WordPress installation to test and explore s2Member’s admin pages. You’ll see what’s available and they have plenty of documentation.

In this site you also have the videos, which explain a lot about the plugin and what you can do with it. I suggest you watch them to learn more and clear your doubts. http://www.s2member.com/videos/

I hope that helps. :)

Posted: Sunday Mar 10th, 2013 at 9:02 am #44206

Thanks for the update.

Not sure why the checksums are out of whack.. I pulled down the current stable versions off your site the other day when I set this environment up.

Something may have gone wrong with one or more of the files when you uploaded them.

Could you try reuploading them until the server check doesn’t throw that warning? Try via FTP with FileZilla.
s2Member® » Framework » Install/Upgrade Instructions
s2Member® » Pro » Install/Upgrade Instructions

The PDT setting was still using the production server and not this clean test environment. I’ve updated that and run another AMEX transaction, and here’s the IPN log for that… Still no email receipt though…

Thanks for fixing the PDT. The email not sent may be because the transaction still hasn’t worked…

I’d like to look at all the log entries. Could you please submit the login info for the clean installation? s2Member® » Private Contact Form

Thanks. :)

Posted: Sunday Mar 10th, 2013 at 7:00 am #44194

Right. Capabilities can only be added to a user account.

If you’re using the capability pro-form, I’m pretty sure it works as a registration form when the person isn’t logged in, like the level pro-forms do. But if the person is already registered, you should have him login first so the capability he’s purchasing gets added to that account and not a new one.

Posted: Sunday Mar 10th, 2013 at 1:39 am #44192

Ah, yes, those would help.

Also, if I’m not mistaken, users are tied to a blog in the network, so you may need to do something extra to get users from all blogs. Maybe not, but keep it in mind. :)

Posted: Sunday Mar 10th, 2013 at 1:36 am #44191

Ah, sorry I missed those.

a. Is it possible to sign up a new user and create a single blog owned by that user through the registration forms provided by S2Member or does this need to be created custom?

You’d use /wp-signup.php. See: [hilite path]Dashboard -› s2Member® -› Multisite (Config) -> Multisite Registration[/hilite]

b. when the New Blog/subdomain is created when user signs up the site should be copied from a default subdomain/blog that has the proper theme(s), plugins, CPT’s, etc already installed.

s2Member doesn’t handle that. You’ll need other plugins to control the way the new blogs are created. s2Member only manages access.

Here’s a thread related to plugins in multisite, not sure if it’ll help: http://www.primothemes.com/forums/viewtopic.php?f=36&t=1414

c. If we want to restrict content/functionality/CPT’s on a user blog that the user creates, do we need to install s2member on the subdomain blog as well or can we just include a function in the code that restricts content based on user level so that we don’t need to install the full plugin?

When you have s2Member in the multisite installation, you can activate it in the child blog and use it there. Users are not shared between network blogs, as far as I understand, though. If you want to manage content access in one blog based on the user’s level in another blog, you’ll need to find how to share users across the network.

d. Yearly Payment – is there an option to give a discount if the user pays for the full year in advance?

Yes, you can create a new button for it with the proper discounted price.

e. Affiliate program – we are interested in setting up an affiliate program, it seems like there are additional plugins that are necessary to achieve this. Is the affiliate plugin only installed on the main site?

s2Member will work with your affiliate program script even if it’s in another site. Video » s2Member (API Tracking/Notifications)

If the affiliate script matters, I’m sure they’ll tell you. If it’s a plugin, then it will have to go in the WP installation, of course, but if it’s a separate one like iDev, it’s independant.

f. Coupon program – is it possible to create coupon codes redeemable for discounts?

s2Member Pro forms have a coupons feature. Here you can see the panel to create them:

g. Is it also possible to do away with the free level and only have a trial period of 30 days, after which the subdomain/site is disabled and the user has to enter payment details to keep it up and running?

You can configure s2Member so Level 0 (free) users don’t have a blog. [hilite path]Dashboard -› s2Member® -› Multisite (Config) -> Multisite Registration -> What Do You Plan To Offer -> Blog Farm -> Level 0[/hilite]

I’m not sure if the existing blog would be deleted when the user gets demoted, or if he’d lose access to its administration… I’ll check with Jason.

Posted: Sunday Mar 10th, 2013 at 1:18 am #44190

You could also try changing the s2Member protected folder to the default WP uploads one. Not sure if that’ll work, but you can try. http://www.primothemes.com/forums/viewtopic.php?f=36&t=2729&p=8018#p8018

Create this directory and file: /wp-content/mu-plugins/s2hacks.php
Knowledge Base » Hacking s2Member® Via Hooks/Filters

[hilite pre_code]

Viewing 25 replies - 1,876 through 1,900 (of 7,376 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.