Want more features on Pastebin? Sign Up, it's FREE!

Ammendment to bp-cubepoint-core.php

By: a guest on May 22nd, 2010  |  syntax: None  |  size: 0.52 KB  |  views: 230  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.
  4.  In cubepoints-buddypress-integration open file includes/bp-cubepoint-core.php
  5.  locate function 'bp_cubepoint_setup_globals and locate line:
  7. $bp->cubepoint->table_name = $wpdb->base_prefix . 'cubepoints';
  9.  change that line to (copy & paste over?):
  11. $bp->cubepoint->table_name = $wpdb->prefix . 'cubepoints';
clone this paste RAW Paste Data