2013-02-20, 10:07 PM
Hi,
I want to add something like this to the header template (using "Template Conditionals" plugin by ZiNgA BuRgA.):
But I can't figure how to to this: $required_profile_field['fidX'] == ""
I want to do this because I have installed "Facebook Connect" plugin, and when a new member registered using this plugin he/she did not fill those field.
Any help, please.
Thanks
I found it: $mybb->user['fidX']
I want to add something like this to the header template (using "Template Conditionals" plugin by ZiNgA BuRgA.):
<if $required_profile_field['fidX'] == "" then> /*where X is the Custom Profile Field ID.*/
<script>
alert('Hello {$username}, Please check your user profile, there are some required field that have to be filled. Thanks' );
</script>
</if>
But I can't figure how to to this: $required_profile_field['fidX'] == ""
I want to do this because I have installed "Facebook Connect" plugin, and when a new member registered using this plugin he/she did not fill those field.
Any help, please.
Thanks
I found it: $mybb->user['fidX']