Support » Plugins » Made a loginform

Viewing 10 replies - 1 through 10 (of 10 total)
  • Nice, thanks for sharing. 😉 I’m sure it works just as close as this one does though right? =P


    Don’t know, i tried that one, but it didn’t work for me. So i made one by myself 🙂

    Oh ok. Well.. thanks for sharing this though. 😉 I’ll bookmark it for future reference purposes. 😉


    Why this doesn’t work on WordPress 2.1

    Everytime click login the page go to wp-login.php but after that nothing happen, the page doesn’t back to where I coming form.

    What should I do?

    It just needs a dynamic dashboard/site selector, that lets one to switch from blog to admin dashboard and back. With that feature (and OpenID support) added, it would be perfect.

    Try this one if you don’t mind and let me have comments please.



    It seems that the logged-in-as function didn’t work for everybody so I made a new version with a working logged-in-as function. (Thanks to Otto42)

    Still available here:

    Upload loginform.php to your theme map.
    Copy and paste the code in LoginformCode.txt anywhere on your page.

    Demo not available (yet).

    thanks for this nice hack.

    it didn’t quite work for me, because i experienced the same problems as jauhari. but i fixed it by replacing the following code:

    loginform.php, line 22:
    <?php echo wp_specialchars($redirect_to); ?>

    replace with:
    <?php echo $_SERVER['REQUEST_URI']; ?>

    LoginformCode, line 7:

    replace with:
    '/wp-login.php?&action=logout&redirect_to=' . $_SERVER['REQUEST_URI'] . '">Logout</a>'

    now everything works fine for me. i’m using wordpress 2.2.3.


    another thing is… if you’re using the permalinks this way:

    you also should replace loginform.php, line 7:

    with this:
    action="<?php echo bloginfo('wpurl').'/wp-login.php'; ?>"

    works only with wordpress 1.5 and above

    Ah, thanks! I uploaded a version with your changes:

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Made a loginform’ is closed to new replies.