• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Archives for Actions

Actions

Request additional data fields on a specific page

Chad Butler · Apr 20, 2014 ·

This particular example is a generic tutorial for requesting additional data fields in the registration form on a specific page. Since these are fields that do not show up in the regular registration form, we need to also present the data to logged in users to add this data.

While conceptually this is not an overly complicated process, the practical implementation has quite a few steps, so I will try to explain each step in the process while giving that particular code snippet being discussed at that point.Continue Reading →

Only Allow Registration From Specified Email Domains

Chad Butler · Jan 11, 2014 ·

One really fun thing about developing, maintaining, and supporting WP-Members over the years is putting together unique customizations and code snippets based on user requests that I never thought of.  It shows how truly versatile the plugin is and that there is a very diverse user base.

This particular snippet comes from a user request to essentially create an email whitelist for registration, thus only allowing registration if the user’s email account is from a certain domain.  This can be used in a number of different scenarios.  One particular use would be for someone maintaining content for specific business clients and you only want users from those specific client domains to be able to register.  Continue Reading →

Adding WP-Members Columns to the User Admin Panel

Chad Butler · Nov 27, 2013 ·

 

custom_columns

With both the general plugin and the various extensions, there are several columns that you may wish to add to the User Admin Panel.  In my user panel, I like to see the date a user registered, their last login, and when their subscription expires.  These custom columns involve data that is native to WordPress (user registered), from the User Tracking Extension (last login), and the PayPal Subscription Extension (expires).

This tutorial will show you some examples that you can use, but it can be easily adapted to other custom columns you might want to add as well.
Continue Reading →

Fighting registration spam with a honey pot

Chad Butler · Aug 3, 2013 ·

I’ve had a few requests for help with combating registration spam using the plugin.  To be honest, I’m right there with you all – I was getting a great deal of registration spam here on the site.  I’ve been working on how to reduce that with a number of approaches.

One approach is the Security extension which has settings to set up black lists.  But blocking IP addresses needs to be done with caution.  Many spammers are not spamming from their own machines.  Some of it comes from innocent victims with compromised systems.

Another possible solution that can work well is to use what is known as a “honey pot.”  This is essentially a trap that the spam bot puts its hand into and is trapped.  That is the method I will describe here.

Continue Reading →

Simple registration invite code example

Chad Butler · Apr 7, 2013 ·

This article pre-dates the Invite Codes plugin extension. I am leaving it up because it is a nice, light-weight method of setting up a simple invite code process. However, if you just want something easy, check out the Invite Codes extension.

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.  Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Go to Next Page »

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy