Builtin Choice List | Multiple Registration – UserPro Forums https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/feed/ Tue, 07 May 2024 21:07:21 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24335 <![CDATA[Builtin Choice List | Multiple Registration]]> https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24335 Wed, 05 Mar 2014 22:15:44 +0000 TDan Hey,

i have two questions about UserPRO:

1. UserPRO has a nice builtin country list with all the flags. Is it possible to create an additional list? But instead of countries i would like to use states with their own flags. I know that i can create a custom field based on a dropdown but how can i assign a small icon to each entry? There are two builtin choice lists for roles and countries, where can i add a third one?

2. Is it possible to edit existing multiple registration forms? CanΒ΄t find a option for that.

Thanks πŸ™‚

]]>
https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24369 <![CDATA[Reply To: Builtin Choice List | Multiple Registration]]> https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24369 Thu, 06 Mar 2014 05:09:47 +0000 admin 1. How can you assign a small icon to each entry? You can use the Filter Hooks I provide for userpro πŸ˜€ example..

http://userproplugin.com/userpro/docs/api.html#userpro_before_value_is_displayed

That hook runs just before custom value is printed, I use it to make images in lightbox (if they are pictures), make video embeds (if provided url is vimeo/youtube) and so on. You can also match

if ($key == ‘gender’) { if key = your custom field (state)? and if $value = Arizona for example, you can append the value.

Do you have knowledge about using hooks? Here’s a very straightforward documented example:
http://userproplugin.com/userpro/docs/api.html#userpro_before_value_is_displayed

]]>
https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24460 <![CDATA[Reply To: Builtin Choice List | Multiple Registration]]> https://forum.userproplugin.com/forums/topic/builtin-choice-list-multiple-registration/#post-24460 Thu, 06 Mar 2014 15:46:30 +0000 TDan Damn this works very fine πŸ™‚

So i changed the “fields-hooks.php” to add a filter which shows me a flag besides the state of the user in the profile. Also i added a small badge of the users state by changing the “badge-functions.php”.

Thanks for the tip!

]]>