Support » Plugin: BuddyPress to WordPress Full Sync » Is this plugin still supported?

  • Resolved sphynxma

    (@sphynxma)


    I don’t see that there have been any updates in a while. I don’t want to install this anywhere if it will no longer be supported.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author SGr33n

    (@sgr33n)

    Hi,
    Yes it’s still under active development.
    Next version will have a modification on how it stores fields that will sync, they will be moved to the table {wp_prefix}bp_xprofile_meta table as discussed on this thread:
    https://wordpress.org/support/topic/reporting-an-issue/

    Then will be released a Pro version, that probably will make it possible to also sync custom meta fields as requested on many topics of this forum. Or maybe this option will be added free of charge if there will be some other option to to provide with the Pro version (e.g. WooCommerce user fields Sync).

    Do you happen to have a git repository for source control? I am considering contributing. I am looking into adding the ability to use any meta field rather than just the 5 predefined ones.

    Here is what I have working btw:

    
    	public function bp2wp_add_sync_options( $field ) {
            global $wpdb;
    		$bp2wp_sync = false;
    		if ($field) {
    			$childs = $field->get_children();
    			if (isset($childs) && $childs && count($childs) > 0 
    				&& is_object($childs[0]) && $childs[0]->type == 'bp2wp_sync') {
    				$bp2wp_sync = $childs[0]->name;
    			}
            }
            $wpfields = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->usermeta} ORDER BY meta_key" );
    		?>
    
    		<div class="postbox">
    			<h2><?php _e( 'Sync to WordPress user field', 'bp2wp-full-sync' ); ?></h2>
    			<div class="inside">
    				<p class="description">
    					<?php _e( 'Please select the WordPress user meta you want to sync with this BuddyPress field.', 'bp2wp-full-sync' ); ?>
    				</p>
    				<p>
    					<label class="screen-reader-text" for="bp2wp_sync"><?php _e( 'Sync to WordPress user field', 'bp2wp-full-sync' ); ?></label>
    					<select name="bp2wp_sync" id="bp2wp_sync" style="width: 90%">
    						<option value="" <?php selected( $bp2wp_sync, '' ); ?>><?php _e( 'None', 'bp2wp-full-sync' ); ?></option>
    						<?php foreach( $wpfields as $wpfield ) { ?>
    
    							<option value="<?php echo $wpfield->meta_key; ?>"<?php selected( $bp2wp_sync, $wpfield->meta_key ); ?>><?php echo $wpfield->meta_key; ?></option>
    						
    						<?php } ?>
    					</select>
    				</p>
    			</div>
    		</div>
    			
    		<?php
    	}
    
    • This reply was modified 6 months, 2 weeks ago by Eric Nemchik.
    • This reply was modified 6 months, 2 weeks ago by Eric Nemchik.
    Plugin Author SGr33n

    (@sgr33n)

    Hi, this is pretty the same approach I’m using, but there are some other fixes before releasing a new version with all the user metas. Thanks for your support.

    That’s great news! I’d still love to poke around if you do decide to post a git repository.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is this plugin still supported?’ is closed to new replies.