Hi,
Anyway, the problem has been fixed.
Thanks, I downloaded and installed it and it works fine.
Mind you, I had something similar (but crude) working by inserting the following code in a Daiko’s Text Box:
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<form name="loginform" id="autoriz" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<h2>Member Login</h2>
<label for="login">Login:</label>
<input type="text" name="log" value="" id="login" /><br />
<label for="password">Password:</label>
<input type="password" name="pwd" value="" id="password" />
<input type="hidden" name="rememberme" value="forever" />
<input type="submit" name="submit" value="Login" id="enter" />
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
<p><?php wp_register('', ''); ?> <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword">Lost your password?</a></p>
</form>
<?php else: ?>
<div id="manage">
<h2>Member Functions</h2>
<p>Hi, <?php echo $user_identity; ?>!</p>
<ul>
<li><a href="<?php bloginfo('url'); ?>/wp-admin/post-new.php">Write Article</a></li>
<?php if (current_user_can('level_10')){ ?>
<li><a href="<?php bloginfo('url'); ?>/wp-admin/">Dashboard</a></li>
<li><a href="<?php bloginfo('url'); ?>/wp-admin/edit.php">Manage Posts</a></li>
<li><a href="<?php bloginfo('url'); ?>/wp-admin/edit-comments.php">Manage Comments</a></li>
<?php }?>
<?php if (!current_user_can('level_10')){ ?>
<li><a href="<?php bloginfo('url'); ?>/wp-admin/profile.php">My Profile</a></li>
<?php }?>
<li><a href="<?php echo get_settings('siteurl') . '/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']; ?>">Logout</a></li>
</ul>
</div>
<?php endif; ?>
I like the option to go directly to “moderate comments”, if this were possible.
Cheers,
Gene