• Hello,

    I am loving this plugin but having a bit of an output issue. When I click ‘calculate match’ (https://i.imgur.com/RV0mKGc.png). It displays as ‘% MATCH TO YOU5’ (https://i.imgur.com/zMx1H9c.png) instead of you ‘5% MATCH TO YOU’.

    Could you help me reverse this?
    The current function appears to be in the correct order

       function hmk_get_percentage_function() {
    
         $user_displayed = $_POST['hmk_uid'];
         $user_logged_in = get_current_user_id();
    
         $hmk_match_percentage = $this->hmk_get_matching_percentage_number($user_displayed,$user_logged_in);
         if($hmk_match_percentage >=0 ) {
           echo '<span class="hmk-member-match-percent">'.round($hmk_match_percentage,2)._e('% MATCH TO YOU','bp-match').'</span>';
         }
    
         die;
       }
    

    Any idea on how to resolve this? If you need a live link I will have to grant you access as you aren’t able to view the site without logging in first.

    Thanks,
    Kevin

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘When I Click ‘Calculate’ it Shows the number after the % symbol’ is closed to new replies.