• 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 template_redirect

template_redirect

Send new user activation link with manual admin approval

Chad Butler · Mar 19, 2018 ·

This post describes a very similar process to what is described in the tutorial titled “Send new user an activation link in the new registration email.” The twist on this version is that this will send the user an email requesting that they confirm their email address, then it will send the admin a notification to manually activate that user.

The original version in the other tutorial was intended for use where users just need to confirm their email address. This version is for confirming their email address and then approving the account. Continue Reading →

Force user to update data before using the site

Chad Butler · Dec 17, 2015 ·

This code example is similar in both the code used and the concept as what was outlined in Force User to Update Password from Randomly Set Password. The main difference here is that we are looking for the user to update required user fields that may not yet be complete.

This may be useful in situations where user data is imported into the site but may not be fully complete and you need the user to update (or confirm) their information before continuing to use the site.  Continue Reading →

Force user to update password from randomly set password

Chad Butler · Dec 11, 2015 ·

This process is similar to the customization Redirect User On First Login.  The difference here is that this forces the user to change their password from the randomly set password prior to being able to continue using the site.  This would occur for initial password sent when registering as well as if a forgotten password is reset. Continue Reading →

Redirect Blocked Content to a Log In Page

Chad Butler · Feb 3, 2015 ·

By default, the plugin automatically places a login form in place of blocked content if the user is not logged in.  But sometimes plugin users prefer to redirect a user to a log in page when they attempt to access a page or post with blocked content.

This can usually be accomplished with a custom function to check for the user’s login state, whether the content is to be blocked, and a redirect process.  Continue Reading →

Send new user an activation link in the new registration email

Chad Butler · Jan 23, 2015 ·

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

 

In the past, I have put together a method for making the link in the admin notification email a single click process for activating users. But what if you want users to be sent an activation link to confirm their account and activate themselves?

This tutorial will walk you through changing the initial email to the user to include an activation link that, when clicked will activate the user account.  This can be used as an email verification process.  The tutorial includes all necessary code snippets as well as detailed instructions for setting it up. Continue Reading →

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