SHARE
TWEET

Ammendment to bp-cubepoint-core.php

a guest May 22nd, 2010 234 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  This addresses issues for those running WPMU
  2.  Although it looks as though this 'Fix' should be safe for both WP & WPMU further testing will be ongoing and this fix may well change in the released core plugin files.
  3.  
  4.  In cubepoints-buddypress-integration open file includes/bp-cubepoint-core.php
  5.  locate function 'bp_cubepoint_setup_globals and locate line:
  6.  
  7. $bp->cubepoint->table_name = $wpdb->base_prefix . 'cubepoints';
  8.  
  9.  change that line to (copy & paste over?):
  10.  
  11. $bp->cubepoint->table_name = $wpdb->prefix . 'cubepoints';
RAW Paste Data
Top