bbPress Plugin Browser »

Ajaxed Chat (1.0)

Download

Version: 1.0

Other Versions

Last Updated: 2009-9-29

Requires bbPress Version: 1.0 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1)

Your Rating

Author: Gautam Gupta

Ajaxed Chat adds a fast, customizable, multi-language Chat Room to your Forums and uses a simple file-system/mysql storage for messages and nicknames. It uses AJAX to smoothly refresh and display the chat zone and the nickname zone. It supports multiple rooms (/join), private messages, moderation (/kick, /ban), and more!

You can view the chat by going to http://example.com/?chat or by placing this code anywhere in your website's template: <?php if (functionexists('ajaxedchatload')) ajaxedchat_load(); ?>

This plugin uses PHPFreeChat Script. The commands which can be used in the chat room, can be viewed here.


  1. The correct code you have to put in the template is:
    <?php if (function_exists('ajaxed_chat_load')) ajaxed_chat_load(); ?>
    I don't know, but the Description section isn't showing it up properly.

    Also, if anyone had downloaded the plugin before this comment, then please download it again as I had uploaded the wrong readme for the plugin.

    Posted: 11 months ago #
  2. tobiisagoodboy

    Member

    I get the following message on each template i use and chat room never loads:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\bb-templates\MiddleBlue\header.php:2) in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\pfcuserconfig.class.php on line 25

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\bb-templates\MiddleBlue\header.php:2) in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\pfcuserconfig.class.php on line 25
    Chat loading ...
    Please wait
    Any ideas?
    I wanna use this plug in desperately.
    Yes i have the latest version of bbpress

    Posted: 10 months ago #
  3. @tobiisagoodboy
    1) Please put your template files in my-templates directory
    2) Can you tell what is there on line 2 in header.php of the MiddleBlue theme?

    Posted: 10 months ago #
  4. tobiisagoodboy

    Member

    On line no 2 it says following

    <html xmlns="http://www.w3.org/1999/xhtml"<?php bb_language_attributes( '1.1' ); ?>>

    uplodaed the files but the problem is still pending.........:P

    and yes its not only with middle blue all other templates including the default one.......

    Posted: 10 months ago #
  5. @tobiisagoodboy
    It is working with the default template, I have tried it on that template only... It means that some other plugin might be conflicting with Ajaxed Chat.
    Can you please try deactivating the plugin you have installed on your forums one by one and check if the error still exists?
    Or please paste here the list of plugins you are using.

    Posted: 10 months ago #
  6. tobiisagoodboy

    Member

    I deactivated all my plugins but this problem still persists...
    First i also thought the same thing but this thing isn't helping :(

    Posted: 10 months ago #
  7. @tobiisagoodboy
    That error should not come, atleast when you are using the default theme. Which version of bbPress are you using?

    Posted: 10 months ago #
  8. tobiisagoodboy

    Member

    I know its strange that this error come with default template with all plugins deactivated.......this is annoying:(
    Should i upload the plugin once more? :P

    i am using version 1.02 which is latest one i think.....

    Posted: 10 months ago #
  9. Hmm...
    The plugin is in the my-plugins directory right?

    Try uploading it once again.

    Posted: 10 months ago #
  10. tobiisagoodboy

    Member

    I uploaded the plugin again....
    I get more errors then previous one........................???lol........anything?

    Warning: mysql_pconnect() has been disabled for security reasons in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 150

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 151

    Warning: mysql_list_dbs(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 109

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 110

    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 115

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\containers\mysql.class.php on line 118

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\bb-templates\kakumei\header.php:11) in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\pfcuserconfig.class.php on line 25

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\bb-templates\kakumei\header.php:11) in C:\Inetpub\vhosts\segmentnext.com\httpdocs\Ali\bbpress\my-plugins\ajaxed-chat\chat\src\pfcuserconfig.class.php on line 25

    phpFreeChat cannot be initialized, please correct these errors:

    * Mysql container: create database error ''

    Posted: 10 months ago #
  11. @tobiisagoodboy
    Please try using file storage system (see the settings page)

    Posted: 10 months ago #
  12. tobiisagoodboy

    Member

    ye file storage helped but there is still one error popping up

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\segmentnext.com\httpdocs\test\bb-templates\kakumei\header.php:2) in C:\Inetpub\vhosts\segmentnext.com\httpdocs\test\my-plugins\ajaxed-chat\chat\src\pfcuserconfig.class.php on line 25

    Chat room is showing but how can i remove this error?
    It will be great help :P

    Posted: 10 months ago #
  13. @tobiisagoodboy

    Please download the development version from here and test it on your forums. If it works for you, then I will mark it as a new version else try again to fix the issue.

    OR you can modify the 25th line of ajaxed-chat/chat/src/pfcuserconfig.class.php to:
    if(session_id() == "") @session_start();
    Changed file can be seen here.

    You can see the Ajaxed Chat working on my forums here:
    http://forum.gaut.am/

    Please do tell me if it is working for you or not.

    Posted: 10 months ago #
  14. Hi,

    I am using your development version and both errors went away.

    I have a question about the chat text.

    Why is the text so far right that the last character is covered by that green dot on the very right-hand side?

    I put the <center> </center> tags around the snippet that you said place in your template and now all the text in chat is centered.

    This keeps the text away from the dot, but is there a way to have the text right justified and not hitting the dot?

    Thanks!

    Scott

    Posted: 9 months ago #
  15. Hi, there! I'm trying to use your plugin, and it gives me these errors:

    phpFreeChat cannot be initialized, please correct these errors:
    
    /var/www/vhosts/zombicidal.com/httpdocs/forums/my-plugins/ajaxed-chat/chat/src/../data/private is not writeable
    /var/www/vhosts/zombicidal.com/httpdocs/forums/my-plugins/ajaxed-chat/chat/src/../data/private/cache can't be created
    /var/www/vhosts/zombicidal.com/httpdocs/forums/my-plugins/ajaxed-chat/chat/src/../data/private/cache is not writeable
    /var/www/vhosts/zombicidal.com/httpdocs/forums/my-plugins/ajaxed-chat/chat/src/../data/private/cache is not readable
    cannot create /var/www/vhosts/zombicidal.com/httpdocs/forums/my-plugins/ajaxed-chat/chat/src/../data/public/themes/zilveer

    I've tried elevating the folder permissions to 777, but this error persists. It doesn't work on any of the provided themes. Is there something else I need to do to get the plugin to work?

    Thanks!

    Posted: 9 months ago #
  16. @honestscott
    Please explain the problem you're facing.

    @Elunah
    Try choosing MySql storage option in the settings page.

    Posted: 9 months ago #
  17. @gautam2011
    Thanks for your reply! It is currently set to the mySQL option. I tried changing to file and changing back, but it still does not seem to work.

    Posted: 9 months ago #
  18. gautam2011, nice thing but doesn't work.

    ajaxed chat plugin settings page writes "Fatal error: Call to undefined function wp_register_style() in /home/apisn/public_html/spinus.info/forum/bb-plugins/ajaxed-chat/ajaxed-chat.php on line 436"

    Chat page writes:
    Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'apisn'@'localhost' (using password: NO) in /home/apisn/public_html/spinus.info/forum/bb-plugins/ajaxed-chat/chat/src/containers/mysql.class.php on line 150

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/apisn/public_html/spinus.info/forum/bb-plugins/ajaxed-chat/chat/src/containers/mysql.class.php on line 151

    phpFreeChat cannot be initialized, please correct these errors:
    Mysql container: connect error

    I use development version of the plugin.
    WodrPress 2.6.3 & bbpress 0.9.0.2 using one database

    any ideas?

    Posted: 9 months ago #
  19. @spinus
    The plugin is not compatible with bbpress v0.9.0.2, please upgrade!
    Also the plugins you upload yourself, must be uploaded to /my-plugins/ directory and not /bb-plugins/

    @Elunah
    Then try using the File options mode, maybe that could help.

    Sorry for the late reply!

    Posted: 9 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.