Congrats text – feature request
-
A nice feature would be to have a tick box in the “Achievement Data” area area, within the achievement, that would allow the congrats text to be displayed in preview mode without the author having to earn the achievement.
We use the congrats text area to not only acknowledge the achievement awarded, but also to suggest the next step for the member to move towards if and when they open the badge again. We have plans to add the https://badgeos.org/downloads/congratulations/ add-on so that they will know immediately upon completion as to the next step in our process
Currently, since there is now wysiwyg editor (tinymce editor integration) we are having to create the congrats text in the main post area and place it in the congrats text area.
you had given us this code before in order to add html to the congrats text area:
<?php function oncevision_badgeos_entities_fix( $fields ) { foreach( $fields as $key => $field ) { if ( '_badgeos_congratulations_text' == $field['id'] ) { $fields[ $key ]['escape_cb'] = 'wp_kses_post'; break; } } return $fields; } add_filter( 'badgeos_achievement_data_meta_box_fields', 'oncevision_badgeos_entities_fix' ); function oncevision_badgeos_entities_output( $text ) { return html_entity_decode( $text ); } add_filter( 'badgeos_earned_achievement_message', 'oncevision_badgeos_entities_output' ); /* Stop Adding Functions Below this Line */ ?>
Which has been a huge help, however, it would be nice if the congrats text area was given a makeover. It really is an important part of the overall process of engaging the customer by rewarding as well as encouraging more involvement. Plain text just does not fly in this visual learning environment.
Thanks for considering…
Your system is deeply embedded within our website and much appreciated!
- The topic ‘Congrats text – feature request’ is closed to new replies.