One time unique access code for registration
-
Hello,
I am looking to make each new user type in an ‘invitation code’ (that they will have received via hardcopy) before they are able to register. Each user must have a unique invitation code so that we can differentiate the users and confirm they are who they say they are.
I’m not sure if this is possible with s2Member but if it is, please let me know how. I am currently using the free version of s2Member.
Also, if s2Member has a setting that forces every new user to be approved by an administrator, can you please direct me towards that?
If you need anymore details feel free to ask.
Thanks
-
For invitation codes, you will need the Pro version: see https://s2member.com/kb-article/can-i-offer-promotional-discounts-or-coupon-codes-using-s2member-pro/
As for forcing approval, the usual way to accomplish that would be to protect your content at level 1 or above, but create registration forms that cause users to register at level 0. That way, users will become members of your site, but will have access only to the Login Welcome Page until you manually approve and upgrade them.
Okay so I think we’ll invest in that, is there a way to mass generate about 100 unique “coupons” that are one time use?
And wow haha I actually setup the member levels like that originally but I hadn’t thought of using it for achomplishing that.
Thank you
is there a way to mass generate about 100 unique “coupons” that are one time use?
Yes, you do that by tweaking the appropriate shortcode. Take a look at the video here: https://www.youtube.com/watch?v=T3N_vygowbM&feature=youtu.be Further details are in the s2Member Pro back-end.
Yes, you do that by tweaking the appropriate shortcode. Take a look at the video here: https://www.youtube.com/watch?v=T3N_vygowbM&feature=youtu.be Further details are in the s2Member Pro back-end.
Hmm okay. I’ll ask if they’d like to invest in the pro version and everything else seems pretty straight forward from that. Thanks!
Just out of curiosity, what would that shortcode look like. I’m not sure how to adapt it from the video so let’s say I wanted 50, one-time access codes. How could I generate those codes and implement them properly?
It depends what exactly you want to do, but the shortcode will look something like this:
[s2Member-Gift-Codes discount="10%" quantity="50" /]You just put that on whichever post or page you want.
I’m basically using it as a unique identifier for each user. I hand the user a hardcopy of the code and then they enter it in to the registration form when they go to register to my site. Just a way to confirm the identity of each user. If they enter in “Joe” when their name is actually “Bob” I can quickly recognize this as I know I handed coupon code “123abc” to “Bob” and not to “Joe”
OK, so what you want is actually another part of the Pro version of s2Member, namely Pro Form Coupon Codes.
You can get a little of how they work here: https://s2member.com/kb-article/how-do-i-enter-a-pro-form-coupon-code/
The image you will see there is of the s2Member back-end: you set how you want the coupon configured there and then give the code to whomever you want.
However, to get each such coupon to work only for one person, you will first need to create an account for the person to whom you want to give the code, so that you can associate their user ID with the coupon code. You will also need the user to login before they use the coupon (otherwise there’s no way for WordPress to recognize who they are).
I think I explain incorrectly haha.
The was I see it in my mind is a I have an excel spreadsheet laid out as such:
User | Access Code
User1 | a385bfd
User2 | sdn48hf
User3 | 3y9hfhsThen I print out each access code (or coupon code) and hand that to each user. Give the code to them and they use it like an ‘invitation code’ for the website. That way I can cross-reference my user database with my original excel spreadsheet and eliminate errors. The reason this convoluted process is necessary is because we don’t want the website manager to have to add in each user individually as the users will come and go (it’s a cadet program and 7 years max AND people quit often).
I hope that was a bit more clear, I realized my last reply was a little confusing 🙂
OK, I see what you want to do. But it’s not going to work in the way you envision, I’m afraid. And the difficulty isn’t due to s2Member. The same problem will apply irrespective of how you attempt this.
Here’s what you’re forgetting. You need some way for the website to recognize these codes. If you haven’t input these codes somewhere into WordPress, there’s no way for the site to know what they mean.
That’s why s2Member would want you to input Pro Form Coupon Codes. They are essentially the s2Member version of your Excel codes. Without them input into the site, your plan won’t work.
But might I suggest an alternative?
Will these cadets all be given an email address that has a common email domain that is unique to the program (or, at least, the organization), for example,
@cadet.org?If so, then you could achieve what you want by using the Pro version registration forms and whitelisting that email domain, so that only people with such an email address could register. Obviously, you’d already have a record of who has each email address, so that should then give you the ability to check.
Unfortunately no. But, again, my ability to properly explain has failed me :’)
What I’m envisioning is that the ‘access code’ is just another field in the user section (the ones up top, such as username, name, email, role, posts, etc.). So the access code they input is passed through into the user information section.
Seems easy enough. Just add a custom field and pass whatever the user inputs into the “access code” field through. However, I want it so that only access codes that I say exist are allowed to be entered. So this access code just gives them access to the site (or registration form) and from there. I use the access code to verify their identity in my excel spreadsheet.
By the way, thank you so much for the help!
I see. Well, you can certainly create your own custom field in an s2Member Pro Form. The issue is going to be how to validate what’s put there. That’s a bit beyond anything I’ve ever attempted with the plugin, but this might give you some ideas: http://s2member.com/kb-article/s2member-pro-forms/#customizing-pro-forms
Or else you’ll need to hire a developer to customize this for you. If you go to the official s2Member forum (forums.wpsharks.com) you should be able to find someone there.
Hmm okay, we might just go the easy and cheaper (but longer) route and add each user individually.
I was hoping there would be some functionality like what is found in this plugin:
http://www.wordpress.org/plugins/baw-invitation-codes/Well, Julio is a great developer, so there might be good news here.
If you use WordPress’s own registration form, and not s2Member’s, then I’d have a go at customizing it using a combination of both plugins. You might get lucky because both s2Member is designed to run with regular WP functions, and Julio takes a similar approach.
This (paid, but not expensive) plugin says it will do what you want and that it integrates with s2Member: https://www.cminds.com/store/cm-registration-and-invitation-codes-plugin-for-wordpress/#features
The topic ‘One time unique access code for registration’ is closed to new replies.