• 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 Tips and Tricks

Tips and Tricks

Workaround for WP-Members front end login when using a CAPTCHA device on the WP login form

Chad Butler · Dec 20, 2013 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

If you using a plugin to implement a CAPTCHA on the WordPress login form (the backend login, wp-login.php), you will find that this is not always compatible with the WP-Members front end login.

WP-Members includes WP’s native hooks such as login_form for broad compatibility with plugins that may add additional authentication to the login. But these are not always compatible with WP-Members or with front-end logins in general.

If the third party plugin does not load its scripts on the front end, it will not be compatible. If you are getting failed logins with strange error messages (such as “human verification incorrect” or something like that), then the issue is likely that a third party CAPTCHA is being used, but cannot authenticate on the front end of the site.

What happens is that in order to implement the CAPTCHA, the plugin must remove the function wp_authenticate_username_password from the authenticate process with remove_filter.  This allows the plugin to implement its own authentication that includes not only username and password, but also will validate the CAPTCHA.

This creates a problem since WP-Members also uses WP’s authentication to log a user in. Because the WP-Members form will only be passing two parameters, username and password, and the authentication is now requiring the addition of a third parameter (the CAPTCHA) that is not included in that form, the login will fail.

There are ways to work around this.

Continue Reading →

Restrict Post or Page Access to a Specific User

Chad Butler · Dec 20, 2013 ·

Every once in awhile, I get a question about restricting content (either page or post) to a specific user.  There is a limited way to do that with the wpmem_securify filter, similar to the method for blocking content by category and user level.

post_meta_with_user_dropdownThis process is actually easier than blocking by levels or categories because you only need to determine three things:

  1. Is the user logged in? If not, then it is blocked regardless.
  2. If the user is logged in, but not the specified user, it is blocked and an error message is given.
  3. If the user is logged in and is the specified user, then the content is delivered.

This example will make use of a couple of new action hooks that will allow us to add a dropdown selector of users to the WP-Members post meta box.  Continue Reading →

Add a sortable date user registered column to the Users > All Users page

Chad Butler · Dec 4, 2013 ·

If you manage a site that has a lot of registrations, sometimes it is helpful to show the date the user registered as a custom column in the WordPress admin page Users > All Users.  I have shown in another post how you can add that data as well as other data to this table.

But what if you want to make it sortable so you can sort the table by the date the user registered to see what users have registered most recently?  Here is a way that you can do that.  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 →

Add a privacy policy or a terms of service in a textarea field

Chad Butler · Nov 26, 2013 ·

The plugin has a built-in process for adding a Terms of Service popup and that can be used in a number of different ways, or could be changed completely using some different filters.  But what about adding a separate Privacy Policy in a textarea field?  Or including your Terms of Service in the same way?  Here is a quick tutorial with some example code snippets to get you started.  Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Interim pages omitted …
  • Page 28
  • 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