176985602337900

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.

Description
Date

Job awarded.

Mar 7, 2013
Close

Job Description

  |  Change History >>

Updated

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

    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.

BUDGET: $20


SAMPLE CODE:
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 )
$tot...

Sign in or Register to see more

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

Sagar Seth      
Sagar Seth's identity has been verified.  Learn More
 India  |  
Winner
I am a Wordpress,Jquery,Php expert with a passion to excel in web development. I have developed several wordpress and jquery plugins. I have been...
8
  |  
 4.8   |  Private   |  82 Jobs
Bid ID: 38709244  |  Submitted: Mar 6, 2013 22:46 ET 
$19.73/hr
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »