Title: Rank icon
Last modified: August 21, 2016

---

# Rank icon

 *  [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/)
 * Nice Plugin, just I’d like one more feature: How can I associate an icon with
   a rank? (something like Tripadvisor.com).
    Thanks, Peter
 * [http://wordpress.org/plugins/cubepoints/](http://wordpress.org/plugins/cubepoints/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [SimpleMan](https://wordpress.org/support/users/simpleman/)
 * (@simpleman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447185)
 * I like this suggestion as well. Icon or the ability to add some sort of image
   of our choosing.
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447267)
 * Nobody?
 *  [sevelina](https://wordpress.org/support/users/sevelina/)
 * (@sevelina)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447285)
 * Yes! Rank images would be perfect!!!! like it was long time ago, I really miss
   about this function.
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447304)
 * Guys, try this:
    [https://github.com/Sohag07Hasan/Cubepoints—With-Advanced-Modifications/tree/master/modules/notice](https://github.com/Sohag07Hasan/Cubepoints—With-Advanced-Modifications/tree/master/modules/notice)
   It’s 2 years old, but it works. I’d recommend to uninstall CubePoints first, 
   not just overwrite the files, so you don’t get to the same problems I did. Have
   fun.
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447305)
 * Sorry the link is [https://github.com/Sohag07Hasan/Cubepoints—With-Advanced-Modifications](https://github.com/Sohag07Hasan/Cubepoints—With-Advanced-Modifications)
 *  [sevelina](https://wordpress.org/support/users/sevelina/)
 * (@sevelina)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447309)
 * [@pfosenbauer](https://wordpress.org/support/users/pfosenbauer/) Thank you for
   the link.
    I have tried it. I still can’t see rank image at user profile, it 
   show me only rank itself without image. Do you know how to fix it?
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447310)
 * have you uploaded the icons for each rank?
 *  [sevelina](https://wordpress.org/support/users/sevelina/)
 * (@sevelina)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447311)
 * [@pfosenbauer](https://wordpress.org/support/users/pfosenbauer/),
    Yes, I do 
   uploaded all rank images. Buddypress user profile page displays only points and
   rank name – no rank image. I’m using the latest version of WP and BP. Do you 
   have images work at your website?
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447312)
 * Working on something, will let you know if I get some results.
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447313)
 * OK, I’ve got it working, the Top Users widget works as it is, had to tweak the
   My Points widget to show stars(icons) and the wp-symposium module (that’s what
   the site under development is using). In ranks.php change (around line 183):
 *     ```
       function cp_module_ranks_widget(){
       		if(is_user_logged_in()){
       			?>
       				<li><?php _e('Rank', 'cp'); ?>: <?php echo cp_module_ranks_getRank(cp_currentUser()); ?></li>
       ```
   
 * to:
 *     ```
       function cp_module_ranks_widget(){
       		if(is_user_logged_in()){
       			?><li>
       <?php _e('Rank:', 'cp'); ?><img style="width:20px; height:20px;padding:3px;vertical-align:top" src="<?php echo cp_module_ranks_getLogo(cp_currentUser()); ?>"><?php echo cp_module_ranks_getRank(cp_currentUser()); ?></li><code></code>
       Change the style to whatever you want.
       Similar fix should work in any php file using the same function.
       The wp-symposium.php module gave me a little more trouble, as it uses PHP HTML parser ($html).
       Around line 288, change:
       ```
   
 *  $html .= ‘<div>’;
    $html .= __(‘Points:’, ‘cp’).’ ‘.cp_getPoints($uid1); if(
   cp_module_activated(‘ranks’)){ $html .= ‘, ‘.cp_module_ranks_getRank($uid1); }`
   to:
 *     ```
       $html .= '<div>';
       				$html .= __('Points:', 'cp').' '.cp_getPoints($uid1);
       				if(cp_module_activated('ranks')){
       					$html .= '&nbsp;<img style="width:25px; height:25px;padding:0 1px 5px;vertical-align:top" src="'.cp_module_ranks_getLogo($uid1).'"/>';
   
       					$html .= ' '.cp_module_ranks_getRank($uid1);
       				}
       ```
   
 * Hope it helps.
 *  [sevelina](https://wordpress.org/support/users/sevelina/)
 * (@sevelina)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447315)
 * [@pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
    That worked
   perfectly for me THANK YOU!!!
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447316)
 * [@sevelina](https://wordpress.org/support/users/sevelina/)
    you’re welcome 😉
 *  [clantroublemaker](https://wordpress.org/support/users/clantroublemaker/)
 * (@clantroublemaker)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447327)
 * hello, i couldnt find The wp-symposium.php module. Could you explain more
 *  [clantroublemaker](https://wordpress.org/support/users/clantroublemaker/)
 * (@clantroublemaker)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447328)
 * and where can i upload image
 *  Thread Starter [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * (@pfosenbauer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447330)
 * the module download here:
    [http://www.wpsymposium.com/2012/02/wp-symposium-cubepoints-module/](http://www.wpsymposium.com/2012/02/wp-symposium-cubepoints-module/)
   To upload the images (icons), go to dashboard > Cubepoints > Ranks. Hope it helps

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Rank icon’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cubepoints_8ba995.svg)
 * [CubePoints](https://wordpress.org/plugins/cubepoints/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cubepoints/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cubepoints/)
 * [Active Topics](https://wordpress.org/support/plugin/cubepoints/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cubepoints/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cubepoints/reviews/)

## Tags

 * [rank](https://wordpress.org/support/topic-tag/rank/)

 * 15 replies
 * 4 participants
 * Last reply from: [pfosenbauer](https://wordpress.org/support/users/pfosenbauer/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/rank-icon/#post-4447330)
 * Status: not resolved