BuddyPress Member Profile Stats

Download

BuddyPress Member Profile Stats Info

  • Latest Version: 0.5.0
  • Downloads: 10,614
  • Last Updated: 566 days ago
  • Requires WordPress Version: PHP 5.2, WordPress 3.2.1, BuddyPress 1.5.1
  • Tested compatible up to: PHP 5.3.x, WordPress 3.2.1, BuddyPress 1.5.1
  • Requires PHP5: Learn more

** IMPORTANT ** This plugin has been updated for BuddyPress 1.5.1

This plugin will display a member since and a few simple count totals for status, forum topics, forum posts, blog comments (main site only), achievements (if installed) along with a per day average.

Includes various hooks and templatetags for own use

Related Links:

Changelog

0.5.0

  • BUG: fix network admin settings page on multisite
  • FEATURE: support for locale mo files
  • BUG: updated for BuddyPress 1.5.1

0.4.2

  • Bug with clear cache call

0.4.0

  • Added support for Achievements plugin

0.3.1

  • Bug: fixed minor typo on count echo

0.3.0

  • fixed userblog count
  • added a few counts to wp_cache
  • Wordpress 3.0 required

0.2.0

  • Added wp-admin page - options to select what count to display
  • Added hooks, filters, templatetags for each count function
  • Added new hook for bp_after_sidebar_me

0.1.0

  • First [BETA] version

GitHub Activity

9 thoughts on “BuddyPress Member Profile Stats

    • There is a filter you can override

      apply_filters( 'etivite_bp_member_profile_stats_get_member_registered', esc_attr( bp_core_time_since( $bp->displayed_user->userdata->user_registered ) ) );
      

      so something like (untested)

      function etivite_filter_override_member_registered( $content ) {
      	global $bp;
      
      	return $bp->displayed_user->userdata->user_registered;
      }
      add_filter('etivite_bp_member_profile_stats_get_member_registered','etivite_filter_override_member_registered');
      

      That is the date registered stored in the wp_users table (format the date to your liking)

  1. Thanks, Rich!

    I really don’t mean to keep bothering you, but I tried adding
    `date( “F j, Y”, strtotime`
    here…

    ` return apply_filters( ‘etivite_bp_member_profile_stats_get_member_registered’, esc_attr( date( “F j, Y”, strtotime( $bp->displayed_user->userdata->user_registered ) ) );
    }`

    And it broke the site, even the back end.

    So next I tried putting it here:

    ` return date( “F j, Y”, strtotime( $bp->displayed_user->userdata->user_registered );`

    And that also broke the site.

    So, sorry to not know what I’m doing, but where exactly do I put
    `date( “F j, Y”, strtotime`

    Many thanks!!
    Katy

    • it would be this

      function etivite_filter_override_member_registered( $content ) {
      	global $bp;
      
      	return date( "F j, Y", strtotime( $bp->displayed_user->userdata->user_registered ) );
      }
      add_filter('etivite_bp_member_profile_stats_get_member_registered','etivite_filter_override_member_registered');
      

      but I just realized the text returned is hardcoded with ‘for’. I need to update this plugin with more options (what to display and what order) and will incorporate the raw date

  2. Is there any way that this plugin could also list the amount of times that the users page has been viewed by others? I’m trying to find something that will list separate “views” for each member of my BuddyPress.

    • There is no such functionality within BuddyPress which logs the view of a profile page. This plugin just pulls in existing data so I’m not sure about expanding the functionality to include a profile counter.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>