[BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
coyote blue
Registered User
Posts: 24
Joined: Mon Dec 15, 2008 6:19 am

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by coyote blue » Mon Dec 15, 2008 6:30 am

Also (in English), The DIY:

Log into ACP, click on the System tab, then under Module Management click on Administration Control Panel.

Then in the right frame click on General, then Server Configuration. Then add and activate the module "Ajax Chat Config".

The Chat config module will now appear on the left at the very bottom when you first log into the ACP.


Enjoy! :)

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by muggins » Mon Dec 15, 2008 2:50 pm

coyote blue, nice, thank you! :)
Muggins

gr00vytunes
Registered User
Posts: 58
Joined: Sat May 03, 2008 1:53 pm

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by gr00vytunes » Sun Dec 21, 2008 4:38 pm

I installed the files and made the edit but now I cannot log into my ACP??

(btw that was on my localhost phew!!)

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.

User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by alexanderzwei » Thu Jan 01, 2009 1:14 am

Sorry @ all!

I have forgotten, to subscribe this topic and have not seen, they are new posts here.. :evil:

New Version available!
Changes see Changelog in first post.

@gr00vytunes:
You can try to uninstall the mod and install it again.
Why this error occurs..?! I don't know!
@coyote blue:
I have added your DIY Text in install.xml.
If you did something about it, tell it.

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by muggins » Thu Jan 01, 2009 2:35 am

muggins wrote:I have looked at the mod, and I will be using it after I figure out which parts of the included chat/lib/config.php have to be added to the one I already have installed. Do not install the one included with this mod unless you wish to overwrite any customizations to your existing AJAX Chat!

I managed to edit the install.xml file and used the English stylesheet from another mod, but there are still a few lines of German in the DIY instructions that I will have to translate on-line unless some kind soul cares to translate for us here. :roll:
Please include the English install file, sir. :oops: My German is not very good.

Have you included the patches to the config.php instead of a replacement?
Muggins

User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by alexanderzwei » Thu Jan 01, 2009 11:36 am

muggins wrote: Please include the English install file, sir. :oops: My German is not very good.
Thats good! My English is not very good. :lol:

You can choose the language on the right top of the install.xml file.
The DIY Text is now available in english, too.
muggins wrote:Have you included the patches to the config.php instead of a replacement?
Sorry, but I don't know, what you mean.. :?

milplus
Registered User
Posts: 105
Joined: Thu Jun 14, 2007 11:03 am

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by milplus » Fri Jan 02, 2009 1:01 pm

alexander,


########################
## ENGLISH | ENGLISCH ##
########################
##
## Log into ACP, click on the System tab, then under Module Management click on Administration Control Panel.
## Then in the right frame click on General, then Server Configuration. Then add and activate the module "Ajax Chat Config".
## The Chat config module will now appear on the left at the very bottom when you first log into the ACP.



i followed instruction with no luck.



please give me an extended instruction on what to do step by step for getting the same window of the attachment.



please advise how really installing your chat.



do you put the ajax directory into the phpbb3 one or not?



Gruss

viktor

User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by alexanderzwei » Fri Jan 02, 2009 1:52 pm

I don't know, what you mean.
All instructions will be found in install.xml!

The directory does not matter!

I will answer only here, not in sourceforge.net, too!

Greets,
Alex

ataimoor
Registered User
Posts: 10
Joined: Sun Sep 28, 2008 7:00 pm

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by ataimoor » Sat Jan 03, 2009 1:42 am

I installed this MOD with lot of interest but it actually destroyed my board. I had to uninstall it and then got rid of lor of errors.

It needs improvements and bug fixes.

Thanks

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by muggins » Sat Jan 03, 2009 2:12 am

I posted a warning about using this!

If you do it as instructed in the mod, you will overwrite your own configuration for a working chat.

The chat/config.php included in this excellent Gedankenexperiment will trash your cookies, your logout redirect, and no doubt your whole day when your members start complaining by phone or email...

The author has not responded to my concerns: My German is terrible... :D
Muggins

User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by alexanderzwei » Sat Jan 03, 2009 4:39 am

muggins wrote:I posted a warning about using this!

If you do it as instructed in the mod, you will overwrite your own configuration for a working chat.
All your configuration for the chat will be lost and you must reconfigurate the config.
The mod works well here without problems!
muggins wrote: The chat/config.php included in this excellent Gedankenexperiment will trash your cookies, your logout redirect, and no doubt your whole day when your members start complaining by phone or email...

