The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

New chat box, a brief analysis!

+11
Carmelo Taylor
smurfavr
FrOsTyXi
Van-Helsing
smejker
Daemon
CovalentBond
Niko
Tonight
Eugeo Igvalt
JScript
15 posters

Page 2 of 4 Previous  1, 2, 3, 4  Next

Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty New chat box, a brief analysis!

Post by JScript Thu Feb 05, 2015 1:17 pm

First topic message reminder :

Hello everybody!

I've been checking how is the current structure of response of this new version of the chatbox and I was surprised with the content that is now in JSON format !!!

That's right, now more professional and with that we have to make sure that the avatar in posts is closer than we think ...

Look beneath the format returned by the function initListening():
Code:

{
    "url": "http:\/\/f36.dnspro.org\/sub\/cb.366bc21",
    "lastModified": "Thu, 05 Feb 2015 12:23:56 GMT",
    "tag": "0"
}

Now see the return of the url http://f36.dnspro.org/sub/cb.366bc21 <- this end I think it's on my forum...
Code:

{
    "channel": "cb.366bc21",
    "text": "init",
    "tag": "0",
    "time": "Thu, 05 Feb 2015 12:23:56 GMT"
}

And finally, the return of the posts through prototype get():
Code:

{
    "connected": true,
    "messages": [{
        "userId": "-10",
        "msg": "Messages cleared by JScript",
        "time": "1423140436",
        "username": "JScript",
        "action": "clear",
        "chat_level": null,
        "user_level": null,
        "date": "05 Feb 2015",
        "datetime": "05:47:16 05\/02\/2015"
    }, {
        "userId": "1",
        "msg": "<span style="color: #222222">Test 01<\/span>",
        "time": "1423140440",
        "username": "JScript",
        "action": "msg",
        "chat_level": "2",
        "user_level": "1",
        "date": "05 Feb 2015",
        "datetime": "05:47:20 05\/02\/2015",
        "user": {
            "color": "#000099",
            "admin": true
        }
    }],
    "users": {
        "1": {
            "online": true,
            "id": "1",
            "username": "JScript",
            "admin": true,
            "userLebel": "1",
            "chatLevel": "2",
            "color": "#000099"
        }
    }
}

Realize that is well structured and that soon we will have the avatar in the messages!
Done: https://help.forumotion.com/t139068-add-your-avatar-into-the-chatbox

Anyone want to comment something?

JS


Last edited by JScript on Tue Feb 17, 2015 8:09 am; edited 1 time in total
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down


chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Sun May 10, 2015 11:17 am

JScript wrote:
Black-Shadow wrote:Hello dear all,
The new chatbox update is not displaying/keeping the chatbox archived messages all in one place?
What do you mean?! You can post a print?

JS

Hello @JScript,
After the latest update this problem seems solved. The problem with green chatbox rules bar is still remaining it isblinking like refreshing after 4-5 seconds as we discussed it yesterday. Also I watched I cant edit/delete some staff's members and members messages from chatbox.

Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Tue May 12, 2015 1:15 am


New update:
/***
* New Chatbox pseudo commands (Beta test and staff only!)
*
* Command ------------ Explanation
* --------------------------------------------------------------------------------------------------------
* /shake ---------------- "Username" shook the chat window to catch everyone's attention!
*
*/

Download: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by FrOsTyXi Tue May 12, 2015 3:30 am

@JScript i am getting this error in the console from the update can it be fixed?

chatbox - New chat box, a brief analysis! - Page 2 Aja13
chatbox - New chat box, a brief analysis! - Page 2 Aja12

Also it is starting to take 50 page reloads to even see the chatbox

chatbox - New chat box, a brief analysis! - Page 2 Ajaja10

this is what is seen after every reload.
Regards
FrOsTyXi
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

View user profile http://team-psn.forum-board.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Tue May 12, 2015 4:14 pm

@FrOsTyXi
I have identified the reason for the problem: The code was being loaded before the jQuery library, but only on slower connections!
The error does not happening in my tests because the connection speed that I have is 150mbps of download...
When I decreases to 5mbps, I could see the error and so I made another "loader".

New update:

