Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

I don't want visitors to sign up (Customize the default login and join message)

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › I don't want visitors to sign up (Customize the default login and join message)

  • This topic has 5 replies, 5 voices, and was last updated 12 years, 10 months ago by Peter.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 16, 2011 at 6:15 pm #3811
    clc
    Member

    I am running a website where I have some pages restricted so only my staff can view them. I would like to protect these pages without having the “Please Login to view this Content.(Not a member? Join Today!)” message and maybe having it just display “Protected from non-staff”.

    How could I go about doing that?

    Thanks!

    July 17, 2011 at 3:05 am #34335
    amin007
    Participant

    Open the “wp_eMember1.php” file and search for the following line of code:

    function get_login_link(){

    Once you find it change it to the following:

    function get_login_link(){
    return "Protected from non-staff";

    That should do the job.

    July 17, 2011 at 3:25 am #34336
    clc
    Member

    Works perfectly! Thank you so much.

    July 17, 2012 at 2:56 pm #34337
    dangermoose
    Spectator

    Hi there, I need to do exactly the same thing (just to replace the default text with my own) but it looks as though the wp_eMember1.php file has changed as I can’t find that function. I’d be most grateful if you could point me in the right direction!

    Thanks.

    July 18, 2012 at 12:10 am #34338
    admin
    Keymaster

    You can customize any user visible text using this technique:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    July 18, 2012 at 12:12 am #34339
    Peter
    Member

    FYI: That function has now been moved to eMember_auth_utils.php file.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