The author has not responded to my concerns: My German is terrible... :D
I don't know, what you mean! No cookies or logout redirect will be trashed and I don't know, why members should be complain. Your German is Terrible and my English are not the best, too.
ataimoor wrote: I installed this MOD with lot of interest but it actually destroyed my board. I had to uninstall it and then got rid of lor of errors.

It needs improvements and bug fixes.

Thanks
Sorry, I can't help you. This discription says nothing. The only thing, that will be changed in the board is the Module in the Admin Control Panel and the new tables in database.

If you want to help you, you must post more Informations about this problem.

Regards,
Alexander

coyote blue
Registered User
Posts: 24
Joined: Mon Dec 15, 2008 6:19 am

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.0

Post by coyote blue » Tue Jan 06, 2009 4:33 pm

alexanderzwei wrote: @coyote blue:
I have added your DIY Text in install.xml.
If you did something about it, tell it.
Thank you. :)

This mod works just fine on my forum. I kinda made up my own DIY there, so the placement of the module may be slightly different on my board than on yours.


Tough crowd here, huh? :lol:

coyote blue
Registered User
Posts: 24
Joined: Mon Dec 15, 2008 6:19 am

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by coyote blue » Tue Jan 06, 2009 5:15 pm

muggins wrote:I posted a warning about using this!

If you do it as instructed in the mod, you will overwrite your own configuration for a working chat.

The chat/config.php included in this excellent Gedankenexperiment will trash your cookies, your logout redirect, and no doubt your whole day when your members start complaining by phone or email...

The author has not responded to my concerns: My German is terrible... :D
It didn't do anything like that to my board. If you don't want to overwrite your AJAX Chat config.php here are the instructions for doing manual file edits. I checked it and double-checked it, so it should work. In fact, that's how I installed it on my board instead of uploading the supplied config.php, though I hadn't taken the time to write out instructions until now. If it doesn't work right, let me know. Of course before you start you should back up your old files, but you already knew that, right? ;)

It's in the old-school format. It's not in XML...figure that's the author's job if he/she wants to include the instructions....

Code: Select all

#
#-------------------[ OPEN ]---------------------
#

chat/lib/config.php

#
#-------------------[ FIND ]---------------------
#

// Define AJAX Chat user roles:

#
#----------------[ BEFORE, ADD ]-----------------
#

global $db;

#
#-----------------[ AFTER, ADD ]-----------------
#

define('AJAX_CHAT_VIP',			6);
define('AJAX_CHAT_GMOD',		5);

#
#-------------------[ FIND ]---------------------
#

// AJAX Chat config parameters:
$config = array();

#
#-----------------[ AFTER, ADD ]-----------------
#

// Count of Loop- Runs
$loops = 30;

// SQL (AJAX Chat ACP Module © 2008 by alpa-network.de)
for($i = 1; $i <= $loops; $i++)
{
	$sql = "SELECT value, name
			FROM " . AJAX_CHAT_CONFIG . " WHERE id = '$i'";
	$result = $db->sql_query($sql);
	$row = $db->sql_fetchrow($result);
	$db->sql_freeresult($result);
	
	$configname = $row['name'];
	
	if($i != 19)
	{
		$config[$configname] = $row['value'];
	}
	else
	{
		$weekdays = explode(',', $row['value']);
		$config[$configname] = $weekdays;
	}
}

#
#-------------------[ FIND ]---------------------
#

// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = null;
// Database username:
$config['dbConnection']['user'] = null;
// Database password:
$config['dbConnection']['pass'] = null;
// Database name:
$config['dbConnection']['name'] = null;
// Database type:
$config['dbConnection']['type'] = null;
// Database link:
$config['dbConnection']['link'] = null;

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it

#
#-------------------[ FIND ]---------------------
#

// Database table names:
$config['dbTableNames'] = array();

#
#-----------------[ AFTER, ADD ]-----------------
#

$config['dbTableNames']['chatconfig']	= 'ajax_chat_config';

#
#-------------------[ FIND ]---------------------
#

// Session name used to identify the session cookie:
$config['sessionName'] = 'ajax_chat';
// Prefix added to every session key:
$config['sessionKeyPrefix'] = 'ajaxChat';
// The lifetime of the language, style and setting cookies in days:
$config['sessionCookieLifeTime'] = 365;
// The path of the cookies, '/' allows to read the cookies from all directories:
$config['sessionCookiePath'] = '/';
// The domain of the cookies, defaults to the hostname of the server if set to null:
$config['sessionCookieDomain'] = null;
// If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
$config['sessionCookieSecure'] = null;

