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.

Home Forums Bruce

Bruce

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 226 through 250 (of 2,703 total)
Author Replies
Author Replies
Posted: Tuesday Jul 30th, 2013 at 1:48 am #54376
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

What is it used for and how do I stop s2member from loading it?

It’s interesting that you’re having this problem, the ajax-loader.gif file isn’t only about 2kilobytes, and should only take a split second to download. Also, your browser should be caching this file after the first time it’s used so it should take nearly no time to load it.

We use Pingdom here at s2Member and we do not have this problem ourselves, though we are running s2Member as well. I would recommend contacting your server provider. Maybe they can shed some light on this.


This file is used in almost all of s2Member’s Pro Forms and Buttons. It’s not something I would consider “important”, as it is a UI element that Users should see for less than a second at a time. You could delete this file if it became a big problem and I believe that it would not cause any big issue. However, I would still recommend that you find the root cause of the problem.

Thanks!

Posted: Tuesday Jul 30th, 2013 at 1:37 am #54374
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

We have a client site that they want to have completely locked down. This would essentially mean that you’d need to have a userid/pwd to view any portion of the website including home page, posts, pages, etc. What would you recommend in order to do this?

You can accomplish this using URI Restrictions. You simply need to put a forward slash (/) in the Level 0 form here:

See: Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions

This will restrict access from everything but your Membership Options Page (where your Payment Options should be), your login page at /wp-login.php, and any processing URLs that s2Member uses (such as the IPN URL).

Posted: Tuesday Jul 30th, 2013 at 1:25 am #54372
Bruce
Username: Bruce
Staff Member

I want anyone who visits the site to have access to half the site without login or registration. Is this possible? Access to the other half of the site will be behind the membership plugin.

Yep. s2Member will only protect content if you tell it to, or if it’s the Login Welcome Page. So you would only need to protect the half of your content that needs to be restricted, and leave the rest as-is, and anyone will be able to see it. :-)

Posted: Tuesday Jul 30th, 2013 at 12:47 am #54370
Bruce
Username: Bruce
Staff Member

I had another doubt, the code I’m using for differentiation is $paypal[“mc_gross”], can I use it in Auth.net forms for sending different mails based on ‘mc_gross’, if not, what is the solution for sending different mails using Auth.net forms.

All of the variables from Authorize.Net are passed as PayPal variables and go through the central PayPal IPN Processor when a request comes in. So this variable should still work for you. That being said, I can’t tell you for sure. Sorry. The best to know for sure is to test it. I currently don’t have any way to do this myself, or I would.

Posted: Tuesday Jul 30th, 2013 at 12:42 am #54369
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member does not directly support this ability. We do support some Email filtering, but our method is to prevent spammers or specific email addresses (such as those from gmail.com) from registering (click to see full image):

Sorry about that.


If you’re willing to have just a bit of custom code, you could achieve what you’re looking for.

Assuming that you’re using Pro Forms (I believe this will be required for you), you could use this filter to accomplish this
(/s2member-pro/includes/classes/gateways/paypal/paypal-responses.inc.php, line 841):

ws_plugin__s2member_pro_paypal_form_submission_validation_response

This validates all s2Member Form values, and you can check the email value there, and return an error message for Users based on if they have an appropriate email address.

See: Knowledge Base » Hacking s2Member® Via Hooks/Filters

That’s about as far as we can go with custom code. If you need further assistance, we recommend http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.

Thanks, and let me know if you have any other questions. :-)

Posted: Tuesday Jul 30th, 2013 at 12:28 am #54367
Bruce
Username: Bruce
Staff Member

I see the s2 scripts in the list yet it still is asking for full name etc even while I am logged in.

Looking at your page now, that appears to be the case now. However I had done a complete copy of your header in my previous reply and this was the case. I’m sorry for the time wasted on this as it doesn’t seem to have helped your problem.

Am I correct that the username and email fields should be already filled in and un-editable? That is not what I see.

When you view a Modification Pro Form as a non-logged-in User, you should be prompted with this message, as on the default WordPress theme:

