Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Rahul Ramesh

    (@rahulascents)

    I found some lines in the plugin, are these the one to edit?

    $wc_comm_author_avatar = $this->wc_helper->get_comment_author_avatar($comment);
            $wc_profile_url = $this->get_profile_url($user);
    Plugin Author gVectors Team

    (@gvectors-team)

    Hi Rahul,
    We can’t support all third party plugins, you should use the default avatar system or BuddyPress. wpDiscuz works fine with all popular profile plugins avatars and with default WP avatar system.

    However we’ll check this and may add if it’ll not be hard.

    Thread Starter Rahul Ramesh

    (@rahulascents)

    Is it possible tell where to alter the codes or the logic to alter the code, I can add the code, I know this is site specific, but do try if possible.
    Thanks

    Thread Starter Rahul Ramesh

    (@rahulascents)

    Ahh, it is fine I did make it work, just some function alterations did the trick ??

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi Rahul,
    Could you please describe here what exactly you’ve done for that?

    Thread Starter Rahul Ramesh

    (@rahulascents)

    I replaced the get_avatar function with get_wp_user_avatar in the comment TPL file of the plugin. I didn’t user users ultra or anything because as far as I feel its better not to depend on one plugin for handling everything. After a couple of years if the plugin is depreciated it will be really hard to export data.

    For wpdiscuz my suggestion is not to inherently support profile plugins, as there are a lot in the wp repository, but to to provide options in the admin panel to use necessary hooks for avatars, profile links etc. Example, if there is an option to specify the avatar hook in admin panel, people can simply specify “get_wp_user_avatar” or “get_avatar” or anything depending on their site architecture and it might make it easy for the developers of wpdiscuz to keep pushing updates without worrying about other profile management plugins. Its just a suggestion.

    Plugin Author gVectors Team

    (@gvectors-team)

    Thanks Rahul,
    We’ve already added a few hooks support in wpDiscuz, but there is not any for avatars, coz it loads default WordPress avatars with WordPress get_avatar function. You’re correct, it would be better to have such features in wpDiscuz. We’ll work on that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘show the user avatar – issue’ is closed to new replies.