plainblack.com
Username Password
search
Bookmark and Share

User1 Macro

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.

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
4dannymk: "
Perfect and exactly what I was looking for.  I am so glad I
don't have to re-write or write another macro.  Thank you for your
contribution.

Dan. 
"
DownloadUser1.pm.tar.gz User1.pm.tar.gz
LinksNo Support Offered
Statistics Downloads: 355
Views: 6998
Rating: 4
Updated: 8/12/2005
Keywords macros
NavigationBack to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved