About: Bruce

*
My Favorite Topics
Topic | Count | Last Reply |
---|---|---|
Mismatched PayPal and Registration Emails
By: |
voices: 4 replies: 23 |
Topics I'm Subscribed To
Topics I've Started
Topic | Count | Last Reply |
---|---|---|
Setting Up EOT Notifications
By: |
voices: 16 replies: 21 |
|
Automatic Login Based on IP
1
2
By: |
voices: 4 replies: 26 |
|
Using The Membership Options Page Variables
By: |
voices: 3 replies: 2 |
|
Disallowing Users to Login
By: |
voices: 1 replies: 1 |
|
Get User's Selected Checkboxes With PHP
By: |
voices: 3 replies: 3 |
|
Changing the EOT Demotion Level Dynamically
By: |
voices: 3 replies: 2 |
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Monday Dec 30th, 2013 at 9:02 pm #62265 | |
![]() |
|
Gotcha. Yes I can see why this wouldn’t work with multiple Pro Forms, but I honestly can’t tell you an easy way to get Username to go through validation. This is because s2Member does something similar to what you were asking about with multiple of the same fields in your post:
The hack that Raam posted here will only check for the first of these fields. If you need to bypass all of the checks for Username, you’ll have to check the number of options there are, and alter the JavaScript code snippet to work correctly with each of the options. The part of the snippet you’ll want to focus on is here:
Another developer familiar with JavaScript could throw something together here, but it goes beyond what I can do in just a forum post, sorry. |
|
Posted: Monday Dec 30th, 2013 at 8:39 pm #62263 | |
![]() |
|
Great! Happy that was a help.
Do you have a link to that post? I’m not familiar with that hack. |
|
Posted: Sunday Dec 29th, 2013 at 6:11 pm #62245 | |
![]() |
|
Great! Sorry, this is the one thing that seems to get people with the security badge. This directory needs to be completely empty except for that .htaccess file for s2Member to verify your security badge. :-) |
|
Posted: Sunday Dec 29th, 2013 at 4:45 pm #62239 | |
![]() |
|
Hi Niall, s2Member can help you out here, but this is a rather advanced use of s2Member, so you might run into some roadblocks that require using some of s2Member’s advanced features (which can mean very basic PHP coding). What s2Member can do for you
What s2Member won’t be able to do without a bit of customization
|
|
Posted: Sunday Dec 29th, 2013 at 4:19 pm #62236 | |
![]() |
|
Hi Faith, Sorry to hear you’re having problems with this. The only thing I’m seeing here that you haven’t touched on is the s2Member Security Encryption Key. Is that set? See: Dashboard -› s2Member® -› General Options -› Security Encryption Key If that’s not it, then I would recommend logging into your site’s FTP server, and checking your /wp-content/plugins/s2member-logs/ directory, and ensuring that there is nothing but a .htaccess file in that directory. Also, be prepared to allow up to 24 hours for s2Member change your Security Badge to green. If that doesn’t help let me know. :-) |
|
Posted: Sunday Dec 29th, 2013 at 4:11 pm #62235 | |
![]() |
|
Sorry that you’re having so many problems with this.
I would definitely make sure logging is turned on. Make sure that logs are generated when you create a subscription, and when a cancellation is done. If not, then it could be some kind of blacklisting, or a caching problem. Look at the errors. If you see any and don’t know what they mean, post them here and I’ll try to clarify for you. :-) |
|
Posted: Sunday Dec 29th, 2013 at 4:08 pm #62234 | |
![]() |
|
So sorry, I linked to that from memory. That’s the old location of the documentation for Custom Capabilities. The real name of this section is Custom Capabilities (Packages).
s2Member won’t immediately demote a User when they stop paying usually. Instead, it will set an Automatic End of Term time on their profile. I’d recommend looking at the profiles that have been canceled by a User and see if that EOT Time is set. If it is, then s2Member is working correctly, and that User will be demoted after the time that they have paid for is up (i.e. when they hit their EOT time). s2Member should get notification of the recurring subscription being cancelled almost immediately. There’s detailed information on Auto EOTs here: Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior If the EOT time isn’t set on the profile for the User it’s supposed to be, that probably means that there’s something wrong with your PayPal IPN setup. Try turning on logging here, and checking your PayPal settings to make sure that IPN is set up correctly: Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration |
|
Posted: Sunday Dec 29th, 2013 at 4:13 am #62225 | |
![]() |
|
Hi Carrie,
Great! I’m happy you’re happy. :-) Thanks for your questions! I think you’re on the right track in the way you’re using Membership Levels here. What I’d suggest doing is setting up Pro Form Wrapping. This is a relatively new feature so you probably haven’t seen this yet, but it’ll keep your checkout page more streamlined when you have multiple options available. There’s documentation on it here: Dashboard -› s2Member® -› PayPal® Pro Forms -› Wrapping Multiple Shortcodes as Checkout Options I would recommend checking out this part of the Dashboard as well: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals You’ll want to use these Shortcode Conditionals in conjunction with the wrapped Pro Forms so that Users that already have an account don’t get Pro Forms for New Users. You’ll want to show Modification Pro Forms here.
No, sorry. I’ll pass along Custom Registration/Profile Field cloning as a possible feature in a future version of s2Member. I might suggest having your developer set up an external system for this using s2Member’s Conditionals here, just because this is not really what s2Member’s Custom Registration/Profile Fields are meant for. Especially if you don’t need Users to be able to enter this extra information on checkout. |
|
Posted: Sunday Dec 29th, 2013 at 3:45 am #62224 | |
![]() |
|
Hi Glyn, I think I can help answer your questions. :-)
The custom attribute is an attribute that PayPal gives s2Member access to, and s2Member uses it to verify that the transaction is meant for s2Member to process. s2Member checks that the custom attribute is set to your domain name (along with checking a few other values) to make sure that the transaction it’s getting is not meant for, say, an eBay sale, or a different site that you have your PayPal account hooked into. This should always stay as your domain name to prevent conflicts.
s2Member does not perform any changes when a recurring payment is performed to users. In fact, you could take someone that is paying for level 1 and manually push their account up to level 3, and s2Member will not demote at any point other than when they stop paying and lose access. If you don’t want a User to be demoted even if they stop paying for access, you can simply remove their Paid Subscription ID from their profile, and s2Member won’t link the User’s transaction to their account anymore, making it impossible for s2Member to automatically demote them.
See: Dashboard -› Users -› Edit
No, s2Member won’t store any information like that by default. If you want to track your User types, I would suggest that you check out Custom Capabilities (ccaps). These (Custom Capabilities) are standalone capabilities that are given to Users on signup or upgrade and can be used to protect content or separate members aside from Membership Levels. See: Dashboard -› s2Member® -› API / Scripting -› Custom Capabilities To give you an example, you might give your Student members the Custom Capability “student”. Then, you can check if any particular User is a student with Shortcode Conditionals. Example of using Shortcode Conditionals:
See: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals You can generate Pro Forms / Buttons with Custom Capabilities baked right in, or add them in later by editing the ccaps attribute that’s in your Buttons and Pro Forms’ Shortcodes. Does that help? |
|
Posted: Wednesday Aug 21st, 2013 at 5:55 pm #56374 | |
![]() |
|
@rocko
Yes that should mean that you are good-to-go on the security badge. It sometimes takes up to 24-hours for s2Member to actually make the security badge work. s2Member doesn’t connect each time that the security badge loads to check to see if your site is secure. Only once a day. |
|
Posted: Wednesday Aug 21st, 2013 at 8:36 am #56351 | |
![]() |
|
@hundredvisionsguy
The template attribute looks in your /wp-content/themes directory (or whatever your themes directory is set to) first if you provide it a template that way. You can move your custom template to your root theme directory, or keep it in your child theme’s directory, and instead change it to look in that directory (as in /child-theme/my-template.php). |
|
Posted: Wednesday Aug 21st, 2013 at 8:29 am #56350 | |
![]() |
|
Thanks for the update. I’ll await your reply. :-) |
|
Posted: Wednesday Aug 21st, 2013 at 8:24 am #56349 | |
![]() |
|
@mrmacscience
I believe this is a change with WordPress’s storage functionality. This is essentially saying the same thing. The only difference is that s:1:”1″ means that there is a string with 1 character being stored, and the character is one; b:1 means that it’s storing a boolean 1, aka TRUE. They both equate to the same thing when you check them for being TRUE or FALSE (as WordPress will be). The only difference is the way it looks. @mrmacscience
The best thing you can do to prevent spam registrations are to turn off the ability for Users to set their Passwords without receiving an email from you first, available in this part of the Dashboard: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields Here’s that part of the Dashboard (click to see full image):
You might also want to switch to using a Free Registration Pro Form along with enabling an Captcha on this form to keep bots from creating accounts as well: Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms |
|
Posted: Wednesday Aug 21st, 2013 at 8:15 am #56348 | |
![]() |
|
@andreainblue
The Pro Forms are not (by default) capable of doing this, but you might be able to accomplish this with a little custom code if you absolutely need to. s2Member encrypts all of the information with Pro Forms to keep it impossible for Users to change this price normally, but you can create a custom Pro Form template, and change the amount value based on an input field that you create in this template. See: Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates? If you create a field in this Pro Form template, you can get the value that Users pass into this field, and use it to change the amount that you charge a User (either recurring or non-recurring) using the information here: Knowledge Base » Using Variables In A Shortcode You would want to use the second example in this article:
Past that, sorry. I can’t really say how this could be possible. I’ve never had anyone ask for this capability with Pro Forms before. |
|
Posted: Wednesday Aug 21st, 2013 at 8:03 am #56346 | |
![]() |
|
Thank you for your inquiry.Sorry for the delay in response. s2Member does not allow Users to be “reinstated” after a payment fails and PayPal sends s2Member a message telling it that the User’s Subscription is over (based on what you have set up in your Shortcode’s RRA attribute). See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained) -› rra To have a User gain access after they have been demoted by s2Member, they need to sign back up at your site through s2Member again. Check out these forms for information on how you can let Users bump their account status back up: Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms |
|
Posted: Wednesday Aug 21st, 2013 at 7:57 am #56345 | |
![]() |
|
Thank you for your inquiry.s2Member doesn’t support PDC at all as far as I know. The file that s2Member uses for setting up its supported extensions is here:
I can’t really help past that. Sorry. I’m moving this to the Community Forums where another User may be better able to help you.
|
|
Posted: Wednesday Aug 21st, 2013 at 7:55 am #56344 | |
![]() |
|
Thank you for reporting this important issue.I would say that the likely problem here is with a Plugin/Theme Conflict (as @RandyKing mentioned). However I have also seen things such as this happen with special Apache rules on your server causing random errrors, or with Mod-Security. See: Knowledge Base » Mod Security, Random 503/403 Errors If using the information that Randy does not work, then I would suggest contacting your server provider to see if they can help. :-) |
|
Posted: Wednesday Aug 21st, 2013 at 7:52 am #56342 | |
![]() |
|
Thank you for your inquiry.Sorry for the delay in response. What have you set up so far? According to that error, it looks like you’ve supplied s2Member an invalid directory I would take another look at what you set up based on what’s listed on #7 in this KB Article: |
|
Posted: Wednesday Aug 21st, 2013 at 7:50 am #56340 | |
![]() |
|
Thank you for your inquiry.Sorry for the delay in response. @davefft
You can change the link manually here: Dashboard -› s2Member® -› General Options -› Email Configuration -› New User Email You will need to change it so that s2Member is allowing you to edit the emails there. It should be pretty simple to make this change, but let us know if you have any problems. :-) |
|
Posted: Wednesday Aug 21st, 2013 at 7:47 am #56339 | |
![]() |
|
Thanks for your patience. It sounds like the issue you’re having is not that normal Users are not getting redirected, based on what you said here: @jwrbloom
s2Member will not redirect Users that should have access to the Dashboard (e.g. Administrators, Editors, etc.), because it does not want to interfere with these Users’ flow normally. As in, normally an Administrator would want to go to the Dashboard when they logged in. This is something that is not possible to change in the Dashboard. I’ve never heard of any Users wanting this to be possible. That being said, we’ll take this as feedback.
If you really want to always be redirected, regardless of your privileges (including when you log in as an Administrator) you can do that using the information here:
Knowledge Base » Hacking s2Member® Via Hooks/Filters There is a hook in this file that makes it possible to change when s2Member redirects a User based on Capabilities called ws_plugin__s2member_login_redirect:
To enable the login redirection for ALL Users (regardless of their level), you would put this in an s2hacks.php file in your mu-plugins directory you might need to create, as described in the Knowledge Base Article I mentioned before:
Just one note about using the Homepage as the Login Welcome Page, s2Member allows this to be possible using the method that I provided in my first reply (I confirmed with Jason, the lead developer). However, this is advised against, because if you do this s2Member will not protect your home page. This is the only time that s2Member does not protect the Login Welcome Page. The only way to protect the home page with s2Member® is to use a URI restriction that protects the entire site (e.g. Just something to be aware of, since this is something that you’re doing. :-) |
|
Posted: Wednesday Aug 21st, 2013 at 7:21 am #56338 | |
![]() |
|
@lg
Based on your current settings, Users should not ever get immediately demoted unless you issue them a refund, or they ask PayPal for their money back directly (i.e. a chargeback). At the top of this section the documentation covers this detail. I’m not sure why this would happen other than if a User both cancels and you give them their money back for the access they last paid for. |
|
Posted: Wednesday Aug 21st, 2013 at 6:57 am #56334 | |
![]() |
|
Sorry, I just took this example you posted in your first reply and tried it in a testing environment:
It appears to be working fine for me. Are you still running a clean installation with no plugins? Do you think we could take a look at it? |
|
Posted: Wednesday Aug 21st, 2013 at 6:54 am #56333 | |
![]() |
|
Thanks for your patience. Sorry about the delay. I’m taking a look at this and I’ll see if I’m able to reproduce this myself. |
|
Posted: Wednesday Aug 21st, 2013 at 6:53 am #56332 | |
![]() |
|
@ybttech
Cool. Thanks for the update. :-) |
|
Posted: Wednesday Aug 21st, 2013 at 6:50 am #56330 | |
![]() |
|
Jason (Lead Developer) is addressing this issue in this thread:
http://www.s2member.com/forums/topic/encrypted-paypal-subscription-button-error/#post-56280 I am going to close this thread and this can be continued over there. |