This error is meant to be only for site admins, really. The correct way to use Modification forms is to use Shortcode Conditionals to decide when a User needs to be given the form.

I’ve been unable to reproduce this issue on any of my development environments, and neither has our development team.

Posted: Tuesday Jul 30th, 2013 at 12:20 am #54365
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member does not have a dedicated Spanish translation, but you can translate parts of your installation using the WordPress default methods. s2Member comes with all of the translation files you’ll need to accomplish a translation. You can find information on that here:

Pre Sale FAQs » Can s2Member® be translated into other languages?

In addition, you may want to check out this subforum to see if there’s a translation that you can start with:

http://www.s2member.com/forums/forum/community/translations/

We don’t support any of these translations directly, so I can’t verify the validity of them, but it gives you a place to start. :-)

Let me know if you have any other questions.

Posted: Tuesday Jul 30th, 2013 at 12:15 am #54364
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m glad to hear that you’re interested in using s2Member Pro. :-)

Am I correct that I need the paid version for the take payment at time of registration?

s2Member Pro’s Pro Forms are the only way that s2Member has to have a User sign up when they complete payment automatically. s2Member’s Buttons do allow you to have a User sign up after payment, but they must first receive an email with a registration URL.

If you want to allow your Users to register as they are paying without waiting, yes. You will need to use s2Member Pro.

Is there a way to delete the Free Access member as this is not required?

What do you mean by this? Do you want to delete Users if they cancel instead of demoting them? You can accomplish that by changing the setting in this section of your Dashboard:

Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior

I’m very sorry if that doesn’t answer your question. Could you clarify what exactly you hope to do if that’s wrong? Thanks.

Posted: Monday Jul 29th, 2013 at 10:46 pm #54362
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

And thank you for your patience during the weekend.

Can I manage these logins and do I have the ability to accept / deny user registration (login creation) requests?

s2Member will let your restrict all of this data, but the ability to accept/deny a User has to be left to another plugin I’m afraid. I actually just wrote a plugin that might do this for you a couple weeks back. It’s totally free here, if you’re interested:

http://wordpress.org/plugins/member-approval/

Do you think that will work for you? Thanks, and let us know if you have any other questions. :-)

Posted: Monday Jul 29th, 2013 at 10:43 pm #54361
Bruce
Username: Bruce
Staff Member

I think I am going to have to ditch S2 as I am having too many problems managing my database and I’m tired of al the manual effort I have to put in… I am using paypal forms for all my signups but get inconsistent results; like

I’m very sorry to hear that. I’ll see if I can help you sort out some of these issues.

EOT field left blank
EOT field has subscription date showing

Paypal transaction codes often missing…

All three of these problems all (usually) are to do with an improper IPN setup, or a problem with IPN responses coming in. I’d recommend that you temporarily turn on s2Member’s Logging Routines and see if s2Member:

1. Is receiving IPN responses (i.e. the paypal-ipn.log file is being generated during transactions)

and

2. Is validating the IPN responses correctly. Make sure that s2Member is not throwing any errors when it receives data (if it is receiving data).

See: Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration

If you’re not comfortable looking into your logs, let me know and I’ll take a look at them for you. :-)

expired members cannot buy new products because ‘email in use’ (NB not renewing for previous service)

Users should be logged in when they attempt to complete a transaction. You should also be giving Users that are logged in Modification Buttons/Pro Forms instead of regular Buy Now Buttons, or you should make sure that your modify attribute is set up accordingly. Could you provide an example of a Shortcode that causes this error to happen?

Posted: Monday Jul 29th, 2013 at 10:38 pm #54360
Bruce
Username: Bruce
Staff Member

thank you for the detailed answer. In the meantime we had another meeting with our customer and he specified his list of features, so we would addiotionally ask about Buddypress integration.

s2Member’s BuddyPress integration allows you (as the site owner) to use s2Member’s Custom Profile Fields with BuddyPress’s Registration form, which overrides s2Member’s default (usually at /register/), as well as in the Edit Profile section of BuddyPress and the BuddyPress Profile Page. This is all built-in, and to ensure that your s2Member Registration/Profile Fields are brought into BuddyPress you simply need to check some boxes in this section of your Dashboard:

Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

