Forum Replies Created
-
AuthorPosts
-
thendara
MemberDone and emailed
thendara
MemberHello, I have the same issue. If you want any information from my site please let me know. The link appears to some users but not most. It seems to be blocked by the email system but i dont know why or how to unblock it. The blocked users are on not using the same email systems. Paul
thendara
MemberThere is a plugin New User Approve, when I had that installed along with Meta Pro, Meta Pro did not work correctly. I would suggest disabling any user plugins you have other than Meta Pro. It pretty much does it all anyway.
thendara
MemberMake sure you dont have plugin new-user-approve. I think thats what caused the problem. Try disabling any other user plugins you may have.
thendara
MemberHi, where do I send it? webmaster@thendaramountainclub.org
thendara
MemberStill only added one user, this is the code I modified
function importForm( $key ){
global $userMeta, $wp_roles;
ini_set(‘auto_detect_line_endings’, true);
$uploads = wp_upload_dir();
$fullpath = $uploads[ ‘basedir’ ] . @$_REQUEST[ ‘filepath’ ];$file = fopen( $fullpath, “r” );
$csvHeader = fgetcsv( $file );
$csvSample = fgetcsv( $file );
fclose( $file );$fieldList = $userMeta->defaultUserFieldsArray();
$fieldAdded = array( ” => ”, ‘custom_field’ => ‘Custom Field’);
$fieldList = array_merge( $fieldAdded, $fieldList );$roles = $wp_roles->role_names;
$roles = array_merge( array(”=>”), $roles );$userMeta->renderPro( “importStep2”, array(
‘key’ => $key,
‘fullpath’ => $fullpath,
‘csvHeader’ => $csvHeader,
‘csvSample’ => $csvSample,
‘fieldList’ => $fieldList,
‘roles’ => $roles,
), ‘exportImport’);
}function userImport(){
global $userMeta;
ini_set(‘auto_detect_line_endings’, true);
$csv_header = @$_POST[ ‘csv_header’ ];
$selected_field = @$_POST[ ‘selected_field’ ];
$custom_field = @$_POST[ ‘custom_field’ ];thendara
MemberThank you. That took care of it.
thendara
MemberSorry I wrote wp-login.php but I meant wp-admin.php Either way neither works.
-
AuthorPosts