Title: roblund's Replies | WordPress.org

---

# roblund

  [  ](https://wordpress.org/support/users/roblund/)

 *   [Profile](https://wordpress.org/support/users/roblund/)
 *   [Topics Started](https://wordpress.org/support/users/roblund/topics/)
 *   [Replies Created](https://wordpress.org/support/users/roblund/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/roblund/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/roblund/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/roblund/engagements/)
 *   [Favorites](https://wordpress.org/support/users/roblund/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Points reset after updating profile](https://wordpress.org/support/topic/points-reset-after-updating-profile/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/points-reset-after-updating-profile/#post-4562885)
 * Hi Michael, I couldn’t figure out the problem so I wiped my hands of the code
   and have used the User Meta plugin successfully to edit profiles from the front
   end. Good news is that points remain after updating the profile. Thanks for your
   help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Points reset after updating profile](https://wordpress.org/support/topic/points-reset-after-updating-profile/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/points-reset-after-updating-profile/#post-4562870)
 * Hi Michael,
 * I haven’t solved it yet, but I haven’t spent much time looking for a solution.
   All I know is that the points remain when updating from the WP dashboard but 
   are reset when updating from the front end page. I might end up removing the 
   display of points from the page and use the BadgeOS widget instead and see if
   the error still occurs…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Points reset after updating profile](https://wordpress.org/support/topic/points-reset-after-updating-profile/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/points-reset-after-updating-profile/#post-4562847)
 * Still having the problem. Could it have anything to do with this function?
 *     ```
       //BadgeOS user points shortcode
       function badgeos_get_users_points_shortcode($user_id = 0) {
   
       // Use current user's ID if none specified
       if ( ! $user_id )
       $user_id = wp_get_current_user()->ID;
   
       // Return our user's points as an integer (sanely falls back to 0 if empty)
       return absint( get_user_meta( $user_id, '_badgeos_points', true ) );
       }
       add_shortcode( 'badgeos_get_users_points', 'badgeos_get_users_points_shortcode' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOP Poll] Yop Poll Dashboard Message](https://wordpress.org/support/topic/yop-poll-dashboard-message/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/yop-poll-dashboard-message/#post-4617836)
 * Thanks it works!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Points reset after updating profile](https://wordpress.org/support/topic/points-reset-after-updating-profile/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/points-reset-after-updating-profile/#post-4562764)
 * [Here’s an example](http://pastebin.com/RVjv73P7) of one of the custom functions.
   The others functions are similar.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] New badges being duplicated with default thumbs up image](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/#post-4497407)
 * Thanks for all your help with this Michael I’ll see what I can come up with…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] New badges being duplicated with default thumbs up image](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/#post-4497385)
 * That’s it, as soon as I passed in an achievement type the rogue badges disappeared.
   If I still want to display all achievement types would the best way be to create
   a new function for each?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] New badges being duplicated with default thumbs up image](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/#post-4497372)
 * There is a url but you would need to be a member to view the page. Here is a 
   [screenshot](https://drive.google.com/file/d/0B13FQUbaqocdTFlGNUlKMzQwLVE/edit?usp=sharing)
   of the entire page, let me know if a screenshot is not good enough. Thanks for
   your help with this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] New badges being duplicated with default thumbs up image](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/#post-4497352)
 * Currently there is nothing at all in the post editor. I think that the problem
   originates when I create a new achievement. The duplicate badge images are added
   to my media library this is the name of one of the files:
    af2e834c1e23ab30f1d672579d61c25a_154.
   PNG
 * The duplicate badges are also being shown on the wordpress profile page /wp-admin/
   profile.php as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] New badges being duplicated with default thumbs up image](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/new-badges-being-duplicated-with-default-thumbs-up-image/#post-4497327)
 * Hi Michael,
 * The code is being used on a template file called profile.php [here is the code.](http://pastebin.com/GkSmrxC4)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Join My Multisite] Change default settings](https://wordpress.org/support/topic/change-default-settings-1/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/change-default-settings-1/#post-4238286)
 * The YD WPMU Sitewide Options plugin did exactly what I wanted. Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Earned User Achievement Widget](https://wordpress.org/support/topic/earned-user-achievement-widget/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/earned-user-achievement-widget/#post-4066994)
 * Thanks Michael, I found something that works for my situation. I am able to display
   the users earned badges from the main site on new sites and change the default
   widget title using the following code in the appropriate template file:
 *     ```
       <?php switch_to_blog(1);
                 get_sidebar();
                 the_widget( 'earned_user_achievements_widget', 'title=My Latest Badges', 'before_title=<h3 class="style-sidebar">&after_title=</h3>' );
                 restore_current_blog();
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Change file to display achievements](https://wordpress.org/support/topic/change-file-to-display-achievements/)
 *  Thread Starter [roblund](https://wordpress.org/support/users/roblund/)
 * (@roblund)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/change-file-to-display-achievements/#post-4017510)
 * Great, thanks

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