MS Access to manage WordPress Database

If you know something about databases, and have access to the back end SQL database (most likely through Cpanel/phpMyAdmin, you can see the structure of the database, including the columns (fields) and their attributes. Knowing this, you can export an Access query into an Excel file with the same fields and attributes as the BuddyPress … Read more

How to change user`s avatar?

Avatars are meant to be controlled by the user, not by you. So yes, in a way, you’re being forced to use the Gravatar service. But remember, it gives the user the ability to use the same avatar anywhere, and you can always restrict the display of a gravatar based on content ratings (G, PG, … Read more

Users problem (multi-author plus multisite)

It appears that at some point the plugin Simple Local Avatars broke things. Disabling it solved my problem. I now have a user that I need to find another avatar solution for, as he doesn’t have a Gravatar and using his other WordPress blog email address didn’t import his photo.

How to assign permissions for a CPT to a user

This is something you can achieve with the Advanced Custom Fields plugin. The trick is to use the ACF_LITE mode, which would let you define a dynamic list of user profile fields from functions.php. You could iterate over each post type and display a checkbox for it. Then use the edit_user_profile_update hook to call $user->add_cap(‘edit_[resource]’) … Read more