// Default channelName used together with the defaultChannelID if no channel with this ID exists:
$config['defaultChannelName'] = 'Public';
// ChannelID used when no channel is given:
$config['defaultChannelID'] = 0;

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it


#
#-------------------[ FIND ]---------------------
#

// Enable/Disable private Channels:
$config['allowPrivateChannels'] = true;
// Enable/Disable private Messages:
$config['allowPrivateMessages'] = true;

// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['privateChannelPrefix'] = '[';
// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['privateChannelSuffix'] = ']';

// If enabled, users will be logged in automatically as guest users (if allowed), if not authenticated:
$config['forceAutoLogin'] = false;

// Defines if login/logout and channel enter/leave are displayed:
$config['showChannelMessages'] = true;

// If enabled, the chat will only be accessible for the admin:
$config['chatClosed'] = false;

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it


#
#-------------------[ FIND ]---------------------
#

// Defines the hour of the day the chat is opened (0 - closingHour):
$config['openingHour'] = 0;
// Defines the hour of the day the chat is closed (openingHour - 24):
$config['closingHour'] = 24;
// Defines the weekdays the chat is opened (0=Sunday to 6=Saturday):
$config['openingWeekDays'] = array(0,1,2,3,4,5,6);

// Enable/Disable guest logins:
$config['allowGuestLogins'] = true;
// Enable/Disable write access for guest users - if disabled, guest users may not write messages:
$config['allowGuestWrite'] = true;
// Allow/Disallow guest users to choose their own userName:
$config['allowGuestUserName'] = true;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['guestUserPrefix'] = '(';
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['guestUserSuffix'] = ')';

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it


#
#-------------------[ FIND ]---------------------
#

// Allow/Disallow users to change their userName (Nickname):
$config['allowNickChange'] = true;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['changedNickPrefix'] = '(';
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['changedNickSuffix'] = ')';

// Allow/Disallow registered users to delete their own messages:
$config['allowUserMessageDelete'] = true;

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it


#
#-------------------[ FIND ]---------------------
#

// Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
$config['inactiveTimeout'] = 2;
// Interval in minutes to check for inactive users:
$config['inactiveCheckInterval'] = 5;

#
#---------------[ REPLACE WITH ]-------------------
# nothing...delete it


#
#--------------[ SAVE AND CLOSE ]------------------
#

Also, I'd like to point out that the install.xml file does have English instructions. They are in a dropdown menu on the upper right of the MODX file:

Image


If you follow the English DIY, your chat config module should end up here:

Image
Last edited by coyote blue on Tue Jan 06, 2009 5:22 pm, edited 1 time in total.

coyote blue
Registered User
Posts: 24
Joined: Mon Dec 15, 2008 6:19 am

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by coyote blue » Tue Jan 06, 2009 5:19 pm

milplus wrote: i followed instruction with no luck.

please give me an extended instruction on what to do step by step for getting the same window of the attachment.

please advise how really installing your chat.

do you put the ajax directory into the phpbb3 one or not?

Gruss

viktor
I'm not alexander, but I think I can answer this question...

This does not by itself add chat to your forum. This is an add-on to an already existing MOD, AJAX Chat. :)

User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

Re: [BETA] AJAX Chat ACP Module for phpBB 3 - V.0.5.1

Post by alexanderzwei » Tue Jan 06, 2009 8:09 pm

coyote blue wrote: I'm not alexander, but I think I can answer this question...

This does not by itself add chat to your forum. This is an add-on to an already existing MOD, AJAX Chat. :)
Thank you, coyote blue. I doesn't understand the question from milplus.. :D

Thank you for the instruction. But these is without function:

Code: Select all

#-----------------[ AFTER, ADD ]-----------------
#

define('AJAX_CHAT_VIP',         6);
define('AJAX_CHAT_GMOD',      5);

#
In the new version this code was removed.

The right instruction:

