File Upload with Server in safe_mode

It has nothing to do with safe_mode try this: login to your ftp make your wp-content folder 755 inside wp-content create a new folder called “uploads”, make it 777 (755 should also work) inside the control admin panel, go to settings>miscellaneous and on the first line enter “wp-content/uploads” as where your uploads will go to. … Read more

Delete user account – If user has attachments uploaded then redirect (with a message) [closed]

I got it: function custom_get_count_before_delete() { global $bp, $wpdb; $user_id = $bp->loggedin_user->id; return $wpdb->get_var( $wpdb->prepare( ” SELECT COUNT(DISTINCT p.ID) FROM $wpdb->posts p WHERE p.post_author = %d AND p.post_status=”inherit” AND p.post_type=”attachment””, $user_id ) ); } function custom_check_delete_account() { global $bp; if ( $bp->current_component == ‘settings’ && $bp->current_action == ‘delete-account’ ) { if ( $count = custom_get_count_before_delete() … Read more

Multisite features

WordPress multisite sounds exactly like what you are looking for. It takes a little work to get multisite set up, but once that’s done, the options for allowing anybody to register and create a new site are built right in. See http://codex.wordpress.org/Create_A_Network for setting up a multisite instance.