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

Free membership is disabled… Giving me fits!

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Free membership is disabled… Giving me fits!

Tagged: change registration, Free Member, Parse error, Please Login to view this Content. (Not a member? Join

  • This topic has 7 replies, 7 voices, and was last updated 12 years, 9 months ago by Peter.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 16, 2011 at 11:32 pm #2733
    Tall Midget
    Member

    The following appears on several of my pages…

    Free membership is disabled on this site!

    Please visit the Payment Page to pay for a membership.

    How do I get rid of it? My site is a paid membership site, and I do not want to have a free member option…

    Bob Newton

    February 17, 2011 at 12:37 am #29107
    wpCommerce
    Moderator

    This message is shown when a visitor land on your registration page but you don’t have free membership enabled on your site. If anyone pays for a membership this page becomes visible to complete the registration.

    Please open the eMember_misc_functions.php file and search for the following line –

    else
    {
    //Free membership is disabled
    $output .= EMEMBER_FREE_MEMBER_DISABLED;
    $payment_page = $emember_config->getValue('eMember_payments_page');
    if (!empty($payment_page))
    {
    $output .= '<br />'.EMEMBER_VISIT_PAYMENT_PAGE.'.'.EMEMBER_CLICK.' <a href="'.$payment_page.'">'.EMEMBER_HERE.'</a>';
    }
    }

    The above output is shown when free membership is disabled on the site. You can now replace it by the following codes to get rid of the whole message:

    else
    {
    //Free membership is disabled
    $output .= '';
    }

    You can also customize those messages from the language file (e.g eng.php).

    Please have a look at the following post which will explain –

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

    February 17, 2011 at 1:19 am #29108
    amin007
    Participant

    “My site is a paid membership site, and I do not want to have a free member option” – This means no one should be going to the “Registration page” without paying. You get that message when someone goes directly to the registration page without making a payment for the membership so the plugin is giving them a warning. You can obviously customize that message to say something else.

    February 17, 2011 at 4:24 am #29109
    Tall Midget
    Member

    I must have done a Boo-BOO!

    I tried to the //Free membership is disabled

    as suggested above…

    I saved the file and when I clicked out of the file I got the following error…

    Parse error: syntax error, unexpected T_STRING in /home/usaveter/public_html/wp-content/plugins/wp-eMember/eMember_misc_functions.php on line 1

    All suggestions will be appreciated…

    Bob Newton

    February 18, 2011 at 12:21 am #29110
    Ivy
    Member

    Hi, If you have made a coding mistake the best way to fix this is to reload a fresh copy of the plugin. You can get a fresh copy of the plugin here:

    How and when do you get an update?

    Please note this will override any modification you have made to the plugin but you will not lose your settings.

    September 4, 2012 at 3:20 pm #29111
    whatizreal
    Member

    Hi, this is exactly what I’m trying to do, but when I went to the eMember_misc_functions.php file, there was no line that talked about “//Free membership is disabled”.

    Where can I find this? I’d like to change the look of this so my users aren’t confused.

    Thanks so much!

    September 4, 2012 at 11:22 pm #29112
    admin
    Keymaster

    This post will help with customizing the text messages displayed by the plugin:

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

    September 4, 2012 at 11:23 pm #29113
    Peter
    Member

    Look in the eMember_registration_utils.php file.

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