Code: Select all

    #
    #-------------------[ OPEN ]---------------------
    #

    chat/lib/config.php

    #
    #-------------------[ FIND ]---------------------
    #

    // Define AJAX Chat user roles:

    #
    #----------------[ BEFORE, ADD ]-----------------
    #

    global $db;

    #
    #-------------------[ FIND ]---------------------
    #

    // AJAX Chat config parameters:
    $config = array();

    #
    #-----------------[ AFTER, ADD ]-----------------
    #

    // Count of Loop- Runs
    $loops = 30;

    // SQL (AJAX Chat ACP Module © 2008 by alpa-network.de)
    for($i = 1; $i <= $loops; $i++)
    {
       $sql = "SELECT value, name
             FROM " . AJAX_CHAT_CONFIG . " WHERE id = '$i'";
       $result = $db->sql_query($sql);
       $row = $db->sql_fetchrow($result);
       $db->sql_freeresult($result);
       
       $configname = $row['name'];
       
       if($i != 19)
       {
          $config[$configname] = $row['value'];
       }
       else
       {
          $weekdays = explode(',', $row['value']);
          $config[$configname] = $weekdays;
       }
    }

    #
    #-------------------[ FIND ]---------------------
    #

    // Database connection values:
    $config['dbConnection'] = array();
    // Database hostname:
    $config['dbConnection']['host'] = null;
    // Database username:
    $config['dbConnection']['user'] = null;
    // Database password:
    $config['dbConnection']['pass'] = null;
    // Database name:
    $config['dbConnection']['name'] = null;
    // Database type:
    $config['dbConnection']['type'] = null;
    // Database link:
    $config['dbConnection']['link'] = null;

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it

    #
    #-------------------[ FIND ]---------------------
    #

    // Database table names:
    $config['dbTableNames'] = array();

    #
    #-----------------[ AFTER, ADD ]-----------------
    #

    $config['dbTableNames']['chatconfig']   = 'ajax_chat_config';

    #
    #-------------------[ FIND ]---------------------
    #

    // Session name used to identify the session cookie:
    $config['sessionName'] = 'ajax_chat';
    // Prefix added to every session key:
    $config['sessionKeyPrefix'] = 'ajaxChat';
    // The lifetime of the language, style and setting cookies in days:
    $config['sessionCookieLifeTime'] = 365;
    // The path of the cookies, '/' allows to read the cookies from all directories:
    $config['sessionCookiePath'] = '/';
    // The domain of the cookies, defaults to the hostname of the server if set to null:
    $config['sessionCookieDomain'] = null;
    // If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
    $config['sessionCookieSecure'] = null;

    // Default channelName used together with the defaultChannelID if no channel with this ID exists:
    $config['defaultChannelName'] = 'Public';
    // ChannelID used when no channel is given:
    $config['defaultChannelID'] = 0;

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it


    #
    #-------------------[ FIND ]---------------------
    #

    // Enable/Disable private Channels:
    $config['allowPrivateChannels'] = true;
    // Enable/Disable private Messages:
    $config['allowPrivateMessages'] = true;

    // Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['privateChannelPrefix'] = '[';
    // Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['privateChannelSuffix'] = ']';

    // If enabled, users will be logged in automatically as guest users (if allowed), if not authenticated:
    $config['forceAutoLogin'] = false;

    // Defines if login/logout and channel enter/leave are displayed:
    $config['showChannelMessages'] = true;

    // If enabled, the chat will only be accessible for the admin:
    $config['chatClosed'] = false;

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it


    #
    #-------------------[ FIND ]---------------------
    #

    // Defines the hour of the day the chat is opened (0 - closingHour):
    $config['openingHour'] = 0;
    // Defines the hour of the day the chat is closed (openingHour - 24):
    $config['closingHour'] = 24;
    // Defines the weekdays the chat is opened (0=Sunday to 6=Saturday):
    $config['openingWeekDays'] = array(0,1,2,3,4,5,6);

    // Enable/Disable guest logins:
    $config['allowGuestLogins'] = true;
    // Enable/Disable write access for guest users - if disabled, guest users may not write messages:
    $config['allowGuestWrite'] = true;
    // Allow/Disallow guest users to choose their own userName:
    $config['allowGuestUserName'] = true;
    // Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['guestUserPrefix'] = '(';
    // Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['guestUserSuffix'] = ')';

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it


    #
    #-------------------[ FIND ]---------------------
    #

    // Allow/Disallow users to change their userName (Nickname):
    $config['allowNickChange'] = true;
    // Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['changedNickPrefix'] = '(';
    // Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
    $config['changedNickSuffix'] = ')';

    // Allow/Disallow registered users to delete their own messages:
    $config['allowUserMessageDelete'] = true;

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it


    #
    #-------------------[ FIND ]---------------------
    #

    // Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
    $config['inactiveTimeout'] = 2;
    // Interval in minutes to check for inactive users:
    $config['inactiveCheckInterval'] = 5;

    #
    #---------------[ REPLACE WITH ]-------------------
    # nothing...delete it


    #
    #--------------[ SAVE AND CLOSE ]------------------
    #
Regards,
Alexander

Locked

Return to “[3.0.x] MODs in Development”