Page 1 of 78

[CDB] Ajax Chat

Posted: Sun Jan 04, 2015 11:20 pm
by spaceace
Image

Extension Name: Ajax Chat

Extension Version: [RC] Latest BETA version is in GitHub releases
Image

Description: an ajax based chat for the forum index

Author: spaceace

Original Author: Handyman` AJAX Chat © 2007 StarTrekGuide has personally given me permission to take it over

Requirements: <---
  • phpBB 3.1.x
  • php >= 5.4 <---
Demo URL: http://www.livemembersonly.com/index.php

username - test
password - chattester

Tested on free hosts:
Altervista - http://lmoajaxchat.altervista.org/forum/index.php
The Free C-Panel - http://spaceace.thefreecpanel.com/index.php

Release Download:
Ajax Chat for phpBB 3.1.x
https://github.com/LMOspaceace/ajaxchat/releases

Features:
  • bbcode support
  • smilies support
  • avatars
  • sound
  • chat popup - popup window with only the chat
  • archive
  • yourboard.com/chat
  • users can select their own chat font colour
  • @ function - to direct a chat to a specific user
  • ACP Module - screenshot below
  • UCP options - screenshot below
  • quote function for quoting chat messages
  • edit function
Installation:
  1. Download the latest release from (https://github.com/LMOspaceace/ajaxchat/releases).
  2. Unzip the downloaded release, and change the name of the folder to `ajaxchat`.
  3. In the `ext` directory of your phpBB board, create a new directory named `spaceace` (if it does not already exist).
  4. Copy the `ajaxchat` folder to `/ext/spaceace/` (if done correctly, you'll have the main extension class at (your forum root)/ext/spaceace/ajaxchat/composer.json).
  5. Navigate in the ACP to `Customise -> Manage extensions`.
  6. Look for `Ajax Chat` under the Disabled Extensions list, and click its `Enable` link.
Update Instructions:
  1. disable the extension
  2. delete extension data
  3. delete extension files from server
  4. download latest extension files from GitHub(if you haven't already)
  5. upload new files to the server
  6. enable extension
  7. in some cases, the board cache needs to be cleared
this is exactly how i update the extension on all 4 of my test boards and it takes me about 5 minutes total to do them all. sorry, but i currently do not know of any other way at this time to make it easier. if someone knows how, please post how and i will gladly update the instructions :D

unless stated otherwise, this is how you update from one version to the next...

this extension is in BETA and i myself do not believe in having update files in the migration for that simple reason. once this gets to an RC status, then update files will start to get put in.

Notes:

this is a direct port of the phpBB 3.0.x modification that i have on my site.

Style Support:
this will only be supported on styles that are currently released in the phpBB styles database viewforum.php?f=531. depending on the style that you use, you might need to tweak the files so it looks correct for your style and this i will gladly help with. please note that even though subsilver2 is not an official style in the database, i will support it in it's basic form ;)

supported styles are now listed on the release page

Permissions: a permission system has been added ;)
please note that if you are not using the phpbb default groups that consist of Administrators, Global Moderators, and Registered Users, you will have to manually set the group permissions to use chat.

Screenshots:
to view the screenshots in full size, right-click the image and open the image in a new tab/window

Screenshots

index page
Image

chat center
Image

bbcodes and smilies open in chat
Image

font colour hold open in chat
Image

UCP settings
Image

Popup
Image

Archive
Image

ACP screens

main ACP chat settings
Image

ACP user's preferences chat settings... bottom 7 settings
Image

user permissions settings... top 4 settings. same for group permissions
Image

this will be my first extension so bear with me as i'm still learning ;)

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 12:24 am
by Midway
Good news and thinks for this tchat spaceace ;)

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 1:03 am
by spaceace
there will also be an option in the UCP to display or not display the chat for those that don't want to see it ;)

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 10:49 am
by Holger
Subscribed

Maybe skip the sound :D

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 12:07 pm
by spaceace
Holger wrote:Subscribed

Maybe skip the sound :D
an option in the UCP will be added to turn off the sound ;)

also will be adding UCP options for turning off the avatar, chat on top or bottom of the index page

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 12:11 pm
by mrgtb
Which Ajax Chat are you talking about using? Do you mean this one here.

Because if you do, then you really don't want to be integrating this with phpBB 3.1 theme, it uses W3C Strrict validation and not HTML 5, it's not responsive design and uses a different mark up than the forum ProSilver theme. I run it stand-alone because of that.

It suits integration with phpBB 3.0.x version because both use W3C Strict validation. Which it is supposed to be integrated with, not 3.1.

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 12:44 pm
by spaceace
mrgtb wrote:Which Ajax Chat are you talking about using? Do you mean this one here.

Because if you do, then you really don't want to be integrating this with phpBB 3.1 theme, it uses W3C Strrict validation and not HTML 5, it's not responsive design and uses a different mark up than the forum ProSilver theme. I run it stand-alone because of that.

It suits integration with phpBB 3.0.x version because both use W3C Strict validation. Which it is supposed to be integrated with, not 3.1.
no. this is a port of Handyman's Ajax Chat from startrekguide.com(currently down)

here's how it looks on my site right now
Image

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 2:42 pm
by Insost-2
The only reason I'm not updating to 3.1.2 is Ajax chat...
good luck with the development :mrgreen:

Re: [DEV] Ajax Chat

Posted: Mon Jan 05, 2015 10:24 pm
by spaceace
first post updated with a demo site ;)

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 2:55 am
by RMcGirr83
TypeError: document.getElementById(...) is null
last_time = results[3];

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 3:02 am
by spaceace
RMcGirr83 wrote:
TypeError: document.getElementById(...) is null
last_time = results[3];
a little more info please. where and how did you cause it?

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 3:13 am
by RMcGirr83
I visited the link given in your first post. That's all.

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 3:18 am
by spaceace
and where do you see the error? it's hard to fix things when there is not enough information given ;)

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 3:24 am
by spaceace
RMcGirr83 wrote:I visited the link given in your first post. That's all.
nevermind... i found it

Re: [DEV] Ajax Chat

Posted: Tue Jan 06, 2015 6:42 pm
by spaceace
a user pointed out yesterday that the smlies and bbcode buttons did not work. i had the permissions set wrong and that is fixed now. my bad :roll: