Giter Site home page Giter Site logo

bp-chat's People

Contributors

raviousprime avatar sbrajesh avatar sharmaneha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bp-chat's Issues

Display unwanted messages in the chat window

I'm using using the last version of chat :
– some unwanted messages are displayed. It is like the messages are sent twice, one with the correct member name and a second with an “undefined” name? The fact to reload the page make the display comes to normal (without unwanted)

Pat

Clean all messages from DB

Hello!
I like this plugin verry much, but how can I clean all messages from the DB?
Can you provide me a PHP function to do that?

And another question, how can I make this plugin work only for friends, not sitewide?

Thx!

Not working

Hi sbrajesh,

Thanks for all your plugins, it's all very useful...
I've tried this plugin but it's not working! messages are not sent + chat settings link is not working too (don't know if this left to future updates).

Hope

Online count do not show integer

bugfix
bp-chat-classes.php

get_online_users_count()

    if(empty($friend_list))
      return false;

replace

    if(empty($friend_list))
      // egg bugfix
        return 0;

Adds N to everything

Hi,
I installed this on my website running wordpress 3.4.2 with bp 1.6.1. The first couple of messages work ok but the rest seem to have the letter n before or after each message. I dont know if this is a problem with the server or the plugin.
Kind Regards
Kyle

Chat with “BP | You are blocked” plugin

Hi Brajesh,

– I’m using the “BP | You are blocked” plugin to allow members to block other members if needed.
When using your chat plugin, members can continue to chat even if they are blocked.
Is there a way to follow the same rules than the BP | You are blocked plugin and do not allow blocked members to open a private chat with someone that have blocked him ?

Pat

Chat users window js refresh bugfix

Hello! I modify ChatSettings.update_online_count method

update_online_count: function(){
var oc=jQuery("div#chat_buddylist").find("span.online_count").get(0);
var lastCount = parseInt(jQuery(oc).html());

jQuery.post(ajaxurl, {
                        action: 'bpchat_get_online_users_count',
                        'cookie': encodeURIComponent(document.cookie)
                        },
                  function(ret){
                      if(parseInt(ret) != lastCount)
                      {
                        jQuery(oc).html(ret);
                        ChatSettings.update_online_list();
                      }
            })//end of post
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.