Page 1 of 2

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

Posted: Mon Nov 17, 2008 5:24 pm
by alexanderzwei
MOD Name: AJAX Chat ACP Module
MOD Author: ALPA Network (alexanderzwei)

MOD Version: 0.5.1 BETA
MOD Description:
  • This mod adds an administration module for the AJAX chat by blueimp.net in the administration area of a phpBB3.
Supported Languages: German, English (not in install.xml)
Screenshot: Screenshot

MOD Changelog:
[Change] (V. 0.5.1 BETA): Small change in the info- file for compatibility with phpBB 3.0.4, unnecessary entries in config.php away.

MOD Download: --------------------------------------------------------------------------------------------------------

I was always pretty annoyed, to make all settings in config.php.
Then I thought to myself: "Create an ACP Module for phpBB3!"

Said than done! The first beginnings have been made.

On feedback/ opinions on the mod I would be delighted!

With the original code, OpeningHour must to be smaller than ClosingHour.
With the modified code, it works throughout the day:


Search:

Code: Select all

// Check the opening hours:
		if(($this->getConfig('openingHour') > date('G', $time)) || ($this->getConfig('closingHour') <= date('G', $time)))
			return false;
Replace with:

Code: Select all

// Check the opening hours
      if($this->getConfig('openingHour') < $this->getConfig('closingHour'))
      {
         if(($this->getConfig('openingHour') > date('G', $time)) || ($this->getConfig('closingHour') <= date('G', $time)))
            return false;
      }
      else
      {
         if(($this->getConfig('openingHour') > date('G', $time)) && ($this->getConfig('closingHour') <= date('G', $time)))
            return false;
      }

Greetings,
Alexander P.

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

Posted: Mon Nov 17, 2008 6:01 pm
by updown
Great! :idea:

What I'm still missing is a better banning-handling for chat-access, using the ajax_ban table: User's can only be banned from the chat when they are logged in the chat. Much better would be an additional ACP-Chat-Ban-System to separately define single users to not access the chat for some time or forever.

Can you think of a way to implement this?

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

Posted: Mon Nov 17, 2008 6:08 pm
by darkonia
runs smooth and perfect without any problems.

thx for this addon, chat-live will be much easier :D

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

Posted: Tue Nov 18, 2008 12:02 am
by alexanderzwei
updown wrote:Great! :idea:

What I'm still missing is a better banning-handling for chat-access, using the ajax_ban table: User's can only be banned from the chat when they are logged in the chat. Much better would be an additional ACP-Chat-Ban-System to separately define single users to not access the chat for some time or forever.

Can you think of a way to implement this?
Hey. No sorry, not in next time.
At the moment my school and my own projects are much more important. My first commercials projects are comming. And this has priority at the moment.
Perhaps there are times a long weekend or holiday, in whom I have time. ;)

Regards,
Alexander

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

Posted: Tue Nov 18, 2008 5:50 am
by battye
Hi, would you please be able to put the [BETA] at the beginning of the MOD title? It allows users to quickly see the status of the MOD when looking through the topics list.

Thanks mate :)

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

Posted: Tue Dec 02, 2008 4:40 am
by Madburner
how in the world do you install this? There is no documentation nor tutorial or readme.txt in the rar file. Can any one help getting started using this awesome mod? I've unzipped the content of the file, but where do I exactly upload them to?


Thanks. :)

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

Posted: Wed Dec 03, 2008 8:42 pm
by alexanderzwei
Madburner wrote:how in the world do you install this? There is no documentation nor tutorial or readme.txt in the rar file. Can any one help getting started using this awesome mod? I've unzipped the content of the file, but where do I exactly upload them to?


Thanks. :)
You must read the install.xml with a browser.

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

Posted: Sun Dec 14, 2008 8:34 am
by noth
I tried to enstall this mod

went through all the instructions

SQL, files copied to root etc

on entering ACP I see this at the top
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
any ideas why? :(

so every time I go into my ACP I have that lot running across the top

ok

apart from that how do you RUN this mod? the url is chat/lib/config.php ??

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

Posted: Sun Dec 14, 2008 10:34 am
by satandream
I got the same error and by the way turn phpBB.com to am german site :D
I prefer english documentations in install

But hey its a beta though

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

Posted: Sun Dec 14, 2008 12:01 pm
by satandream
removed ?> and its working

but define('AJAX_CHAT_VIP', 6);

Where can i set VIP status?

And my users get logged in again after logout

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

Posted: Sun Dec 14, 2008 4:01 pm
by noth
noth wrote: apart from that how do you RUN this mod? the url is chat/lib/config.php ??
what would be the url????

Code: Select all

http://www.phpbb.com/community/chat  

Code: Select all

http://www.phpbb.com/community/ajax  

Code: Select all

http://www.phpbb.com/community/lib/config.php  

Code: Select all

http://www.phpbb.com/community/info_acp_chat.php  
ANY CLUES? what do you do TO RUN IT??????
satandream wrote:removed ?> and its working
GREAT!!! is that supposed to happen?

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

Posted: Sun Dec 14, 2008 7:15 pm
by muggins
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:

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

Posted: Sun Dec 14, 2008 7:40 pm
by satandream
Yes i have some sites that counts online users in our chat.
With this config nothing showed up on these sites.
We do provide support for these sites

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

Posted: Sun Dec 14, 2008 9:34 pm
by danswano
Is it possible to have colors option for users classes other than admin and global mod to be colorized in the chat list ?

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

Posted: Mon Dec 15, 2008 6:23 am
by coyote blue
noth wrote:[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /language/en/mods/info_acp_ajax_chat_config.php:80)

Open:

language/en/mods/info_acp_ajax_chat_config.php

Find:

?>

And remove the extra space after the closing php tag. :)