Forum breadcrumbs – You are here:Asgaros Support ForumSupportProfile picture
Please or Register to create posts and topics.

Profile picture

Hi, I cannot seem to figure out how to add a profile picture. Any help / suggestions greatly appreciated!

 

Hello Pastor Tim,

the profile pictures are managed via your WordPress backend. By default, WordPress uses gravatar.com to “get” the users avatar. But you can also use existing WordPress extensions for it, for example:

Simple Local Avatars

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I have a similar question.

I’ve installed an avatar plug in, but don’t know where to put the short code. If I put it on the forum page, it appears at the bottom of every page. I’d rather have it appear in their user profile. I’d also like to have it replace Gravatar completely. Thanks.

Hello,

you can add your custom code/logic to the profile with the following hook and code:

function my_custom_profile_content() {
  echo 'My custom content ...';
}
add_action('asgarosforum_custom_profile_content', 'my_custom_profile_content');

 

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I’ll try it. Can you direct me to the proper location for the hook and code?

Apologies – I’m not very experienced in coding.

Thanks.

You can place this code in your themes functions.php file. The logic itself depends on the plugin you are using.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!