FrontEndUsers: How do I find out Users' settings

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
AndyHolyer

FrontEndUsers: How do I find out Users' settings

Post by AndyHolyer »

I've set up a FEU system with self registration, which asks users which of our three campuses they work on. Now, in other parts of the site, we do things differently depending on where they are, and it would be sensible having asked them once, not to ask them to enter it again, at least by default.

So how do I find out what they've selected in a template? I'm sure it must be really easy....
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: FrontEndUsers: How do I find out Users' settings

Post by calguy1000 »

add {cms_module module='FrontEndUsers' mode='silent'} into your template someplace
then do a {get_template_vars} to see what variables are exported by the FrontEndUsers module.

Once you know the variables, you can use smarty expressions with those variables to enact different behaviour.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “Modules/Add-Ons”