[RC] Ajax Chat

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

[RC] Ajax Chat

Post by spaceace » Sun Jan 04, 2015 11:20 pm

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 ;)
Last edited by spaceace on Tue Mar 28, 2017 9:20 pm, edited 65 times in total.

Midway
Registered User
Posts: 8
Joined: Tue Dec 09, 2014 8:02 pm

Re: [DEV] Ajax Chat

Post by Midway » Mon Jan 05, 2015 12:24 am

Good news and thinks for this tchat spaceace ;)

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Mon Jan 05, 2015 1:03 am

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 ;)

Holger
Registered User
Posts: 1566
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Ajax Chat

Post by Holger » Mon Jan 05, 2015 10:49 am

Subscribed

Maybe skip the sound :D
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Mon Jan 05, 2015 12:07 pm

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

mrgtb
Registered User
Posts: 470
Joined: Wed Oct 03, 2007 10:51 am

Re: [DEV] Ajax Chat

Post by mrgtb » Mon Jan 05, 2015 12:11 pm

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.

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Mon Jan 05, 2015 12:44 pm

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

Insost-2
Registered User
Posts: 8
Joined: Fri Jan 02, 2015 10:43 am

Re: [DEV] Ajax Chat

Post by Insost-2 » Mon Jan 05, 2015 2:42 pm

The only reason I'm not updating to 3.1.2 is Ajax chat...
good luck with the development :mrgreen:

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Mon Jan 05, 2015 10:24 pm

first post updated with a demo site ;)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20032
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [DEV] Ajax Chat

Post by RMcGirr83 » Tue Jan 06, 2015 2:55 am

TypeError: document.getElementById(...) is null
last_time = results[3];
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Tue Jan 06, 2015 3:02 am

RMcGirr83 wrote:
TypeError: document.getElementById(...) is null
last_time = results[3];
a little more info please. where and how did you cause it?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20032
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [DEV] Ajax Chat

Post by RMcGirr83 » Tue Jan 06, 2015 3:13 am

I visited the link given in your first post. That's all.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Tue Jan 06, 2015 3:18 am

and where do you see the error? it's hard to fix things when there is not enough information given ;)

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Tue Jan 06, 2015 3:24 am

RMcGirr83 wrote:I visited the link given in your first post. That's all.
nevermind... i found it

User avatar
spaceace
Registered User
Posts: 1716
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] Ajax Chat

Post by spaceace » Tue Jan 06, 2015 6:42 pm

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:

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Holger, Mohammed AlSarsawi, Sniper_E and 30 guests

cron