ElkArte Community

Elk Development => Feature Discussion => Topic started by: Ouzrar on April 15, 2017, 02:49:54 pm

Title: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 15, 2017, 02:49:54 pm
Hi everyone.

i want to add IRC chatroom IFrame into my forum as i said because it's a private community and the members just can't give up chatting on whatsapp group.. so they forget about the community.. i had the idea to add a IRC chatting room and i want to know if anyone have done it before or has an idea on how to do it in elkarte????

if there is no way then why not thinking of adding this feature!
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: badmonkey on April 15, 2017, 05:33:59 pm
There's an Ajax Chat mod for Elk floating around out there.  Works great on 1.0.  If you use it on 1.1 just access the chat through the /talk directory rather than /chat.
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Spuds on April 15, 2017, 06:00:11 pm
I need to add that to the addon site, I keep forgetting that its around.

Anyway .. Topic .. http://www.elkarte.net/community/index.php?topic=2929.0

Download .. http://scaricare.de/index.php/downloads/kategorien/download/10-elkarte-einsnull/7-elkarte-ajax-chat
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 15, 2017, 07:54:19 pm
Thank you @badmonkey and @Spuds i added the addon and installed succesfully but its didnt work correctly.. i uninstalled it then i tried to install it again and its gives me this error!!

Table 'elqy_chat_online' already exists
File: /home/piraawfw/public_html/domain/packages/temp/install.php
Line: 31

Note: Your database version is 1.0.9.

how to fix that? i tried deleting the install.php file from the file manager but it's didnt work
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: badmonkey on April 16, 2017, 08:12:06 am
Easy fix!  Manually delete that table from your database.  Reinstall and hopefully you'll be good to go. 
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 16, 2017, 01:03:08 pm
Quote from: badmonkey – Easy fix!  Manually delete that table from your database.  Reinstall and hopefully you'll be good to go. 

i deleted the file manually but it's still giving me the same error.. the addon made modifications to alot of files..
do you specifficaly know what to delete?? im confused!
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Spuds on April 16, 2017, 01:55:18 pm
Its referring to a table inside of your site database, so you need some way to drop that table (such as phpmyadmin  etc). 

Alternatively you can unzip the chat package and find the file remove.php ... copy that file to your site, placing it in the same directory as SSI.php (this should be the root of your site)  Then from your browser go to  http://your.site.here/remove.php ... that should drop the table its complaining about.  Then delete that file.

Looking at the addon, it should have removed that database table when you uninstalled it, so I'm not sure what happened.

Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 16, 2017, 04:08:30 pm
Quote from: Spuds – Its referring to a table inside of your site database, so you need some way to drop that table (such as phpmyadmin  etc). 

Alternatively you can unzip the chat package and find the file remove.php ... copy that file to your site, placing it in the same directory as SSI.php (this should be the root of your site)  Then from your browser go to  http://your.site.here/remove.php ... that should drop the table its complaining about.  Then delete that file.

Looking at the addon, it should have removed that database table when you uninstalled it, so I'm not sure what happened.



Finally!! Thank you so much @Spuds  i've been trying the whole day to fix that probleme.. im still learning here :D

Now it is installed again and i have this probleme.. chatbot keep sending this particular message every four seconds.. do anyone have an idea what it's could be?
"ChatBot: Erreur : Statut de connexion: 500"

Thank you everyone for your help!
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: badmonkey on April 16, 2017, 06:17:25 pm
Are you using nginx?
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 16, 2017, 08:52:44 pm

No i dont? do i need it?
how to use it? i have no idea on that.
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: emanuele on April 17, 2017, 03:51:31 am
IIRC 500 could mean mod_security?
Are you on a shared hosting or a vsp? (The vps is not needed for elk, I'm just excluding possibilities ;))
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 17, 2017, 02:08:14 pm
Quote from: emanuele – IIRC 500 could mean mod_security?
Are you on a shared hosting or a vsp? (The vps is not needed for elk, I'm just excluding possibilities ;))

I found the solution.. i changed the permission for talk/index.php to 755 and taraaa
Thank you soooo much for your help! :D :D :D
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: emanuele on April 17, 2017, 02:29:47 pm
Permissions! :D
You have to give them permission to chat. ;)
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: Ouzrar on April 17, 2017, 02:55:15 pm
Quote from: emanuele – Permissions! :D
You have to give them permission to chat. ;)

Hahah yes i just figured it out.. it was a dumb question Lol!
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: badmonkey on April 17, 2017, 03:57:49 pm
Quote from: Ouzrar –
Quote from: badmonkey – Are you using nginx?

No i dont? do i need it?
how to use it? i have no idea on that.

Glad you have it resolved.  Not that it matters much at this point, but to answer your questions, and for the sake of anyone who may read this in the future,

It isn't required.  But I ran into a configuration issue running nginx once which gave symptoms you described.  Everything worked fine except the chat. 
Title: Re: how to embed an IRC chatroom IFrame into my forum
Post by: ahrasis on April 17, 2017, 11:25:07 pm
I thought that's why @badmonkey was asking that. :D