MGetUsrName

Instructions:
Enter in {mgetusrname} into a content item.
I noticed that one reviewer wanted to be able to show the member's name instead of the username and I just went into the plugins folder on the server and looked in the content folder & found the MGetUsrName.php file (/public_html or www/plugins/content/MGetUsrName.php) and found this line where it says
=======
else $username = $user->username;
=======
and replaced it with
=======
else $username = $user->name; and it worked.
=======
It placed the member's name in the article instead of the username but it would be nice to be able to do this without editing the script and, yes it would be nice to be able to choose either/or or even both if u wanted to but I like it just the same like it is.
I'm not a programmer just a really good hack so it kept me on my toes and brushed up on my skill of ... well you know. LOL
Shalom,
Frank
1 problem though - A lot of users will use a funky username but I would rather display thier first name instead.
Maybe future updates will allow for changing the parameters to choose which name to use, or maybe even display both the Name and Username.
This plugin is for content items only. If you still need user info in a module you can try programming one yourself, the documentation and forums are a good place to start.