To protect certain parts of BuddyPress, you can use s2Member’s URI restrictions. For example, if you wanted to keep the Activity Page from being accessed, you could restrict the URI /activity/.

See: Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions

Let me know if you need any further clarification. :-)

Posted: Monday Jul 29th, 2013 at 10:32 pm #54359
Bruce
Username: Bruce
Staff Member

So from your answer, my understanding of custom capabilities and my scenario can you confirm that this is what I would need to do:

Yep, that looks right. It’s pretty simple to set up, if you want to set up your Custom Capabilities before you purchase s2Member Pro to make sure everything will fit together right, that’s just fine, too. The thing you need s2Member Pro for here is to allow Users to get these Custom Capabilities for free. :-)

Posted: Saturday Jul 27th, 2013 at 4:16 am #54204
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

This is possible now, with the addition of the ability to use PHP code in the email fields within s2Member. If you put the following into the email field that you’d like to work with, you can see all of the variables available for you when you create a new User, or do a test payment (depending on which email you’re working with):

<?php print_r(get_defined_vars()); ?>

Once you know what you have, you can use a lot of the examples from this section of your Dashboard to accomplish what you want:

Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Posted: Saturday Jul 27th, 2013 at 4:09 am #54203
Bruce
Username: Bruce
Staff Member

Thanks for your patience.

I got word back on this from Jason. Apparently the integration for this no longer requires this profile variable. We’ve updated the Knowledge Base Article to reflect this.

See: Knowledge Base » iDevAffiliate® (s2 Commission Tracking)

So just use the URL you have without the profile variable. Let me know if that works. :-)

Posted: Saturday Jul 27th, 2013 at 3:55 am #54200
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

However, the very top levels of membership are for customers with custom content for just them, so they need access to their private data and all the levels below. There are many customers at this level, and they should not get access to other customer’s custom content, but they need all the base levels below.

Is there a way to implement this in s2Member? It doesn’t need to be in the free version, but it is a requirement for the member plug-in I select.

The way you’d accomplish is using Custom Capabilities. Custom Capabilities are not incremental, and can be given to anyone regardless of Membership Level. You can protect Posts/Pages with Custom Capabilities in nearly the same way as you’d use Membership Levels. The simplest way is to use the the Post Meta field available in the Add/Edit Post/Page Page (click to see full image):

What you’d do is set up a Custom Capability to protect the content that is separate from your other Users, and give access to that Custom Capability at s2Member Level 0 to give Users to only that section of your content.

For an in-depth explanation of Custom Capabilities, you can check out this video: Dashboard -› s2Member® -› API / Scripting -› Custom Capabilities

Will that work for you? :-)

Posted: Saturday Jul 27th, 2013 at 3:48 am #54199
Bruce
Username: Bruce
Staff Member

I notice as the page is loading that it briefly displays billing info then disappears. I am using pro form with paypal as only option in both of the fields…well see below

After taking a look at this, we have found that the issue I was reproducing was a separate problem with my local environment. The issue with your site appears to be that s2Member’s CSS/JavaScript isn’t loading on the Pages that you have your Shortcodes on.

This was hard to track down because your JavaScript and CSS does load normally on pretty much every part of your site but these pages. If I take a look at /join-here-sod-membership-25month/ on your site, your head tags look like this:

<head>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Pontano+Sans&amp;subset=latin,latin-ext">
<style type="text/css" media="screen">...</style>
<style type="text/css">...</style>
</head>

This portion of your Page should have multiple <script> tags, where it doesn’t. It looks like your theme is missing a call to wp_head() in this template. You should get your theme’s developer to look into this.

Thanks!

Posted: Saturday Jul 27th, 2013 at 1:40 am #54195
Bruce
Username: Bruce
Staff Member

Got it fixed.

The problem was with how you set up your Capabilities. s2Member redirects only if a User does not have the capability edit_posts to prevent Users such as Editors or Administrators from being redirected to your Login Welcome Page.

