GithubHelp home page GithubHelp logo

akshay-hegde / pyrocms-cchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rmalibiran/pyrocms-cchat

1.0 2.0 0.0 404 KB

A simple chat module for PyroCMS (2.2.x). This uses conversejs and requires an XMPP server (using Prosody at the moment).

License: MIT License

PHP 28.48% CSS 7.52% HTML 63.02% JavaScript 0.97%

pyrocms-cchat's Introduction

pyrocms-cchat

A simple chat module for PyroCMS (2.2.x). This uses conversejs and requires an XMPP server (using Prosody at the moment).

Here are the instructions on running your own XMPP service with Prosody. :)

Features

  • Create/Register a chat account (Administrators only)
  • Chat to an XMPP server (using Prosody at the moment)
  • HTTP Binding (user is logged-in to chat as long as he is logged-in to the webiste)

Installation

  1. Clone or download the source code
  2. Extract it to the addons directory (you can also upload it using the upload module tool from the administrator's panel). Rename the pyrocms-cchat directory to cchat before installing. :)
  3. Install it (just click the install button from the module pages of the administrator's panel)

TODO

  • Add settings for javascripts (or even css?) to fix the possible conflict with templates that uses the libraries that we are using. Examples are:
    • template_has_conversejs
    • template_has_jquery
  • Create permissions on who can create a chat account for a user
  • Automatically create a chat user upon registration
  • Port to more chat providers (works best with a prosodyctl masking I made on node.js. will create a repo for it soon)
  • Handle the registration failure properly
  • Add authentication token for the registration routine
  • Add tests

NOTE

  • I manually built conversejs to added the jquery no-conflict codes. If you are going to use the jquery included inside coversejs, use the original_converse.min.js file instead. (You can change it on the events.php file).
  • I used spaces as tabs, tab-width 2

Thanks!

pyrocms-cchat's People

Contributors

rmalibiran avatar

Stargazers

Lungoupao Khongsai avatar

Watchers

James Cloos avatar  avatar

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.