I have made a login form on my home page that redirects users to their own blog dashboard.
What I did was to download the fancy login script from
http://trac.mu.wordpress.org/wiki/FancyLogin
and did the following with it
Open it in your text editor notepad or whatever you use, where you will see http://###/wp-signup.php change the ### to the url of your main site, do this wherever the http://###/wp-signup.php appears.
Save it as fancy login script.php.
So now you have got the script what do you do with it.
Choose the theme that you want to use for your main blog,
Open up your text editor. and paste the following in to it
<div id=”normalcontent”>
<h3><?php bloginfo(’name’);?> <span><?php bloginfo(’description’);?> </span></h3>
<div class=”contentarea”>
<?php if (is_user_logged_in()): { ?>
<?php global $user_identity, $current_user;
get_currentuserinfo();
_e(’Hello, ‘);
echo $user_identity;
_e(’!');
echo “
\n”;
echo “
\n”;
_e(’Here\’s a list of your current blogs:’);
$blogs = get_blogs_of_user($current_user->ID);
echo “
\n”;
?>
<?php _e(’Need an additional blog?’); ?>
<?php } endif; ?>
<?php if ( !is_user_logged_in()): { ?>
<?php _e(’Create your own blog:’); ?>
Signup in under a minute!
<?php _e(’Already have an account?’); ?>
<form name=”loginform” id=”loginform” action=”http://###/wp-login.php” method=”post”>
<label>Username:
<input type=”text” name=”log” id=”log” value=”" size=”20″ tabindex=”1″ /></label>
<label>Password:
<input type=”password” name=”pwd” id=”pwd” value=”" size=”20″ tabindex=”2″ /></label>
<label><input name=”rememberme” type=”checkbox” id=”rememberme” value=”forever” tabindex=”3″ />Remember me</label>
<input type=”submit” name=”submit” id=”login” value=”Login »” tabindex=”4″ />
</form>
And then save it as intro.php ( remember to change the### to your blog url)
Upload the intro.php into whatever theme you have chosen as your main site one.
Now open up the index.php of the theme and add
<?php include_once(TEMPLATEPATH.’/intro.php’);?>
I added this on my site like this.
top two lines of index.php
<?php get_header(); ?><br>
<div class=”narrow_column”><br>
now add <?php include_once(TEMPLATEPATH.’/intro.php’);?>
That will put a login form on your home blog index page.
If you want to add text etc as well at the end of the intro page that you made you will see
</form>
Your text can go here.
If you don’t want a post to appear at the bottom of this edit out the post function in index.php , and so that you don’t have - Not Found Sorry, but you are looking for something that isn’t here.
edit this out of the theme index.php as well. You will now have a fancy login form plus any text you want on the home page of your main blog. See a demo of it at my site
http://uk2uonline.info/
Hope this helps.