Very nice. I had hacked index.php from printing out Login/Register every single time regardless of being logged to printing ‘My Account” when logged in.
But this is a MUCH nicer way of doing it. Thanks.
Regards
This is a great idea.
unfortunately, i get a lot of code spit out into my header, and regardless of where i put the call
<?php include('wp-user.php'); ? >
it appears among the gunk, in the head and not in the menu.
strange.
Hmm, odd.
What type of error/code do you get? Can you provide a link to a screenshot?
I get this on top of every admin page:
// if the user is logged in, welcome them and display a menu
Welcome site admin!    ÂÂ
    // it's possible to only display menu items for set access levels, for example anyone over level 0     // gets the post link            ÂÂ
Post an article
        // generic links to the logged on users profile and a logout link    ÂÂ
Edit your profile
   ÂÂ
Logout
   ÂÂ
and once
<div id="menu">
<?php include('wp-user.php'); ? >
is added to the index.php it returns blank.
I called:
<?php include('wp-user.php'); ? >
have i bone headed it again?
f.
@dss: not sure what’s going on there?! I’ve put it on a couple of installations of WP, including un-modded ones and it worked a treat.
@xeophin: removed the font tags, it’ll work without! 😉
sweet using this on my site now 😛 thanks
I tried this plugin out and I got the same thing the first time I tried it out.
Just to let everyone know, the comments (text following //) are OUTSIDE the PHP context. So they are showing up as regular HTML code. You would want to preface all the comments with <?php //comments are here ?> and that will take care of it. Or just delete the comments. 🙂
Regards
For ease of use and convenice, all my modifications are now available in my own WordPress package, this includes the new Dynamic Menu, Comments and New user random password generation.
See http://www.wellardsworld.com/archives/2004/10/01/get-wellards-world/ for details.