Friday 30 May 2014

Impact Plus - Facebook Style Chat (Miscellaneous)


Features



  • Group Chat

  • Notifications

  • Plugins

  • Socket support

  • Admin Panel

  • Themes

  • Real-time Status

  • Mobile Support

  • Multi Language Support

  • Write in more than 20+ languages (including Indian languages)

  • User blocking features

  • Themes based on PHP version of Less

  • Full facebook style

  • …and many more


Server Requirements



  1. PHP version 5.0 or greater (required)

  2. MySQL version 5.0.15 or greater (required)

  3. You must disable session.auto_start in php.ini (required)

  4. Some PHP Extensions and functions (optional)

    • GD extension is required for Image processing (optional) (recommended)

    • cURL extension is required for Auto updates and stream rendering (optional) (recommended)

    • zlib extension is required for a Better data output and Performance (optional) (recommended)

    • zip extension is required for Auto updates & Plugin installations (optional)

    • File uploads are required to be enable to use Attachment feature (optional)



  5. Inbound Socket conection support (optional)


Javascript must be turned ON in internet options in order to use all features of Impact Plus and it's Admin Panel, since they are built on top of the famous javascript library jQuery

Uploading


The files could be uploaded to your hosting server in several ways. Each hosting provider offers some hosting control panel tool with the file manager so you can use it to upload the files. The instructions on how to us it should be in the hosting FAQ or help desk.


Read documentation for Uoloading


Installing


Point your browser to http://path_to_ipChat/install.php , where path_to_ipChat is the url to ipChat folder.


If your site url is http://mysite.com/ and you were extracted the files to your server root. Then the url will be http://mysite.com/ipChat/.

If the file config.php exists in your server already, you will an error message saying “Configuration file found, Please delete conf.php and restart the installation”. At this point you cannot continue the installation.
To overcome this situation goto ipChat/includes/conn/ folder in your server, then find and delete “conf.php” file.


The installation will start automatically and will take you through the steps necessary to install Impact Plus.


Read documentation for Installing


Prerequisites


In order to initialize Impact Plus, the famous javascript library jQuery must be included in your page before the Impact Plus scripts, where yo want to display the Chat.


Scripts


Download and include jQuery and jQueryUI library if you don’t have them included on your page already.


<script type="text/javascript" src="/ipChat/js/jquery.js"></script>
<script type="text/javascript" src="/ipChat/js/jquery-ui.js"></script>

And then, add the following code between your <head> and </head> tags or right before the closing </body> tag after including jQuery


<script type="text/javascript" src="/ipChat/js/core.php"></script>

Alright, now we only have left the calls to Impact Plus, to do that, add the followin code anywhere on your page


<script type="text/javascript">
var chat = new ipChat(); // Initialize the Impact Plus class
$(function() // jQuery document ready event
chat.start(); // Call the method "start"
);
</script>

You can also set the options with `set_options` method of `ipChat`, after initializing the `ipChat` object


<script type="text/javascript">
var chat = new ipChat();
// Set a single option
chat.set_options( "useCache", false );

// or an object
chat.set_options(
useCache: false,
canUploadFiles: false
);
$(function()
chat.start();
);
</script>

Parameters


The ipChat class accepts a large number of parameters to customize Chat for your needs.
They can be used like:


new ipChat(
option1: value1,
option2: value2,
option3: value3,
......
);

View all available Options


Layout


An html layout for the Chat is simple enough. You can tellImpact Plus, where to render the Chat, by Just adding the classname ipChat to the element where you want to render ipChat


<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Impact Plus</title>
</head>

<body>

<div class="ipChat">
<!-- Impact Plus will render here -->
</div>

</body>
</html>

Using with your Existing User Database


This is the most important part, Please read this documentation carefully


READ FULL DOCUMENTATION HERE




Impact Plus - Facebook Style Chat (Miscellaneous)

No comments:

Post a Comment