Tagged: buddypress
Hello,
Found the CubePoints Buddypress Integration plugin,
but it is deprecated, here is the link https://wordpress.org/plugins/cubepoints-buddypress-integration/
This code is causing the problem.
‘function bp_cubepoint_setup_globals() {
global $bp, $wpdb;
$bp->cubepoint->id = ‘cubepoint’;
$bp->cubepoint->table_name = $wpdb->base_prefix . ‘cubepoint’;
$bp->cubepoint->table_name = $wpdb->prefix . ‘cubepoint’;$bp->cubepoint->slug = get_option( ‘bp_slug_cp_bp’ );
$bp->cubepoint->points_slug = ‘points’;
$bp->cubepoint->table_slug = ‘table’;
$bp->cubepoint->earnpoints_slug = ‘earnpoints’;
$bp->cubepoint->awards_slug = ‘awards’;
$bp->cubepoint->bp_cubepoint_per_page = get_option(‘bp_points_logs_per_page_cp_bp’);}
add_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’, 2 );
add_action( ‘bp_setup_admin_bar’, ‘bp_cubepoint_setup_globals’, 2 );
‘
You can fix this.
I think this plugin might be useful for others.Thank you for helping.
Hi Vlad,
Thank you for the post.The cube points plugin is abandoned. It has not been updated for 9 years+
https://wordpress.org/plugins/cubepoints/I will suggest avoiding the above code and looking for the alternatives.
Regards
BrajeshHi Vlad,
My cred is one of the alternatives.
https://wordpress.org/plugins/mycred/Regards
Brajesh
You must be logged in to reply to this topic.