Hi Miguel,
Thanks for answering and sorry for the late reply too!
For my image issue, I’ve created radio fields and hard coded the display of images based on the answers. Here is my code, in case anyone is looking to achieve the same thing :
add_action( 'kleo_before_main_content', 'talent_show_badge' );
function talent_show_badge(){
if( !bp_is_active( 'xprofile' ) )
return;
$main_talent = xprofile_get_field_data( '637', bp_displayed_user_id() );
if( 'photography' == strtolower( $main_talent ) ){
echo '<div id="badges"><img src="https://www.mysite.com/wp-content/uploads/2016/10/photography.png" alt="photography" title="Photography"></div>';
}
if( 'voice' == strtolower( $main_talent ) ){
echo '<div id="badges"><img src="https://www.mysite.com/wp-content/uploads/2016/10/voice.png" alt="voice" title="Voice"></div>';
}}
I’ve tested the custom taxonomy selector and custom taxonomy multiselector (I hadn’t tried them before) but those fields type don’t appear to be compatible with the Conditional profile field plugin from Buddydev (have an extra field appear depending on the selection of the previous field), and I need some kind of conditional answers for what I’m trying to do.
One feature that could be nice to have in the future, is an enhancement of the normal checkbox type, allowing members to set a level of priority/preference in their answers.
If we take the same example as in my first post, if we allow members to have several answers for the “skills” field, it would be nice to allow them to choose which are their primary skill, secondary skill etc, without having to create multiple fields.
I have no idea how this could be achieved though…maybe allowing people to re-order the list after it’s been submitted? Or perhaps incorporate a conditional that displays another set of selection once a box is checked, within the same field, displaying radio buttons with numbers, or priority1, priority2 etc, in the same amount as the number of choices available?
Anyway, it’s just a suggestion ??
Thanks for your great plugin