You have Capabilities Manager installed, and enabled that capability on some of your Roles, which was causing the issue. I’m not sure why you did that, but I did add a little hack to your site that will make it so that only Users that aren’t Administrators should be redirected. Here’s the code I added to your s2hacks.php file:

Knowledge Base » Hacking s2Member® Via Hooks/Filters

FYI: Since you’re editing your Roles this way, you should lock your Roles and Capabilities so these changes don’t get overridden when you update s2Member.

See: Knowledge Base » Locking s2Member Roles/Capabilities

Posted: Saturday Jul 27th, 2013 at 12:36 am #54194
Bruce
Username: Bruce
Staff Member

Thanks. I was able to reproduce this on a test installation. I’m contacting the development team about this and I’ll get back to you ASAP.

In the meantime, you can reproduce this behavior using Shortcode Conditionals in the short term.

See: Knowledge Base » Simple Shortcode Conditionals

Posted: Friday Jul 26th, 2013 at 11:58 pm #54193
Bruce
Username: Bruce
Staff Member

sent!

Got it. Taking a look now.

Posted: Friday Jul 26th, 2013 at 11:57 pm #54192
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Sorry about the delay. We get to threads as they come in. We had to work down to yours. Sorry about that.

I need to upload training content for the following user types:

customers
reseller partners
premium reseller partners
internal staff

We don’t want to charge for any of this access. So in effect they will all be free members.
But how do I allow them to register without using Paypal?

You’re on the right track with Custom Capabilities. You’ll want to have 4 separate Custom Capabilities for these levels, as they have separate content. You can give access to these Custom Capabilities using Free Registration Pro Forms (with s2Member Pro):

Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms

These forms allow you to give access to specific Membership Levels, or Custom Capabilities for free, and you can also set End of Term dates for these Users, if you only want them to have temporary access to these.

Posted: Friday Jul 26th, 2013 at 11:51 pm #54191
Bruce
Username: Bruce
Staff Member

Sorry for the delay~

Thanks Bruce. Do you want to see just the setup for my login welcome page? If so, here it is:

Thanks.

I’ll have to take a look at your site to see what might be happening here. Can you send login details via Private Contact Form, please?

See: s2Member® » Private Contact Form

Posted: Friday Jul 26th, 2013 at 11:47 pm #54190
Bruce
Username: Bruce
Staff Member

Sorry, but I’m not able to log in anymore. I just tried logging in with the administrator details you sent and the site is not loading when I attempt to log in via /wp-login.php. I’m not sure why that is. Is the server undergoing maintenance?

I will try it again in a bit.

EDIT: I got in. Taking a look.

Posted: Friday Jul 26th, 2013 at 11:29 pm #54189
Bruce
Username: Bruce
Staff Member

Thanks for your patience.

I don’t mind you to do whatever you have, just to find the right solution for the girls who have the website.

Got it. I’ll see if I can find the source of the trouble. I’ll get back to you ASAP.

Posted: Friday Jul 26th, 2013 at 8:58 pm #54186
Bruce
Username: Bruce
Staff Member

Thanks for your patience. I contacted Jason about this.

I’m seeing conflicting information from iDevAffiliate on this. The URL that they provide in this section of the Dashboard is different than the documentation PDF at iDevAffiliate. There should clearly be a Profile ID associated with this but I’m not seeing where it is myself, either. I’ll see what Jason has to say about this.

Posted: Thursday Jul 25th, 2013 at 10:29 pm #54119
Bruce
Username: Bruce
Staff Member

I figured it out! It was a browser issue with how Chrome holds it’s cache. First, I tried in Firefox successfully!!! Then, I totally cleared Chrome’s cache and was able to register and activate.

Cool, I have to admit I wouldn’t have guessed that was the issue here.

Now, I’m having trouble with the site asking even logged in users for the activation key (which it actually doesn’t care about — but it will confuse users). But that’s another issue. Thanks so much for all your help!

Activation key? Sorry I’m not sure what you’re referring to with that. Is that from another plugin?

Viewing 25 replies - 226 through 250 (of 2,703 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.