Tag: wpdb
-
Validate a registration with a PIN
Here is a script idea you can use to validate a stored value that you might have for users (such as a PIN) against their registration data. This example will assume that you only want to allow certain registrations for people who you already have data on (in this example, their name) and you want…
-
Email users when a new post is published
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…
-
Add a database generated list of values to the registration form as username
This post will show you how to replace the username selection in the registration form with a dropdown list of choices generated from a database. This is similar to what is described in this post except that in this version, we are using this as the username selector.
-
Add a database generated list of values to the registration form
This sample code is an example of how to take a list of values from a database table and use it to generate a dropdown select option in your registration form. You can get as involved or as simple as need be from this framework. I will be giving an example that will take a…