holdendc25
Forum Replies Created
-
I figured out how to solve the issue if anyone else has this conflict.
I commented out line 2 of wpuf-edit-user.php where it calls /wp-admin/includes/user.php which is where the add_user() function is called.
I believe the conflict arises when BuddyPress also calls this add_user() function in bp-members-functions.php
So in wpuf-edit-user.php I changed:
require_once(ABSPATH . ‘/wp-admin/includes/user.php’);
to
// require_once(ABSPATH . ‘/wp-admin/includes/user.php’);
and now buddypress users can delete their profiles. I assume that I wouldn’t be able to use WPUF to allow users to edit their WP profiles, but that’s OK since I am using the BP profiles instead…
Hmmmm well it seems to be WPUF that is causing the problem since when I disable it I can delete users in BuddyPress but when WPUF is active (both versions 0.7 and 1.0) then the conflict with BuddyPress occurs.
P.S. I have de-activated all plugins and I isolated that WPUF was the plugin causing the error.
Also I am not using the edit profile or any of the WP profile options of WPUF since I am using the BuddyPress profile options so I don’t even need this edit user WP profile type functionality if I can somehow “turn it off” or not redeclare the add_user() function.
Thanks!