• Resolved blnickum

    (@blnickum)


    Does Profile Builder have any reporting capabilities? Specifically, I am looking to download, update, or access reports that will provider user reports and any changes that users make to their profile.
    Our website is a member site and when members update their information, we want the club secretary to be able to update club records.

    Thank you!

    https://www.ads-software.com/plugins/profile-builder/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Cristian Antohe

    (@sareiodata)

    Hi,

    No, there are no reports available in Profile Builder. I can provide you with an easy to use addon plugin that will email you once someone updates their profile, and a link to their profile.

    So you could update your records once they happen.

    It’s not the same, but might be useful.

    Thread Starter blnickum

    (@blnickum)

    That would be excellent.

    blnickum at gmail dot com

    Thank you!

    Plugin Author Cristian Antohe

    (@sareiodata)

    You can download and install the custom plugin from here: https://www.cozmoslabs.com/?attachment_id=25696

    Feel free to modify it to better suit your needs.

    add_filter('wppb_edit_profile_all_changes_saved', 'wppb_email_after_edit');
    add_filter('wppb_edit_profile_all_changes_saved_except_existing_email', 'wppb_email_after_edit');
    add_filter('wppb_edit_profile_all_changes_saved_except_invalid_email', 'wppb_email_after_edit');
    add_filter('wppb_edit_profile_all_changes_saved_except_mismatch_password', 'wppb_email_after_edit');
    add_filter('wppb_edit_profile_all_changes_saved_except_uncompleted_password', 'wppb_email_after_edit');
    function wppb_email_after_edit($content){
    
    	// for more information about wp_get_current_user please see https://codex.www.ads-software.com/Function_Reference/wp_get_current_user
    	// this is useful in case you want something more then just the user_login and ID
    	$user = wp_get_current_user();
    	$url = admin_url("/user-edit.php?user_id=$user->ID");
    
    	$to = get_option( 'admin_email' );
    	$subject = "User: $user->user_login succesfully edited his account.";
    	$message = "User: $user->user_login succesfully edited his account. View his account at <a href='$url'>here.</a>";
    	$headers = "Content-type: text/html";
    
    	#var_dump($to);
    	#var_dump($subject);
    	#var_dump($message);
    
    	wp_mail($to, $subject, $message, $headers);
    
    	return $content;
    }
    Plugin Author Cristian Antohe

    (@sareiodata)

    [duplicate – deleted]

    Plugin Author Cristian Antohe

    (@sareiodata)

    [duplicate – deleted]

    Plugin Author Cristian Antohe

    (@sareiodata)

    [duplicate – deleted]

    Thread Starter blnickum

    (@blnickum)

    Awesome. Thank you very much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User change reports’ is closed to new replies.