Support » Fixing WordPress » Stop new users going to their own dashboard?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Edit the login widget and remove the link to the dashboard.

    Gixxer – good suggestion, But I don’t know which file the login which it is… wp-login.php?

    Michael thanks that is what I found but I don’t want people to be forced to go somewhere which is basically what this login redirect plug-in does.

    24hr bump

    Vergiss das bearbeiten von Core-files … öffne die sidebar.php Deines Themes und bau das Login selber.

    <form name="loginform" id="loginform" action="<?php bloginfo('url'); ?>/wp-login.php" method="post">
    <table border="0">
    	<td><input type="text" class="rounded" name="log" id="user_login" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" style="width:130px;"></td>
    	<td><input type="password" class="rounded" name="pwd" id="user_pass" style="width:130px;"></td>
    	<td><input name="rememberme" type="checkbox" id="rememberme" value="forever"/> angemeldet bleiben?</td>
    	<td align="right"><input type="submit" value="Login" class="button" name="wp-submit" id="wp-submit"></td>
    <input type="hidden" name="redirect_to" value="http://<?php echo $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ?>" />
    <input type="hidden" name="testcookie" value="1" />

    Der Trick hier ist der “redirect_to” Befehl … nach dem Login wird der User gleich zur Seite “zurückgeschickt”, auf der er sich angemeldet hat. Nahtlos, sozusagen.

    Wow! thanks. The german got me a bit , and my german friend had a laugh at me trying to pronounce it to him over the phone, but it makes sense, thanks.

    For anyone who doen’t have a german friend on hand, the translation of mores’ post:
    Forget about working on core files. Open the sidebar.php file of your theme and develop the login yourself.

    The trick here is, the “redirect to” command … after the login, the
    user is sent back immediately to the page where he logged-in. Seamless
    so to say.

    Next trick – how do I get rid of the ‘dashboard’ option in the sidebar?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Stop new users going to their own dashboard?’ is closed to new replies.