WordPress.org

Ready to get started?Download WordPress

Forums

WP with members area requires custom login and signup form (6 posts)

  1. romme
    Member
    Posted 8 years ago #

    I'm trying to add a "members only area" to WP. Users should be able to sign up or login through a form placed on a page and not only through the /wp-login.php and /wp-register.php scripts.

    How do I do that?

    Is there a specific login-template I can use og a plugin maybe?

  2. Tom Lany
    Member
    Posted 8 years ago #

    You could use this plugin:

    http://blog.taragana.com/index.php/archive/angsumans-authenticated-wordpress-plugin-password-protection-for-your-wordpress-blog/

    This plugin protects your whole blog. In order to protect only your menbers area, you could set up a separate blog to power your members only area (and keep your current install for your public blog). Good luck.

  3. romme
    Member
    Posted 8 years ago #

    Thanks for the reply. My question was regarding the signup and login forms and not so much about the protection part (for that I was planing on using the Page Restriction plugin).

  4. katesgasis
    Member
    Posted 8 years ago #

    Do you want something like this http://2talkabout.com/Honda/wp-login.php?

    Just add require('./wp-blog-header.php'); Example below.

    require( dirname(__FILE__) . '/wp-config.php' );

    require('./wp-blog-header.php');

    $action = $_REQUEST['action'];
    $error = '';

  5. katesgasis
    Member
    Posted 8 years ago #

    Opps and then comment out
    header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));

  6. romme
    Member
    Posted 8 years ago #

    That's exactly what I want... I've entered the code in the top of wp-login.php ... But it doesn't change the apperance of the login screen. Do I have to do change the layout manually or have I done something wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags