Support » Plugins » Only registered users can view?

  • I was wondering if there was a hack or something I could install that would make it so only registered users could view my blog. I know there’s a password thing, but that’s not what I had in mind. It’s sort of like a friend’s only LJ thing I’m looking for. Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The last time somebody mentioned this…. apparently there isn’t a hack or anything. and that you should just use .htaccess
    But that again… I could be wrong….. and I would love to have a hack liddat…. then my users won’t be a double set of ids and password

    *bawls* I guess I’m stuck with a public blog. My parentals and some family know about my site and it sucks.

    I am sure someone who knows will correct me if I am wrong, but it seems to me a cheap (and very dirty) way would be to put a copy of auth.php in your main directory and add something like:
    `<?php require(‘wp-config.php’); require_once(‘auth.php’); ?>’
    To the top of your index page.

    I can post comments with username and email registered. Why ?

    if it is any help, I think I accomplished that (still testing it, but so far it’s worked fine) by adding the line
    just after
    to wp-blog-header.php, copying auth.php to the main dir and changing the reference to wp-config in auth.php to reflect the directory change (from .. to .).
    Hope it helps.

    I tried to do this,
    If I am not logged in, it asks me to login and then works fine
    But if I am already logged in, then it takes me into the post area instead of just showing me the post.

    Vohiyaar, this thread might help…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Only registered users can view?’ is closed to new replies.