Limit the total space in every user

It’s a task that can be easily tackled using wp_handle_upload and wp_handle_upload_prefilter (e.g.: Give users a maximum upload capacity; limit the number of files a user can upload OR limit the number of files per upload). Luckily someone already did this, as a plugin: Upload Quota per User. It’s pretty old and seems unmaintained but … Read more

Add liked posts to user account

I have utilized this plugin for a similar situation: https://de.wordpress.org/plugins/ultimate-member/ Your users can register and create a profile. As the plugin comes with a lot of add-ons I’m not sure if there maybe is an add-on that solves your “attend” issue. If yes, problem solved. If not you could simply add a function which saves … Read more

adding xprofile for this user

You seem to be assuming that the xprofile field id is the same as the user meta field id – if they are, it is just a coincidence. If you have not created xprofile fields, you need to do so. And then use the ids for those xprofile fields. Or you can use the name … Read more

Buddypress: adding a new tab direct user to their author page

In your screen function ibenic_budypress_my_posts create a redirect. Something like: function ibenic_buddypress_tab() { bp_core_new_nav_item( array( ‘name’ => __( ‘My Posts’, ‘ibenic’ ), ‘slug’ => ‘my-posts’, ‘position’ => 100, ‘screen_function’ => ‘ibenic_budypress_my_posts’, ‘show_for_displayed_user’ => true, ‘item_css_id’ => ‘ibenic_budypress_my_posts’ ) ); } function ibenic_budypress_my_posts() { $url=”/author/” . bp_get_displayed_user_username(); bp_core_redirect( site_url( $url ) ); }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)