cotonti.com : Chat plugin - need advice https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sun, 01 Feb 2026 09:28:57 -0000 tensh The idea of last messages is to encourage somebody to open chat, not to track the conversation.]]> Thu, 18 Mrt 2010 13:59:10 -0000 rayblo Thu, 18 Mrt 2010 06:10:41 -0000 tensh
Complete feature list:

- logged-in user autologin
- last chat messages on index
- showing online users on index / in header
- guests can chat (guest username marked differently)

Added 4 hours 48 minutes later:

Now I see that this chat has some unique smileys. I'll add the automatic bbcode install as I go home.

Added 6 hours 2 minutes later:

The zip is updated.

Added:
- sed_parse chat messages
- added smiley bbcodes that are missing in clean Cotonti installation.]]>
Wo, 17 Mrt 2010 15:35:36 -0000
ez
I am very interested !!!!]]>
Wo, 17 Mrt 2010 15:34:49 -0000
tensh

Added 4 hours later:

Here you go:

ajax_chat_253.zip

Installation:

REQUIRED STEP: change the $cfg['system_dir'] in your datas/config.php to reflect the absolute path to the system folder (like: $cfg['system_dir'] = '/path/to/your/cotonti_root/system'; - note lack of "dot" at the beginning, don't forget to remove it when typing down the absolute path). Otherwise, the includes in external chat script won't work. Don't worry, it won't mess your Cotonti installation.

1. Copy the folder structure as is to the Cotonti root
2. Run COTONTI_ROOT/chat/install.php - it will install database tables. Should work okay... if not, execute the chat.sql file in your mySQL client.
3. Install plugin ajaxchat
4. Add the tags where applicable (Index and Header available out of the box)
5. Enjoy. :)

I made this chat a popup window. Guests are set to autologin, but it can be changed in chat/lib/config.php. Developers, please test if it's an okay integration. All credits to Kaan.

I added "last messages" functionality on index page.

Tip: in chat/lib/class/CustomAJAXChat, there's a function getValidLoginUserData() at the very bottom. It assigns different user roles depending on Group Level. Be sure to adjust it accordingly, both in your Cotonti administration and in this function.]]>
Wo, 17 Mrt 2010 09:09:26 -0000
rayblo Wo, 17 Mrt 2010 02:14:18 -0000 tensh Now I have to change the plugin that shows online users and it will be fully functional... Maybe I'll change config a bit...]]> Di, 16 Mrt 2010 22:51:29 -0000 ..dot.. Facebook Style jQuery Chat.]]> Di, 16 Mrt 2010 19:43:58 -0000 tensh
Fatal error: require_once() [function.require]: Failed opening required './system/xtemplate.php' (include_path='.:/usr/local/lib/php') in /home/xxx/system/functions.php on line 4926

The error comes from custom.php in /lib/ folder. I copied "chat" folder straight to seditio root.]]>
Di, 16 Mrt 2010 17:24:20 -0000
Kaan # tensh : Registration captcha doesn't work.
captcha plugin deactive]]>
Di, 16 Mrt 2010 01:52:09 -0000
scriptor ]]> Vr, 19 Feb 2010 17:44:11 -0000 tensh Vr, 19 Feb 2010 15:49:03 -0000 ez
THANKS guys]]>
Vr, 19 Feb 2010 05:46:45 -0000
Kaan # tensh : Trustmaster, the Blueimp chat looks VERY promising:
https://blueimp.net/ajax/

I have seen it in action, integrated in SMF - it's a blast! It also has a shoutbox functionality which can be added to a site.

Also, there are many integrations already done to that script (SMMF, phpBB, PunBB...) - it has a nice integration API. I would write an integration, but I think it would take me like 10x more time than you (I'm just starting OO php). Can you make an integration, Trustmaster? Just take a look at it: I think it would be easy for you, really.

(Because as I'm looking at it, I think that after a day or two I would figure it out, so judging my php skills and your skills, you would do it in no time)
Demo: http://chat.ecobytes.net/
Seditio Version: http://www.seditio-eklenti.com/page.php?id=55
Download: http://www.seditio-eklenti.com/page.php?id=55&a=dl

Added 47 seconds later:

Site login and download hotlink security active]]>
Thu, 18 Feb 2010 20:59:18 -0000
tensh https://blueimp.net/ajax/

I have seen it in action, integrated in SMF - it's a blast! It also has a shoutbox functionality which can be added to a site.

Also, there are many integrations already done to that script (SMMF, phpBB, PunBB...) - it has a nice integration API. I would write an integration, but I think it would take me like 10x more time than you (I'm just starting OO php). Can you make an integration, Trustmaster? Just take a look at it: I think it would be easy for you, really.

(Because as I'm looking at it, I think that after a day or two I would figure it out, so judging my php skills and your skills, you would do it in no time)]]>
Thu, 18 Feb 2010 15:38:36 -0000
ez ]]> Thu, 18 Feb 2010 04:03:45 -0000 Trustmaster existing chat scripts.]]> Thu, 18 Feb 2010 04:02:11 -0000 ez I was hoping for some more links... but hey any info is OK.

I probably end up making it myself... Because i did not find anything really usefull YET.]]>
Thu, 18 Feb 2010 02:31:55 -0000
tensh
Added 2 minutes later:

nevermind, found it.]]>
Wo, 17 Feb 2010 16:27:17 -0000
Trustmaster phpFreeChat integration for Seditio a while ago, which is now far out of date and does not work anymore.]]> Wo, 17 Feb 2010 05:41:58 -0000 ez
I want to create a new chat plugin, because I did not find a good one that I can use...
But before I go off and develop this huge monster.. (it is a lot off coding)

Are there any good chat plugins (I saw esclkm Mini-chat (Shoutbox), but It wasn't what I want)
I want a kind off Skype like app (With private chat's and chat rooms)

Options like:
  • friend list with online status (with colours)
  • add friends (registered users off course)
  • autocleaning table (limited chat history)
  • separate windows for chats (rooms/private)
  • only text and smilies, nothing more

Any advice/help/coments/remarks on how to build such an app is appreciated...

By the way: I do not want : irc, flash
I want plain (mean and lean) php with Ajax in the driver seat...

If I am going to continue building this app, this will be a nice one :)
I have worked out some raw details and layouts and already I am making the basic setup.

greetz]]>
Wo, 17 Feb 2010 04:49:14 -0000