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

Member only pages not blocked, not asking for login?

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Member only pages not blocked, not asking for login?

  • This topic has 11 replies, 3 voices, and was last updated 14 years, 2 months ago by dskallman.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • February 17, 2011 at 12:44 am #2714
    dskallman
    Member

    The following pages are viewable by members only, however when logged out it doesn’t show the please login message and it shows whatever I don’t have blocked off with member level or ID shortcode. Is there a reason this is happening?

    http://glocalwebtech.com/support-center-dashboard/

    http://glocalwebtech.com/support-center-dashboard/invoice-history

    http://glocalwebtech.com/support-center-dashboard/project-tracker

    I did take some of the messages out of the language file, but not for the main login pages, as far as I know.

    Thanks,

    Dana

    February 17, 2011 at 1:09 am #29114
    wpCommerce
    Moderator

    Is this happening for content protection or section protection?

    “I did take some of the messages out of the language file”- Have you modified any of the following constants in the language file?

    EMEMBER_MEMBERS_ONLY_MESSAGE
    EMEMBER_PLEASE
    EMEMBER_LOGIN
    EMEMBER_TO_VIEW_CONTENT
    EMEMBER_NON_MEMBER
    EMEMBER_JOIN

    February 17, 2011 at 4:41 am #29115
    dskallman
    Member

    Thank you for your quick reply.

    The first two yes

    EMEMBER_MEMBERS_ONLY_MESSAGE

    EMEMBER_PLEASE

    These no, I changed the wording to support instead of member but it’s still there

    EMEMBER_LOGIN

    EMEMBER_TO_VIEW_CONTENT

    EMEMBER_NON_MEMBER

    EMEMBER_JOIN

    Does that have any affect?

    February 18, 2011 at 12:33 am #29116
    amin007
    Participant

    We really can’t tell you what the problem is when you have done custom changes. First we need to stablish the fact that the changes you made are causing this. Please save a backup copy of your currently installed eMember plugin and load a fresh version from here:

    Request Product Update or Fresh Download Link(s)

    Let me know when you have uploaded a fresh version and I will go and check the pages you shared earlier.

    February 18, 2011 at 12:35 am #29117
    wpCommerce
    Moderator

    For section protection the message comes from the following constant of the language file:

    EMEMBER_MEMBERS_ONLY_MESSAGE

    So if you have the value of that constant empty you will not see any “This content is for members only” message.

    February 18, 2011 at 1:34 am #29118
    dskallman
    Member

    Thank you for your messages. I did do a plugin update and got the same result. The weird part is that it was working one day and when I looked the next day it wasn’t. So unless there was an udpate that I don’t recall there could be another conflict.

    What I am referring to is this phrase:

    Please Login to view this Content.(Not a member? Join Today!)

    It should appear on all pages that are protected for members only and it isn’t. From what I could see in the Language file it would be the following lines:

    EMEMBER_PLEASE

    EMEMBER_LOGIN

    EMEMBER_TO_VIEW_CONTENT

    EMEMBER_NON_MEMBER

    EMEMBER_JOIN

    All of those are still there, except for Please, so that should be the only word missing, if I am understanding correctly. If you click on the pages I sent do you see anything?

    I really appreciate your help. Any other thoughts you may have would be great.

    Thanks,

    Dana

    February 18, 2011 at 1:38 am #29119
    dskallman
    Member

    Oh, other changes I made were:

    Take off Logout link for widget/login shortcode, so this line: ‘.EMEMBER_LOGOUT.’

    And this change from a previous response to a question I sent on this forum:

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

    return ‘<b>’.EMEMBER_CONTENT_RESTRICTED.'</b>

    ‘;

    once you find it just replace it with the following:

    return ”;

    Thought this information may be relevant too.

    February 18, 2011 at 3:37 pm #29120
    dskallman
    Member

    I added a new member to test out different level logins and the first time someone logs in this error comes up:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php on line 76

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php on line 77

    Warning: Cannot modify header information – headers already sent by (output started at /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php:76) in /home/wpcmshos/public_html/wp-includes/pluggable.php on line 690

    Warning: Cannot modify header information – headers already sent by (output started at /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php:76) in /home/wpcmshos/public_html/wp-includes/pluggable.php on line 691

    Warning: Cannot modify header information – headers already sent by (output started at /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php:76) in /home/wpcmshos/public_html/wp-includes/pluggable.php on line 692

    Warning: Cannot modify header information – headers already sent by (output started at /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php:76) in /home/wpcmshos/public_html/wp-content/plugins/wp-eMember/wp_eMember1.php on line 95

    After I refresh the page and login again it no longer appears. Does this mean anything?

    February 19, 2011 at 1:48 am #29121
    amin007
    Participant

    Things are going in so many directions that I am loosing track. I really need you to install a fresh version from here so I can start from a known point:

    https://support.tipsandtricks-hq.com/update-request

    February 20, 2011 at 10:58 pm #29122
    dskallman
    Member

    I just updated the eMember plugin, you can see on pages it doesn’t show:

    Please Login to view this Content.(Not a member? Join Today!)

    Only the content protection based on shortcode.

    http://glocalwebtech.com/support-center-dashboard/

    http://glocalwebtech.com/support-center-dashboard/invoice-history

    http://glocalwebtech.com/support-center-dashboard/project-tracker

    I haven’t changed anything yet, so plugin is as I downloaded it. Any thoughts on why this may be? I won’t change anything until I hear back from you.

    Thanks!

    February 21, 2011 at 12:18 am #29123
    wpCommerce
    Moderator

    Have you done a fresh install of the plugin? (deleting the older one completely and installing the recent version)?

    February 23, 2011 at 3:50 am #29124
    dskallman
    Member

    Yes I did.

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 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