Helping you Build Your Own Social Network!

Faster, better and easier!

BP - Userplane chat avatar

(11 posts) (3 voices)

  1. Hi,
    I have a problem...
    I use Userplane chat for my buddypress site but i have a issue with the avatars,
    I'm trying to do it so the buddypress avatar is called instead of the userplane avatar for use in chat,
    This is because i have to upload to seperate avatars, 1 for profile 1 for chat, i don't want that, i just want the 1 avatar through out, "the BP avatar,

    here is the code that is used to display the avatar in chat:
    public function get_user_chat_icon($pic, $tag) {
    if ($pic == '') {
    return '';
    }
    return "<$tag>" . get_option('siteurl') . '/wp-content/images/avatars/' . $pic . "</$tag>";
    }
    I have tried different combo's including bp_core_fetch_avatar, without no look.
    Hopefully someone will have a solution for this,
    Also the 2 main files i have for calling the avatar in userplane are:
    http://www.ruddernation.com/upl_common_profile.php
    http://www.ruddernation.com/upl_common_user.php
    Take a look see if you can suggest something for me to try please.

    Also @Brajesh, If you still have the details for the test site please delete that as i had problems with my host and had get a new 1 so gonna start a few fresh test sites on 3 seperate hosts.

    Regards

    Posted 1 year ago #
  2. Hi
    Sorry for the delayed reply. I don't have the older info anymore.

    I have edited their plugin and I hope it should work with bp.
    http://buddydev.com/http//buddydev.com/public-download/userplane-chat.zip

    I could not test it though as i don't have a userplane account. If it does not work, please provide me access o one of your test site and I will try to fix it there.

    Please do let me know if it worked or not ?

    Posted 1 year ago #
  3. Hi @Brajesh

    Thanks for that, But that doesn't work,
    I tested it on test site & on my main site without any luck,
    I have just sent you the info for the test site.

    Regards.

    Ben

    Posted 1 year ago #
  4. Can I ask: What do you think of Userplane? Does it perform well, and can it handle large amount of members? Can you chat with BuddyPress friend like Facebook etc? the software looks pretty good!

    Posted 1 year ago #
  5. yeah it's a good plugin,
    I have it intergrated for my buddypress site and works well,
    I even have video/audio within the chat room,
    I have the same userplane app on facebook
    http://apps.facebook.com/peeps_central_chat/
    although my chat for my website has the video/audio enabled and has its own instant messenger (IM),
    I've been using this for about 4 yrs now,
    I've also edited it quite alot, which is pretty simple to do.
    Check that link out, thats just my basic version,
    My full version is on my chat site (link on my profile).

    Posted 1 year ago #
  6. Hi Ben,
    Did the original plugin worked for you(not my modification and allowed to connect?). I have not changed anything which should cause this issue as I just changed the avatar handling.
    Thanks for sending the server info, going to check now and will reply back.

    Posted 1 year ago #
  7. @brajesh

    Hi, the original plugin works,
    You modified plugin also works with out server issues,
    I just doesn't display the avatar of the users profile,
    Intead it shows nothing as though the user hasn't uploaded a avatar.

    Posted 1 year ago #
  8. Thanks for info.
    checking it on your server now.

    Thanks
    Brajesh

    Posted 1 year ago #
  9. Hi Brajesh,

    Thanks for that, I have just sent you a message for the upload avatar problem,
    For some reason it works with another plugin, Think its used to call for the avatar to upload.

    Ben

    Posted 1 year ago #
  10. Done :)

    Please do let me know if you still see issues.

    Thanks
    Brajesh

    Posted 1 year ago #
  11. Thanks Brajesh,

    I will check in a few minutes

    Thanks

    Ben

    Posted 1 year ago #

Reply

You must log in to post.