Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Quick buddy press/php coding
Sign in to Add to Watch List

IT & Programming > Blog Programming

View Change History

The client has made the following changes to the job.


Job awarded.

Mar 7, 2013

Job Description

  |  Change History >>


  • Posted: Wed, Mar 06, 2013
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Hourly Rate: $10 - $15 / hr
  • Hrs/wk: 1 | Duration: 1-2 weeks
  • Work View™ Payment Protection
  • U.S. freelancers must have W9
Sign in to view client's details

I need code to display

1) the current logged in user's number of posts (new topics, not replies) in a SPECIFIC forum (e.g. forum_name="Impact").

2) Total posts (new topics, not replies) in that forum across all users.

The code below is a good starting point - I believe it pulls number of user posts across all forums (not a specific forum).

This should take 10-30 minutes if you know buddy press, but I'm happy to pay for an hour of your time. We may extend the job a little.


function etivite_bp_member_profile_stats_get_member_post_count( $user_id = false ) {
global $bp, $wpdb, $bbdb;

do_action( 'bbpress_init' );

if ( !$user_id )
$user_id = ( $bp->displayed_user->id ) ? $bp->displayed_user->id : $bp->loggedin_user->id;

$total_count = $wpdb->get_var( $wpdb->prepare( "SELECT count(post_id) FROM {$bbdb->posts} WHERE poster_id = {$user_id} AND post_status = 0" ) );

if ( !$total_count )

Sign in or Register to see more

Desired Skills
PHP, WordPress, BuddyPress
Job ID: 38708209
Hourly Rate: Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

Sagar Seth      
Sagar Seth's identity has been verified.  Learn More
 India  |  
We are a team of highly skilled and passionate Developers,Designers and Programmers. We have over 8 years of professional experience in creating...
 4.6   |  Private   |  20 Jobs
Bid ID: 38709244  |  Submitted: Mar 6, 2013 22:46 ET 
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »