• 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 » Search for "short code"

Search Results for: short code

A random word and number combination for passwords

Chad Butler · Jan 22, 2014 ·

One of the earliest code snippets provided on this site was one that discussed how to create an easier random password.  This post discussed two examples: one that showed how to create a random password of only upper and lower case letters and one that always set a specific word.

I understand that some sites have users that are not very computer savvy, and I often get the question of how does one generate a random password that is both secure and easy to use.  So, I came up with this little example.

This code snippet will generate a password that is a combination of a random word and a random 2 digit number.  This allows you to generate random passwords that will be easier on the user and still have some level of security.  Continue Reading →

WP-Members 2.8.9 release

Chad Butler · Dec 31, 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..

 

I had initially expected that 2.8.8 would wrap up 2.8.x and the next release would be begin 2.9.  But it looks like we need one more update to get through the period before 2.9 will be ready.

2.8.9 contains a couple of fixes, some updates to deal with the new Twenty Fourteen theme, and some updates that will help users transition to 2.9 (which will be rebuilding the form building functions).  Continue Reading →

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 →

User Tracking Extension

The WP-Members User Tracking Extension is a site usage tracking and statistics plugin that allows you to view site usage of registered (logged in) users.

This extension is available with the WP-Members Pro Bundle, WP-Members Lifetime Support, or is also available individually.

Installation

This extension installs as a plugin.  You can download the installation package as a zip file.  Then use the new plugin uploader or unzip the package and FTP transfer to your plugin’s folder.

Once the extension is installed, you can go to Plugins > Installed Plugins to activate.

IMPORTANT: If you are upgrading from a pre-1.0 version of the extension, please make sure to follow these steps to upgrade:

  1. Deactivate the existing version of the extension.
  2. Delete the existing version’s files via FTP, NOT using the delete option in the plugin panel (which will remove settings).
  3. Upload, install, and activate the new version as normal.

Using the Extension

Once the tracking extension is installed, it will begin collecting data when logged in users visit the site.

Site usage data can be viewed in two places:

  1. At the bottom of the User Profile
  2. In the Dashboard > User Tracking Page

When viewing data in the user profile, the stats will show the time stamp of the user’s last login as well as the last 5 pages visited (this can be increased or decreased with the wpmemstat_max_per_user filter).  Fields displayed can be changed with the wpmemstat_display_fields filter.  The bottom of the list will include a link to the dashboard to view the full list of stats for that particular user.

 

tracking_3

 

When viewing stats in the dashboard, you will see the same fields that are displayed in the user profile.  These can be filtered with wpmemstat_display_fields.  The number of stats per page can be filtered with wpmemstat_max_per_page.  You can view all stats of select a specific user from the dropdown list. The wpmemstat_user_droplist filter allows you to display the values in the dropdown by either user_login (the username) or displayname (if you are using a different value for displayname than username).

tracking_2

 

You can exclude a user from stat collection (such as any admins) with the wpmemstat_user_exclude filter.

The extension adds a tab to the WP-Members plugin options called “Tracking”.  Under this tab you can set what happens when you either delete a user or delete (not just deactivate) the extension.  On user delete, you can select to delete any stats related to that user.  You can also set the extension to remove the database table in which stats are stored if you delete the extension.  Please note that using either of these two options deletes that data – there is no way to get it back, so keep a database backup if you think you will need it.

tracking_1

Shortcodes

The [wpmem_ut_recent_pages] shortcode allows you to display a user’s most recently visited pages.  This shortcode can be used to display recent page visits for the current user or for a specific user.  The default display is the most recent 5 unique pages for the currently logged in user. (Requires version 1.0.3)

The shortcode accepts the following attributes:

  • id – Display the page visits by a specific user by ID.
    Example [wpmem_ut_recent_pages id=123]
  • show – Number of recent pages to display in the list.
    Example [wpmem_ut_recent_pages show=10]

Filter Hooks

The following filter hooks are available for the extension:

  • wpmemstat_user_exclude
  • wpmemstat_user_droplist
  • wpmemstat_display_fields
  • wpmemstat_max_per_user
  • wpmemstat_max_per_page
  • wpmemstat_date_format

 

WP-Members 2.9 Project: wpmem_login_form function

Chad Butler · Dec 5, 2013 ·

This post documents the new wpmem_login_form function updates for the upcoming 2.9 release. This content is currently only available to premium members. If you are not currently a member, find out more here. Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Page 42
  • Interim pages omitted …
  • Page 52
  • 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