Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Dale Jacobs

EDD Points plugin User column

Another issue I am running into with 4.0.
EDD points and Rewards adds a column tot he user table to adjust points, it was working before 4.0, and I am not table to figure out how to fix it. i reset the user table to default and still no go.

Points and Rewards

I am guessing since their plugins column vale/content is all HTML your plugin is filtering it out?
Here is the plugins column content registration, should I see about changing that to fix the issue?

// Add Cusom column Content
add_action('manage_users_custom_column', array( $this,'edd_points_show_points_column_content'), 10, 3);

/**
* Add custom column content for users screen
*
* @package Easy Digital Downloads - Points and Rewards
* @since 1.0.0
*/
function edd_points_show_points_column_content($value, $column_name, $user_id) {

switch ($column_name){
case '_edd_userpoints' :

$points = get_user_meta( $user_id, $column_name, true );

if ( '_edd_userpoints' == $column_name)
{
$ubalance = !empty($points) ? $points : '0';
}

$balance = '<div id="edd_points_user_' . $user_id . '_balance">' . $ubalance . '</div>';

// Row actions
$row = array();
$row['history'] = '' . __( 'History', 'eddpoints' ) . '';
if ( current_user_can( 'edit_users' ) ) { // Check edit user capability
$row['adjust'] = '' . __( 'Adjust', 'eddpoints' ) . '';
}

$balance .= $this->edd_points_row_actions( $row );
return $balance;
break;
}
}

4 years, 5 months ago
Stefan
Developer

Hi Dale,

I’m not totally sure, but I think we tackled this issue in our upcoming release which will be shipped probably today.
After 4.0.2 is release, can you test this and let us know if this solved your issue?

4 years, 5 months ago
Stefan
Developer

Hi Dale,

We just released 4.0.2. Can you update and let us know if this fixed your problem?

4 years, 5 months ago
Dale Jacobs

This did completely fix it, thank you. It cleared up the WangGaurd user table column issue too!

Thanks for top notch support and an awesome plugin.

4 years, 5 months ago
Stefan
Developer

You’re welcome and great the issue is fixed.
I will close this topic.

4 years, 5 months ago

You must be logged in to reply to this topic.