user_login .” get_userdata”. “\r\n”;

$bday=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’6′ AND wp_bp_xprofile_data.user_id=$user_id”);
echo $bday.” bp_p”.”\r\n”;
$fname=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’1′ AND wp_bp_xprofile_data.user_id=$user_id”);
$lname=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’2′ AND wp_bp_xprofile_data.user_id=$user_id”);

echo $fname.” bp_p”.”\r\n”;
echo $lname.” bp_p”.”\r\n”;

$yfirstname = get_usermeta($user_id, ‘first_name’,single);
$txxname = xprofile_get_field_data( ‘First Name’, $user_id);

echo $yfirstname.”\r\n”;
echo $txxname.”\r\n”;

if ($firstname!= $xxname) {echo “Yes”.”\r\n”;}else{echo “No”.”\r\n”;}

$theone=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’2′ AND wp_bp_xprofile_data.user_id=$user_id”);

$fname=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’1′ AND wp_bp_xprofile_data.user_id=$user_id”);
$lname=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’2′ AND wp_bp_xprofile_data.user_id=$user_id”);
$gndr=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’3′ AND wp_bp_xprofile_data.user_id=$user_id”);
$bday=$wpdb -> get_var(“SELECT value FROM wp_bp_xprofile_data WHERE field_id=’6′ AND wp_bp_xprofile_data.user_id=$user_id”);

echo “Now”.”\r\n”.$theone.”\r\n”.”thisisit”.”\r\n”.$fname.”\r\n”.$lname.”\r\n”.$gndr.”\r\n”.$bday.”\r\n”;

$lst = xprofile_get_field_data( ‘Last Name’,$user_id);

echo $lst.”\r\n”;

$firstname = get_usermeta($user -> ID, ‘first_name’,single);

$xfirstname = get_usermeta($user_id, ‘first_name’,single);

$test = xprofile_get_field_data( ‘pblog’, $user_id);

$nest = xprofile_get_field_data( ‘First Name’, $user_id);

$xxname = xprofile_get_field_data( ‘First Name’, $user_id);

echo $xxname.”\r\n”.”\r\n”.$nest.”\r\n”;

if ($xfirstname !=””) {
echo “not empty”.”\r\n”.$firstname.”\r\n”.”xxx”.”\r\n”.$xfirstname.”\r\n”.$test;
}else{
echo “empty”.”\r\n”;

}
?>

 

 

user_email;

$girstname = $meta[field_1];

$pb = get_user_meta($user_id, ‘primary_blog’, true);

echo $pb.”\r\n”;

echo $email.”\r\n”;

echo $girstname.”\r\n”;

$xprofile_table = ‘wp_bp_xprofile_data’;

$check = $wpdb->get_var(“SELECT value FROM $xprofile_table WHERE field_id=’2′ AND wp_bp_xprofile_data.user_id =$user_id”);

$acheck = $wpdb->get_var(“SELECT value FROM $xprofile_table WHERE field_id=’13’ AND wp_bp_xprofile_data.user_id =$user_id”);

echo $check.”\r\n”;

echo $acheck.”\r\n”;

echo $pb.”\r\n”;

echo $newval.”\r\n”;

?>

/*$wpdb->insert( wp_bp_xprofile_data, array( ‘field_id’ => ‘9’, ‘user_id’ => $user_id,’value’ => $member_genre, ‘last_updated’ => current_time( ‘mysql’ ) ));*/

/*xprofile_set_field_data( ‘pblog’, $uid, $pb);*/

css.php

Proudly powered by WordPress and BuddyPress | Terms | Privacy   -  Copyright © 2012 - 2020     IsOurPlace  and  The Owner  -   All Rights Reserved.