Giter VIP home page Giter VIP logo

beechat's People

Contributors

beechannels avatar

Stargazers

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

Watchers

 avatar  avatar

beechat's Issues

Sounds

Sounds are not yet handled properly

image on toolbar links to image file not included.

In the beechat_tooltip_trigger url the img is defined as something specific to your theme.
I changed it to this:

<a id="beechat_tooltip_trigger" href="<?php echo $vars['url']; ?>"><img src="<?php echo $vars['url']; ?>favicon.ico" /></a>

One on one chat window doesn't always open

refreshing the page is sometimes needed to see a new chat window properly, ie the one being talked to needs to refresh the page before being able to see someone else is trying to chat.

High CPU load with external auth script

I have installed the plugin and it workes beautifully - thank you :)
But - the perl-scripts (probably the polling) maxes out my CPU, slowing down the server so much that I had to disable the plugin again. Any solution for this?

need some configuration help

hello.
we are using centos 6, and elgg version 1.7.2
i installed ejabbered using repo, that is running on our server with admin user: http://localhost:5280/admin.

we installed beechat plugin, also added settings and the chat bar is also showing.

Now the issue is when i click on chat bar its loading for sometime and showing connecting.., after sometime its deactivated.
backend error when i click on chat bar is like below:
*106 FastCGI sent in stderr: "PHP message: beechat: get_details" while reading response header from upstream, client: 103.60.176.18, server: localhost, request: "GET /action/beechat/get_details?__elgg_ts=1486567xxxx__elgg_token=45b7a73f6f63d3762dc9d7c71c2xxxxx HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/pg/dashboard/"

so can you please explain how can i resolve this issue.

  1. need to know any changes i need to do on beechat plugin after add on elgg mod directory from backend ?
  2. on "Chat domain" setting of beechat what i need to fill exactly. need to fill ejabbered server domain name like "http://localhost:5280/http-bind" from frontend ? >>also attached my filled setting screeshot.
  3. the issue is seems like not connected with ejabbered.

please let me know how can i debug and where is the issue.
thank you.
beemchat

unable to find chat window

i already had ejabberd installed and integrated with elgg, but i like your approach so i have modified my setup to be like yours. Ejabberd connects ok with the auth script for external clients, but when i log into the elgg site I don't see any sort of client for xmpp.

errors only show on console messages.

Just discovered the errors

** Message: console message: http://duuit.com/pg/riverdashboard/ @1: ReferenceError: Can't find variable: init_beechat

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/ @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/newmessage.wav @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/mod/beechat/sounds/newmessage.wav @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/newmessage.wav @1: ReferenceError: Can't find variable: init_beechat

support multiple domains

my site has more than one domain and my chat users log in with any of the domain names currently, once i enable this they can only log in from the specified domain in the config but not the others accepted in the ejabberd.cfg

extending views for js not always working.

I had the problem of the javascript never loading and had to change the plugin to extend meta tags to get it to show, feel free to look at my fork here, all the javascript has moved to beechat/js and is only loaded if logged in.

this solved the problem to make mine show up but didnt actually work.

errors only show on console messages.

Just discovered the errors

** Message: console message: http://duuit.com/pg/riverdashboard/ @1: ReferenceError: Can't find variable: init_beechat

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/ @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/newmessage.wav @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/mod/beechat/js/beechat.js @23: SyntaxError: Parse error

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/mod/beechat/sounds/newmessage.wav @2628: ReferenceError: Can't find variable: rcPrepareItems

** Message: console message: http://duuit.com/pg/riverdashboard/mod/beechat/sounds/newmessage.wav @1: ReferenceError: Can't find variable: init_beechat

authentication using external entity

First of all I would like to thank you for your work on the beechat!

I have found a problem when trying to log in to beechat using an external jabber chat client. Any person is allowed to log in. Have traced the problem down to the ejabberd_elgg_auth.pl line 136 that has an additional result=1 before exiting the funtion(I have added a comment to the line bellow)

External authentication

sub auth_ext {
my($user, $password) = @_;
my $result = 0;

my $sql = qq/SELECT salt FROM $db_table WHERE $field_user = ?;/;
my $sth = $dbh->prepare($sql);

$sth->bind_param(1, $user);
$sth->execute()
or die DBI->errstr;

my @res = $sth->fetchrow_array();
$sth->finish;
if (!$res[0]) {
$result = 0;
} else {
$sql = qq/SELECT COUNT(*) FROM $db_table WHERE $field_user = ? AND $field_password = MD5(CONCAT(?, ?));/;
$sth = $dbh->prepare($sql);

$sth->bind_param(1, $user);
$sth->bind_param(2, $password);
$sth->bind_param(3, $res[0]);
$sth->execute()
    or die DBI->errstr;

my @count = $sth->fetchrow_array();
$sth->finish;
$result = $count[0] || 0;
}

$result = 1; ###! siskap: This line of code should not be here
return ($result);

When this line is deleted the script works ok.

Regards,
Petr

New chat replies get routed to new inaccessible window.

Using the 855c6a4 release, I've noticed a strange behavior with a majority of users where:

"User A" (User.A@mydomain) sends a message to "User B" (User.B@mydomain). "User B" window pops up on A's screen and "User A" window pops up on B's display with the sent message. When B replies to the message, a new window is created titled "User.B@myd..." on A's display that is not selectable/expandable. A can still send messages to B, but A cannot receive messages from B.

I'm starting to poke around in the codebase a bit, but I'm somewhat unfamiliar with the project. Please let me know if this is a potential mis-configuration.

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.