I created a Macro that allows a designer to pull any visible profile field of *another user* as text. I figure someone will tell me why this is a *bad idea* or "redundant" but I think I needed the functionality, so I made the macro. I guess it does an OK job of not alerting you to errors about wrong entries... if it doesn't find what it's looking for, it'll come back "". What it can be useful for is to hyperlink IM status (statuses? statii?) and oh, so many more things, I just am too tired to figure out.
Oh, um... yeah, the license. I know I usually do Public Domain, but this code is licensed under the GPL.
Usage: ^User1(fieldName,userId);
(ETA: no space after the comma!)
Must be used with two variables. fieldName must correspond to the id of the field, not the International Text.
Install: add User1.pm to your WebGUI/lib/WebGUI/Macros/ directory. Add a Macro in your webgui.conf file.
Your comments, suggestions, etc. are welcome.