[CDB] 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!
Anti-Spam Guide
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)
pjpjr6
Registered User
Posts: 9
Joined: Tue Mar 24, 2015 9:48 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by pjpjr6 »

How will this work if we're using a 3rd party theme?

Link to my forum, for example - http://www.fifthavenueforum.com/forum/index.php
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

pjpjr6 wrote:How will this work if we're using a 3rd party theme?

Link to my forum, for example - http://www.fifthavenueforum.com/forum/index.php
looks to be prosilver based and it might need some css tweaks. the only styles i add to the extension and work on are the ones that have been released by phpbb. way too many unofficial styles floating around to support them all :roll:
User avatar
Electrix
Registered User
Posts: 41
Joined: Mon Apr 13, 2015 10:21 am
Location: Czech Republic

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by Electrix »

Hi, I had problems with showing DELETE button, and I have found out, that you are using this code to display it:

Code: Select all

<!-- IF U_MCP or U_ACP -->
I'm not sure, but for certain groups (board moderators for example) this button did not show up.

So my question is, wouldn't it be better to use code like this, since we have such option in ACP?

Code: Select all

<!-- IF M_AJAXCHAT_DELETE -->
Thank you for consideration.

Edit: Someone else probably facing similar issue: viewtopic.php?f=71&t=1204095.
„Only a life lived for others is a life worthwhile.“[A. Einstein]
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

Electrix wrote:Hi, I had problems with showing DELETE button, and I have found out, that you are using this code to display it:

Code: Select all

<!-- IF U_MCP or U_ACP -->
I'm not sure, but for certain groups (board moderators for example) this button did not show up.

So my question is, wouldn't it be better to use code like this, since we have such option in ACP?

Code: Select all

<!-- IF M_AJAXCHAT_DELETE -->
Thank you for consideration.

Edit: Someone else probably facing similar issue: viewtopic.php?f=71&t=1204095.
thank you but this has already been addressed. in the next release, there is a new moderator role. board admins by default have permissions to delete but moderators have to have the role assigned or they can't delete messages
pjpjr6
Registered User
Posts: 9
Joined: Tue Mar 24, 2015 9:48 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by pjpjr6 »

spaceace wrote:
pjpjr6 wrote:How will this work if we're using a 3rd party theme?

Link to my forum, for example - http://www.fifthavenueforum.com/forum/index.php
looks to be prosilver based and it might need some css tweaks. the only styles i add to the extension and work on are the ones that have been released by phpbb. way too many unofficial styles floating around to support them all :roll:
I understand there are some things I might lose out on using a non phpbb released theme. We wanted a different look to our website. All the phpbb themes look pretty much as they always have.
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

pjpjr6 wrote:I understand there are some things I might lose out on using a non phpbb released theme. We wanted a different look to our website. All the phpbb themes look pretty much as they always have.
depending on the complexity of the style, it could be very minor changes to get things looking right. it could even drop right in as long as the template events are in place
User avatar
Electrix
Registered User
Posts: 41
Joined: Mon Apr 13, 2015 10:21 am
Location: Czech Republic

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by Electrix »

Hi spaceace, another compatiblity note (prosilver):
Inside file chat_font_colour_hold.html there is a div with ID="colour_palette". This div is styled in your ajax_chat.css file. However, its ID conflicts with the id in prosilver's template posting_buttons.html and therefore causes unwanted change to "posting" page (centering + bottom padding of color palette).

My suggestion is to change ID in your HTML, CSS and JS files to something else, for example "chat_colour_palette". Thank you for consideration.
„Only a life lived for others is a life worthwhile.“[A. Einstein]
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

Electrix wrote:Hi spaceace, another compatiblity note (prosilver):
Inside file chat_font_colour_hold.html there is a div with ID="colour_palette". This div is styled in your ajax_chat.css file. However, its ID conflicts with the id in prosilver's template posting_buttons.html and therefore causes unwanted change to "posting" page (centering + bottom padding of color palette).

My suggestion is to change ID in your HTML, CSS and JS files to something else, for example "chat_colour_palette". Thank you for consideration.
thank you for pointing that out. it will be fixed in the next release :D
lordrichy
Registered User
Posts: 34
Joined: Wed May 26, 2010 8:49 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by lordrichy »

Is it possible that an option could be implemented to allow guests the opportunity to post in the chat as well? On most sites, guests prefer to interact with the members first before committing to a registration.
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

lordrichy wrote:Is it possible that an option could be implemented to allow guests the opportunity to post in the chat as well? On most sites, guests prefer to interact with the members first before committing to a registration.
no. guest posting in chat is not something i would want to add. sorry
User avatar
Electrix
Registered User
Posts: 41
Joined: Mon Apr 13, 2015 10:21 am
Location: Czech Republic

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by Electrix »

Hello spaceace, just a brief thought - wouldn't it be nice, if the user can set in UCP to be informed about new chat messages via the notifications panel? Thanks :).
„Only a life lived for others is a life worthwhile.“[A. Einstein]
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by spaceace »

Electrix wrote:Hello spaceace, just a brief thought - wouldn't it be nice, if the user can set in UCP to be informed about new chat messages via the notifications panel? Thanks :).
just viewing the index page will do the same thing. i don't think a notification would be necessary and would just add bloat
User avatar
Electrix
Registered User
Posts: 41
Joined: Mon Apr 13, 2015 10:21 am
Location: Czech Republic

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by Electrix »

spaceace wrote:
Electrix wrote:Hello spaceace, just a brief thought - wouldn't it be nice, if the user can set in UCP to be informed about new chat messages via the notifications panel? Thanks :).
just viewing the index page will do the same thing. i don't think a notification would be necessary and would just add bloat
You're definitely right, but this goes for the boards with "show chat on index" option set to YES. Nevermind, I'll try it myself and share the final code here, if someone else would be interested.
„Only a life lived for others is a life worthwhile.“[A. Einstein]
Dridien
Registered User
Posts: 6
Joined: Mon Aug 27, 2007 12:40 am

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by Dridien »

It gives me

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Whenever I click popup or archive.

Running PHP Version 5.5.23.
cpg-at-work
Registered User
Posts: 76
Joined: Sat Sep 22, 2012 6:38 pm
Location: Germany

Re: [BETA] Ajax Chat 2.1.0-BETA

Post by cpg-at-work »

Hallo,

... and thank you for the good work!

I get this message
(using password: NO) Error-Code: 1045
when I click on "Chat Center" in my forum.
Has anyone a tipp?

Thank you
best regards
cpg

Return to “Extensions in Development”