This is an example of adding a very simple invitation code to your registration process. In this example, we will add an invitation code field to the form and set up a function to validate that code. To keep it simple, the invitation code will be static (there will be only one code). Later I will be publishing a more advanced example where you can read user specific codes from a database table, validate, and also mark the code as claimed. [Read more…]
This tip is a request from a user. I like user requests – that makes it easier to deliver the kind of tutorials users are looking for instead of things I just come up with on my own.
This particular tip will address how you can automatically send an email to all users when a post is published or updated. [Read more…]
WP-Members has its own built-in form field validation for things like usernames, email, and required fields. But what if you need to validate other elements, such as testing to see if an entered value is a number? Yes, the plugin framework allows for you to extend the form field validation to whatever you need.
NOTE: As of plugin version 2.9.3, password, password confirm, and email confirm fields are included in the plugin’s default fields. All you need to do is enable them. Everything described in this post is now integrated into the plugin.
Some users like to have a confirmation process in their registration. For example, having two email fields and comparing to make sure the user properly entered their email address. This code snippet will show you how you can quickly add this feature with the addition of some custom fields in your form.
The WP-Members recommended WP Setting is to set RSS to summary. But if your site doesn’t need to have an RSS feed (such as a static site using only pages, or if you simply do not promote via RSS), it might be advantageous to turn of RSS. Then that is one less thing you have to worry about protecting. Here is how you can turn off RSS feeds for your site altogether. [Read more…]