Download: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by FrOsTyXi Tue May 12, 2015 4:25 pm

@JScript thank you! All seems to be working fine now i will keep testing and also the console error is gone! Great work!

Regards
FrOsTyXi
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

View user profile http://team-psn.forum-board.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Tue May 12, 2015 8:08 pm

@JScript thank you nice job.  ~1~ I will test the codes the next few hours.
Is it possible to add IPB extender module hook (like ipb) which it is displaying new posts in chatbox or this make chatbox very heavy due the time to check for new posts?

Example:
chatbox - New chat box, a brief analysis! - Page 2 NlNGNa7
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Thu May 14, 2015 9:24 pm

@FrOsTyXi & @Black-Shadow

Black-Shadow, this is already being developed!


New update:

A small change allows you to have smile's window integrated into the chat window:
chatbox - New chat box, a brief analysis! - Page 2 SsrzQ1N

Download: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Thu May 14, 2015 9:57 pm

Hello @JScript,
Nice update now the smileys aren't in popup window. Another suggestion which I have is ChatBox System Message and Chatbox warning message (like shake cmd) similar avacweb's chat.
Related topic here to have an integrated chatbox;)
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Thu May 14, 2015 10:08 pm

Ok, this is quite simple to implement! Soon...


New update:
Spoiler:
So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by FrOsTyXi Thu May 14, 2015 10:56 pm

@JScript wonderful update! Working fine! I do like the idea @Black-Shadow has that would be nice!
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

View user profile http://team-psn.forum-board.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Thu May 14, 2015 11:55 pm

@JScript,
I watched some bugs after some refreshes the chatbox appearing empty


chatbox - New chat box, a brief analysis! - Page 2 WELyt1P

Why this happening? I cleared all the cookies but it still remaining the problem. Is it a loader problem? Its having two chatbox loaders active. When i removed the first loader the chatbox worked like default but the following bugs appeared:

1. The symbol @ is not substituted from the variable
2. Red/Green Messages appeared again (User Connected/Disconnected)
3. Edit/Delete buttons aren't appeared.

and I restored the previous code again.
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Fri May 15, 2015 1:30 pm

@Black-Shadow

Please, download again: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

Note: Do not change the "loaders", both are needed!

So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Fri May 15, 2015 2:19 pm

Hello @JScript,
I download it and I try it on test forum and the smileys opening in a list(which not displaying other smileys sets) and open the smileys popup simultaneously like this screenshot:


chatbox - New chat box, a brief analysis! - Page 2 ZoH51lJ
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Fri May 15, 2015 2:32 pm

@Black-Shadow
Sorry my friend, I was implementing the other smileys sets and forgot to change a line in the code!

Please, download again: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

Note: You can modify the behavior of smile's window through this variable:
// Open "smiles" in a pop up window? Default is 0 = no pop up!
smilePopUp: 0,

So long,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Fri May 15, 2015 2:45 pm

@JScript now its fixed, but is not displaying the other smileys sets in smileys dropdown menu. Another bug which i found is when I am setting the variable smilePopUp to 1 is not displaying the popup.

chatbox - New chat box, a brief analysis! - Page 2 U4xbnuM
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Fri May 22, 2015 10:43 am

I put the code but write something chatting and does not appear.



Last edited by smurfavr on Fri May 22, 2015 11:30 am; edited 1 time in total
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Fri May 22, 2015 10:54 am

Hello dear all,
@JScript is there a new update with extender?
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Fri May 22, 2015 11:17 am

smurfavr wrote:I put the code but write something chatting and does not appear.
Before adding my code, you must clear the chat messages with /cls, refresh the page and then do the test ok?

Please remove the code from your message by editing your topic
The reason is that due to the complexity it is not displayed correctly, only with download link.


@Black-Shadow
Not yet, but I'm already writing this part!

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Fri May 22, 2015 11:36 am

It does not show any change after pasting the code.It can not change the message and can not erase the writing.

chatbox - New chat box, a brief analysis! - Page 2 8128620G
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by FrOsTyXi Fri May 22, 2015 11:47 am

@JScript there is a new code?
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

View user profile http://team-psn.forum-board.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Fri May 22, 2015 12:46 pm

