Changes between Initial Version and Version 1 of Ticket #3755, comment 2
- Timestamp:
- 11/19/2011 01:23:26 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3755, comment 2
initial v1 3 3 Try putting this inside of plugins/bp-custom.php, and refreshing your admin section one time: 4 4 5 `function bbg_reset_blogs() { 5 {{{ 6 function bbg_reset_blogs() { 6 7 if ( is_super_admin() ) 7 8 bp_blogs_record_existing_blogs(); 8 9 } 9 add_action( 'admin_init', 'bbg_reset_blogs' );` 10 add_action( 'admin_init', 'bbg_reset_blogs' ); 11 }}} 10 12 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.13 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. 12 14 13 15 Your 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.