The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

New chat box, a brief analysis!

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

View previous topic View next topic Go down

New chat box, a brief analysis!

Post by JScript on February 5th 2015, 2: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: http://help.forumotion.com/t139068-add-your-avatar-into-the-chatbox

Anyone want to comment something?

JS


Last edited by JScript on February 17th 2015, 9:09 am; edited 1 time in total

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down


Re: New chat box, a brief analysis!

Post by JScript on June 7th 2015, 8:12 pm

@Black-Shadow & @FrOsTyXi

1. System Message [Custom message by Adm/mod]
2. Warning Message [Custom message by Adm/mod]
3. Automated Message Filtering on External Links
4. Members connected to chatbox while they are connected to forum

Coming soon,

JS

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Re: New chat box, a brief analysis!

Post by FrOsTyXi on June 7th 2015, 8:17 pm

@JScript thank you sir I can not wait!!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: New chat box, a brief analysis!

Post by Van-Helsing on June 7th 2015, 9:31 pm

Thank you @JScript,
We are waiting the new update soon.

Best Regards,
Black-Shadow

@JScript is there a new available update releated with topic http://help.forumotion.com/t138790p90-new-chat-box-a-brief-analysis#960693 ?

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: New chat box, a brief analysis!

Post by Van-Helsing on July 29th 2015, 12:43 am

Hello @JScript,
Is there a new update available?

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: New chat box, a brief analysis!

Post by JScript on July 29th 2015, 2:27 am

Black-Shadow wrote:Hello @JScript,
Is there a new update available?
Yes, I have finished these and other changes, but I only post when I complete all tests! Source Code

JS

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Re: New chat box, a brief analysis!

Post by mist3r0us_b0y on January 12th 2016, 10:23 am

any update on this sir still waiting for this hmmm

thanks

mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

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

View previous topic View next topic Back to top


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