Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3755, comment 2


Ignore:
Timestamp:
11/19/2011 01:23:26 PM (13 years ago)
Author:
boonebgorges
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3755, comment 2

    initial v1  
    33Try putting this inside of plugins/bp-custom.php, and refreshing your admin section one time:
    44
    5 `function bbg_reset_blogs() {
     5{{{
     6function bbg_reset_blogs() {
    67  if ( is_super_admin() )
    78    bp_blogs_record_existing_blogs();
    89}
    9 add_action( 'admin_init', 'bbg_reset_blogs' );`
     10add_action( 'admin_init', 'bbg_reset_blogs' );
     11}}}
    1012
    11 That will run the script that looks for existing blogs and adds them to BP users. Once you've verified that it's worked, comment out the `add_action` line or delete the whole block so that it doesn't run over and over again.
     13That will run the script that looks for existing blogs and adds them to BP users. Once you've verified that it's worked, comment out the {{{ add_action }}} line or delete the whole block so that it doesn't run over and over again.
    1214
    1315Your situation is an edge case, but it would be nice to fix at some point. Not sure of the best way to do it - dev feedback welcome.