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

wp emember login text

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › wp emember login text

  • This topic has 15 replies, 8 voices, and was last updated 11 years, 3 months ago by kay.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • February 11, 2010 at 6:08 pm #782
    jtribe
    Member

    Hi,

    I was wondering if it’s possible to modify the default text that appears when you want to enter a protected page:

    “Please login to view this content.(Not a member? Join Today!)”

    I wanted to make a small change to something like:

    “Please login to view this content.(Not a member? Join Today. It’s free and only takes a second.)”

    I’ve tried modify some of the text in wp_eMember1.php but when I do I seem to create an error..

    Thanks for any help you can give me.

    February 11, 2010 at 6:27 pm #17932
    gymgangsta
    Member

    Have a look in wp-eMember “lang” folder and edit the eng.php file Lines 8-14.

    =)

    February 12, 2010 at 2:17 pm #17933
    jtribe
    Member

    Hi Gymgansta,

    Thanks for your help. I’m not seeing a language folder… I do have one in the wp estore plugin but can’t seem to find it for wp emember. I would be really grateful for any further help on this.

    February 12, 2010 at 3:10 pm #17934
    Ivy
    Member

    Hi, I will send you an email regarding this issue. Please let me know if you do not receive the email.

    Ivy

    February 15, 2011 at 4:25 am #17935
    Frank
    Member

    Hey Guys, I know that this post is a year old, but I too would like ot figure this one out. I have a client that wants to make mods on this line. I peeked into the file in question, but it wasn’t terribly apparent.

    Thanks,

    Frank

    February 15, 2011 at 11:54 am #17936
    amin007
    Participant

    There are links in that sentence so you won’t find the full sentence in the language file. It is broken down into smaller parts so the links can be created with smaller anchor texts. Look for the following constant in the “wp_eMember1.php” file and you will see what it does:

    EMEMBER_TO_VIEW_CONTENT

    February 16, 2011 at 3:43 pm #17937
    Frank
    Member

    Thanks, got it now!

    Frank

    November 30, 2011 at 2:06 pm #17938
    kay
    Member

    This is related to the first poster’s question above. I want to fix the spacing between the words:

    “Please Login to view this Content.(Not a member? Join today!)”

    In my site there is NO space between the period after the word Content and the first parenthesis mark (open paren). It is a little thing but it’s been bothering me because I think it looks stupid. Can you tell me EXACTLY how to add the space there? I have the Eng Lang file open but I’m not sure where I should add that space to avoid breaking the code.

    UPDATE: Tried a few things and found this worked (added a <br/> as shown):

    define(“EMEMBER_TO_VIEW_CONTENT”, “to view this content.<br/>“);

    Thanks anyway! Note that I also un-capitalized the word “content.”

    November 30, 2011 at 10:10 pm #17939
    Peter
    Member

    Hi, You can try the following:

    Search for the following line of code in the “eMember_auth_utils.php” file:

    ===================================

    '('.EMEMBER_NON_MEMBER.' <a href="'.$join_url.'">'.EMEMBER_JOIN.'</a>)'

    Then change it to whatever you like.

    Hope that helps.

    December 1, 2011 at 2:45 am #17940
    admin
    Keymaster

    An easier option is to simply change the following in your language file:

    define("EMEMBER_TO_VIEW_CONTENT", "to view this Content.");

    to the following (see how I added a space after the period?):

    define("EMEMBER_TO_VIEW_CONTENT", "to view this Content. ");

    December 1, 2011 at 11:54 am #17941
    kay
    Member

    Admin, I actually tried that repeatedly and for some strange reason it wouldn’t display as a space! Very weird.

    Peter: I can’t find such a file. I have a file called emember_auth.php, but not the file you named (with the “util” part at the end). Where is it? :-)

    December 2, 2011 at 1:59 am #17942
    admin
    Keymaster

    That would mean that you are not editing the correct file. Which language file are you editing and how are you editing it (using the WordPress plugin editor or a text editor in your PC)?

    December 2, 2011 at 2:34 pm #17943
    kay
    Member

    I tried editing the file in my text editor (actually via FTP while up on the server via my cPanel. The file I tried to edit is in the lang folder (eng). I do not have “eMember_auth_utils.php” but I have eMember_auth.php.

    December 2, 2011 at 9:59 pm #17944
    kay
    Member

    Interesting, even after upgrading the plugin I do not seem to have a file called “eMember_auth_utils.php.” Where is that file? (Or is it only in the eStore plugin? I am using eMember.)

    Admin: I finally got it to work! Apparently I did not “refresh” the server folder so my change to the lang (eng) file — adding the space — was not showing! Thank you!

    I still don’t see any file called eMember_auth_utils.php, though. Not that I need it now, but I am just curious why I don’t seem to have it?

    December 2, 2011 at 10:26 pm #17945
    Peter
    Member

    Hi kay,

    The file is definitely part of the eMember plugin. Just look in the folder located at:

    …./wp-content/plugins/wp-eMember

    But as mentioned by admin earlier, the other change (which is easier) is to do the mods to the eng.php file which is located in:

    …./wp-content/plugins/wp-eMember/lang

    But I see you’ve solved your problem anyway so that’s great news!

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

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