[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!
Get Involved
User avatar
alexanderzwei
Registered User
Posts: 46
Joined: Mon Aug 18, 2008 3:27 pm
Location: Germany
Contact:

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

Post by alexanderzwei » Mon Nov 17, 2008 5:24 pm

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.
Last edited by alexanderzwei on Thu Jan 01, 2009 1:25 am, edited 10 times in total.

updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

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

Post by updown » Mon Nov 17, 2008 6:01 pm

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?

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

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

Post by darkonia » Mon Nov 17, 2008 6:08 pm

runs smooth and perfect without any problems.

thx for this addon, chat-live will be much easier :D
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

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

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

Post by alexanderzwei » Tue Nov 18, 2008 12:02 am

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

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10933
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

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

Post by battye » Tue Nov 18, 2008 5:50 am

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 :)
Customisations Team Member

Madburner
Registered User
Posts: 21
Joined: Sat Nov 29, 2008 12:23 pm

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

Post by Madburner » Tue Dec 02, 2008 4:40 am

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. :)

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 » Wed Dec 03, 2008 8:42 pm

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.

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

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

Post by noth » Sun Dec 14, 2008 8:34 am

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 ??

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

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

Post by satandream » Sun Dec 14, 2008 10:34 am

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

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

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

Post by satandream » Sun Dec 14, 2008 12:01 pm

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

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

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

Post by noth » Sun Dec 14, 2008 4:01 pm

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?

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

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:
Muggins

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

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

Post by satandream » Sun Dec 14, 2008 7:40 pm

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

danswano
Registered User
Posts: 273
Joined: Sun Apr 06, 2008 10:43 pm

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

Post by danswano » Sun Dec 14, 2008 9:34 pm

Is it possible to have colors option for users classes other than admin and global mod to be colorized in the chat list ?

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:23 am

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. :)

Locked

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