Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • Plugins
  • Themes
  • Documentation
  • Blog
  • Support
  • Download

BuddyPress.org


  • Register
  • Lost Password
  • Log In

@phartes active 2 years, 2 months ago
  • Personal
  • Mentions
  • Favorites
  • Profile picture

    phartes posted on the forum topic Buddypress & CometChat Integration in the group Miscellaneous: 2 years, 2 months ago

    …[Read more]

  • Profile picture

    phartes posted on the forum topic Buddypress & CometChat Integration in the group Miscellaneous: 2 years, 2 months ago

    EXECUTE MYSQLALTER TABLE wp_users ADD COLUMN 'lastactivity' INT default 0

  • Profile picture

    phartes posted on the forum topic Buddypress & CometChat Integration in the group Miscellaneous: 2 years, 2 months ago

    ` $sql = (“(select DISTINCT “.TABLE_PREFIX.DB_USERTABLE.”.”.DB_USERTABLE_USERID.” userid, “.TABLE_PREFIX.DB_USERTABLE.”.”.DB_USERTABLE_NAME.” username, “.TABLE_PREFIX.DB_USERTABLE.”.”.DB_USERTABLE_LASTACTIVITY.” lastactivity, CONCAT(“.TABLE_PREFIX.DB_USERTABLE.”.”.DB_USERTABLE_USERID.”,’|',”.TABLE_PREFIX.DB_USERTABLE.”.user_email) avatar,…[Read more]

  • Profile picture

    phartes joined the group Miscellaneous 2 years, 2 months ago

  • Profile picture

    phartes posted on the forum topic Display Followers/Following Count in the group BuddyPress Followers: 2 years, 3 months ago

    function follow_deleted( $user_id ) {
    global $wpdb, $bp;

    $wpdb->query( $wpdb->prepare( “DELETE FROM {$bp->follow->table_name} WHERE leader_id = %d”, user_id ) );
    $wpdb->query( $wpdb->prepare( “DELETE FROM {$bp->follow->table_name} WHERE follower_id = %d”, user_id ) );

    }

    add_action( ‘wpmu_delete_user’, ‘follow_deleted’ );
    add_action(…[Read more]

  • Profile picture

    phartes posted on the forum topic BUG: Follow count doesn't update when a member is deleted from the site in the group BuddyPress Followers: 2 years, 3 months ago

    function follow_deleted( $user_id ) {
    global $wpdb, $bp;

    $wpdb->query( $wpdb->prepare( “DELETE FROM {$bp->follow->table_name} WHERE leader_id = %d”, user_id ) );
    $wpdb->query( $wpdb->prepare( “DELETE FROM {$bp->follow->table_name} WHERE follower_id = %d”, user_id ) );

    }

    add_action( ‘wpmu_delete_user’, ‘follow_deleted’ );
    add_action(…[Read more]

  • Profile picture

    phartes joined the group BuddyPress Followers 2 years, 3 months ago

  • Profile picture

    phartes started the forum topic how to add paging in the plugin in the group BuddyPress Group Tags: 2 years, 5 months ago

    Hello, I have many groups in the tags and when you open the page in the tag lists all without paging, it overwhelms a lot, with a very long list, how can I put this paging plugin?

  • Profile picture

    phartes joined the group BuddyPress Group Tags 2 years, 5 months ago

Profile picture of phartes
  • Activity
    • Personal
    • Mentions
    • Favorites
  • Profile
    • View
  • Sites 0
    • My Sites
  • Forums
    • Topics Started
    • Replies Created
    • Favorites

See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

Follow BuddyPress on Twitter • GPL • Contact Us • Terms of Service

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • BuddyPress.org
    • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Lost Password
    • Log In
Log Out