Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.7k views
in Plugins by
I want to install AJAX-Chat ( https://github.com/Frug/AJAX-Chat ) on my Q2Av1.8.0 site. But unable to find instructions to install this Plugin.

Could you please provide me step-wise instructions to install this on my Q2A site?

Thanks in advance,
Q2A version: Version 1.8.0

1 Answer

+3 votes
by
selected by
 
Best answer
You're using Q2A. Q2A uses plugins for Q2A in the same way WordPress uses WordPress plugins or Google Chrome uses Google Chrome extensions.

You've found a chat solution that includes many components (e.g. it uses MySQL, PHP and JS). That has nothing to do with Q2A. It is not a Q2A plugin. If you want to install that and make it work with Q2A, it will most likely not result in just an out of the box plugin but rather it will require a lot of customizations. It is similar to asking "How can I use a jet engine in my bicycle? Please, provide step by step instructions".

So, unless you want to spend hours in getting that chat system to work (or pay someone to do that for you) it is better to look for an already developed plugin for Q2A and use that. There is this one: https://github.com/svivian/q2a-chat-room . It might not look as good as the one you like but still can get the work done free of charge and without having to spend hours developing it.
by
Thanks for nice explanation, but can I make this chat room box as "side box" above my "All categories" link ?
by
I guess you're talking about adding a chat as a widget. That's not supported out of the box. The plugin uses a 'page' module: https://github.com/svivian/q2a-chat-room/blob/master/qa-plugin.php#L22

If you want a 'widget' module, as documented in http://docs.question2answer.org/plugins/modules-widget , then you'll fall again in the code-it-yourself scenario
by
I got a chat widget. Can you please write how to this chat widget made in right side panel.
by
by
You have to extract the pieces of the logic from the page module to a different class. Then create the widget UI that will work with your theme from scratch. Then merge it with the logic you've extracted from the page module
...