I use the 120622 version.
I created a custom field TAAL_LANGUAGE_SPRACHE, type drop down and did set it for my own profile to the correct value.
The purpose of this field is to determine the language of the user.
I tried to retrieve it with the following shortcode
[s2Get user_field="TAAL_LANGUAGE_SPRACHE" /]
(following the example from General Options -> Registration/Profile Fields & Options)
I don’t get any value back.
What am I doing wrong?
Another question in this context, is there a php function for this? I looked around and cannot find it.
** a while later **
I found that setting the field name in lowercase makes it work.
So the remaining Q is if there is a php function for this.
The reason I need this is for the following.
I have a site that serves multiple languages, Dutch, ENglish, German and Spanish.
I need to know the langiage of the user to have several widgets and menu items to (dis)appear.