1
I'm trying to alter a module and need a function that retrieve the username of the user currently logged in.
I've tried reading a tutorial about module developement and looking at the code of userprofile.php, but I'm a pretty inexperienced coder and XOOPS is much more complicated than anything I've modified before.
This might belong in the Module developement section, but I think this might be pretty easy to figure out for some of you, so I'm posting here first.
So, anybody know the easiest way to do this?
(You don't have to explain how to build a module, just what code I need for this one thing.)