Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Output a User's email address
Hey folks – I would like to be able to output any user’s email address (if it were obfuscated, awesome, but no necessary) outside of any article context. I’m imagining something like:
<txp:user_email user="userLoginName" />
That way, I could output an email address into a zem_contact form or wherever a site, and still allow a client to update it by updating their User info.
Is there a plugin or some php code that might do the trick? If no plugin exists at the moment, with some guidance maybe I could build one…(she said with trepidation).
Thanks!
-Nora
Offline
Re: Output a User's email address
Could jmd_author help at all?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Output a User's email address
Brilliant! Thanks – I think that will do the trick.
Offline
Pages: 1