• 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 » Blog

Blog

Confirm password at registration and have password meet specific criteria

Chad Butler · Apr 25, 2014 ·

I’ve shown other code snippets for similar things – password validation at registration and having a password meet specific criteria.  However, the password requirements example was geared toward a setup that was requiring this when a user changes their password (they were not allowing it to be set at registration).

So here is an example that combines the two of these elements at registration.  Continue Reading →

Multiple Selection Checkboxes

Chad Butler · Apr 22, 2014 ·

As of WP-Members 3.1.0, multiple selection checkbox support is an included feature in the plugin. That makes custom implementation such as described here unnecessary for most applications. I am leaving this post here however as there may continue to be users who (1) need a high level of customization that may utilize some or all of this kind of approach, and (2) for users who may not update to 3.1+ who need this support.

multi-check.fwWith the new wpmem_register_form_rows filter hook introduced in 2.9, the process of dealing with multiple selection checkboxes becomes far less complicated than previously.

The previous method involved adding each checkbox as a field, and then all of the extra code we needed to handle multiple fields as one both for storing the data, handling user updates, and also in emailing admin notifications.

But 2.9 allows us to filter the rows directly in the array of rows and insert the extra html we need for this. That means you only need to create one field in the fields manager which makes handling the data much easier on the backend.  I’ve even made the code snippets nearly cut-and-paste.  In most cases, you should only need to specify the name for the checkbox group and the labels/checked values.  Continue Reading →

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 →

New extension for Salesforce integration

Chad Butler · Apr 19, 2014 ·

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..

 

On a recent commercial project I had to implement Salesforce integration for the WP-Members plugin. The benefit to the community is that I turned that into an extension for the plugin.

While this is presently considered a beta release, I will be packaging it for download and eventually including it in the downloads section.

I will be writing up more complete documentation and adding some screenshots, but for now I wanted to get this out and available for early adopters.

Installation

As with other extensions, you can install this as a plugin in your WP plugin panel.  Either unzip the package and transfer via FTP or upload in the WP plugin panel. Once you activate the extension there will be a Salesforce tab in your WP-Members admin panel.

Using the extension

The extension operates with Salesforce Web-to-Lead. You will need to create a Web-to-Lead form in Salesforce. Once you have done that, you will have the OID you need, as well as the information that you need to map your WP-Members fields to Salesforce fields. You won’t actually use the web form that Salesforce creates, but you will need the information from it so you can map the fields.

Settings

The settings are relatively simple. There are two fixed fields that you will need:

  • OID – this will be retrievable from the web form, it is essentially the API key for your Web-to-Lead form.
  • Lead Source – this is the lead source that the leads will have in Salesforce.

The rest of the fields will depend on the fields you have created and are using in WP-Members.  All of the WP-Members fields you have, both default and custom, will show in the left column. The right hand column will have fields you can enter the name of the Salesforce field.

For the Salesforce field name, use the name of the field from the Web-to-Lead form HTML. Enter any fields that you want the Web-to-Lead form to collect. Leave any others blank and they will not be used.

That’s it! Once you have mapped the fields and supplied a valid OID, new registrations will automatically be entered into Salesforce as new leads.

Get this plugin

You can purchase this plugin in the RocketGeek.com Store.

Reset password with just an email address

Chad Butler · Apr 4, 2014 ·

One of the requests I get most often is how can I change the plugin to have the password reset only require the user to give their email address.  This especially comes up when people customize the process to use the person’s email address as their username, since a password reset form with “username” and “email” doesn’t make much sense in that situation.

Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 50
  • Page 51
  • Page 52
  • Page 53
  • Page 54
  • Interim pages omitted …
  • Page 81
  • 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