@smurfavr
Please create a temporary account (only with membership rights) and post here Username and password
So I can see better your problem!

@FrOsTyXi
Soon,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Fri May 22, 2015 1:21 pm

JScript wrote:@smurfavr
Please create a temporary account (only with membership rights) and post here Username and password
So I can see better your problem!

@FrOsTyXi
Soon,

JS

bisoni
123aaa

http://smurfa.bulgarianforum.net/portal
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by Van-Helsing Fri May 22, 2015 2:07 pm

@JScript can you make the chatbox code similar to your old project IPB Shoutbox or Staff's chatbox?

Another bug which I found is the auto-login is not holding the member connected to the chatbox while it is connected to the forum. After the chatbox timeout the member still disconnecting from the chatbox but it still remains connected to forum. Furthermore on the Google Chrome is not working correctly, etc after a page refresh the member is not auto-login to chatbox.
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

View user profile http://itexperts.forumgreek.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by FrOsTyXi Fri May 22, 2015 2:27 pm

@JScript thank you Please just tag me in the post.

Regards
FrOsTyXi
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

View user profile http://team-psn.forum-board.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Fri May 22, 2015 3:42 pm

@smurfavr
Your problem is simple to solve:
Your chat box is located in the /portal and in my post the placement is for In the home page!
You simply replace it with In the portal


Black-Shadow wrote:@JScript can you make the chatbox code similar to your old project IPB Shoutbox or Staff's chatbox?
Similar in what way? I guess I do not quite understand...

Black-Shadow wrote:Another bug which I found is the auto-login is not holding the member connected to the chatbox while it is connected to the forum. After the chatbox timeout the member still disconnecting from the chatbox but it still remains connected to forum. Furthermore on the Google Chrome is not working correctly, etc after a page refresh the member is not auto-login to chatbox.
Okay, I'll now try GC to check this problem!

@FrOsTyXi
OK!

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Mon May 25, 2015 9:31 am

I want to change messages should chatting, but the field is not visible writing. Another problem is with the send button. Button can not see the inscription.

chatbox - New chat box, a brief analysis! - Page 2 8134253Y
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Mon May 25, 2015 11:38 am

@smurfavr
Hello!
This is no problem with my code, but with your CSS!

Try adding the following CSS:

Link: https://help.forumotion.com/t138790p30-new-chat-box-a-brief-analysis#958529

Result: https://i.imgur.com/fyEaKqA.png

So long,

JS


Last edited by JScript on Mon May 25, 2015 4:02 pm; edited 1 time in total
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Mon May 25, 2015 12:46 pm

JScript wrote:@smurfavr
Hello!
This is no problem with my code, but with your CSS!

Try adding the following CSS:
Code:

input, select, textarea {
  color: black !important;
}

Result: https://i.imgur.com/fyEaKqA.png

So long,

JS



By adding this code I do not see what is written in the box.

psp

Problem has only gogle browser chrome. With Mozilla problem is gone. Can you fix this problem?
When I use the button changes the inscriptions in the field are visible only with Mozilla browser. With chrome gogle not visible.
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by JScript Mon May 25, 2015 4:01 pm

@smurfavr
Try the following CSS:
Code:

textarea {
  color: black !important;
}
#submit_button {
  color: black !important;
}

I become to repeat: This is no problem with my code but the skin that you use!
Please stop asking support for CSS appearance in this topic ok?

Thanks,

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

View user profile http://jscript.forumeiros.com/

Back to top Go down

chatbox - New chat box, a brief analysis! - Page 2 Empty Re: New chat box, a brief analysis!

Post by smurfavr Mon May 25, 2015 4:20 pm

Problem has only gogle browser chrome. With Mozilla problem is gone. Can you fix this problem?
When I use the button changes the inscriptions in the field are visible only with Mozilla browser. With chrome gogle not visible.
I talk about it.
chatbox - New chat box, a brief analysis! - Page 2 8135083i
smurfavr
smurfavr
Active Poster

Male Posts : 1876
Reputation : 22
Language : Bulgarian

View user profile http://smurfa.bulgarianforum.net/

Back to top Go down

Page 2 of 4 Previous  1, 2, 3, 4  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum