New chat box, a brief analysis! - Page 3 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
+11
Carmelo Taylor
smurfavr
FrOsTyXi
Van-Helsing
smejker
Daemon
CovalentBond
Niko
Tonight
Eugeo Igvalt
JScript
15 posters

    New chat box, a brief analysis!

    JScript
    JScript
    Forumember


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

    New chat box, a brief analysis! - Page 3 Empty New chat box, a brief analysis!

    Post by JScript 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: https://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
    JScript
    Forumember


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

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

    Post by JScript May 25th 2015, 7:15 pm

    @smurfavr
    See my code running on Google Chrome without any visual problem:
    New chat box, a brief analysis! - Page 3 TgUUseM

    I'll repeat: The problem is the skin that you use on your forum!
    This skin was poorly designed!

    JS
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1883
    Reputation : 22
    Language : Bulgarian

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

    Post by smurfavr May 25th 2015, 8:40 pm

    This PROBLEM can to fix WITH CSS code?
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing May 26th 2015, 12:18 pm

    Hello @JScript,
    Is there a new update available?
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

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

    Post by FrOsTyXi May 28th 2015, 1:54 pm

    @JScript , getting this error on edit when clicking save.


    Here in this image:
    New chat box, a brief analysis! - Page 3 Captur28
    JScript
    JScript
    Forumember


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

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

    Post by JScript May 28th 2015, 2:41 pm

    @Black-Shadow
    @FrOsTyXi@
    Ok, download the current version as it fixes this problem!

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

    Note: Remember to delete messages with /cls before or after changing the code!

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing May 28th 2015, 2:52 pm

    Hello @JScript,
    Its says the file has been moved or deleted on this link help.forumotion.com/t138790-new-chat-box-a-brief-analysis#944916.Sad

    New chat box, a brief analysis! - Page 3 BlVxObv
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

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

    Post by FrOsTyXi May 28th 2015, 3:29 pm

    @JScript , Thank you kindly sir! Working good so far!

    Regards
    FrOsTyXi
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing May 28th 2015, 8:12 pm

    Hello @JScript
    Is there away to have the users connected to chatbox while are online on forum? Have you add the commands /system [msg] for system messages and /warning [msg] for custom messages?
    avatar
    Carmelo Taylor
    New Member


    Posts : 3
    Reputation : 1
    Language : American

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

    Post by Carmelo Taylor May 31st 2015, 5:28 am

    nice
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing May 31st 2015, 11:27 pm

    Hello @JScript,
    It not working correctly on mozilla firefox it is displaying again the messages id numbers after 2-3 page refreshes
    New chat box, a brief analysis! - Page 3 3PNGzTX
    and it entering in the archives mode.
    When I am pressing back to chat link it is displaying again "Member Connected/Disconnected" (Green/Red Message)

    Notice: I have done /cls after update and cleared browser's cache and cookies but the problem still remaining.


    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 2:54 pm

    @FrOsTyXi & Black-Shadow and others:

    I did some fixes and improvements in the code, try and let me know about any problems okay?

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

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 2:57 pm

    Ok @JScript,
    I will test it on next few hours and I let you know if there is problem.
    Thanks
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

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

    Post by FrOsTyXi June 1st 2015, 3:02 pm

    @JScript The code is installed and working fine so far, if any issue I will post immediately.

    Regards
    FrOsTyXi
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 3:34 pm

    OK thank you!

    I added the command /info that shows basic information of the code, with this I can know information about the used version.

    JS
    mpelmmc
    mpelmmc
    Helper
    Helper


    Male Posts : 1092
    Reputation : 170
    Language : English and Spanish

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

    Post by mpelmmc June 1st 2015, 4:03 pm

    I installed it in my forum but I'm not able to see the rest of the forums anymore why would it be? scratch

    Have to say that I only have few forums because it's my forum test.
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 4:07 pm

    @mpelmmc
    Hello!
    We can know what is your forum?
    You've followed all the guidelines of what was posted at this link: https://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061 ?

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 4:09 pm

    @JScript after timed out logout from the chatbox when I am doing refresh is not forcing auto-login function and I have set the auto-login value to 1(enabled).Sad
    But it is working when I giving the command /exit
    mpelmmc
    mpelmmc
    Helper
    Helper


    Male Posts : 1092
    Reputation : 170
    Language : English and Spanish

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

    Post by mpelmmc June 1st 2015, 4:16 pm

    Sure @JScript I did that but it looks like this in my Admin account:

    New chat box, a brief analysis! - Page 3 2f240612f1a5afc0417d2fef70ec7392

    In guest mode:
    New chat box, a brief analysis! - Page 3 E509652c79a7ff8d8714f186a72699f9

    I'll let you my link forum into the hide thing so It won't be spam. I can send you the link for PM anyways.



    The forum is in Spanish cuz I'm Spanish. I can change the language if you feel comforted.

    Thanks.
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 4:26 pm

    @mpelmmc
    You confused the codes with the topics!

    What you want is related to this topic: https://help.forumotion.com/t137294p60-project-staff-s-chatbox#927268

    This one is only for FM chatbox,

    JS
    mpelmmc
    mpelmmc
    Helper
    Helper


    Male Posts : 1092
    Reputation : 170
    Language : English and Spanish

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

    Post by mpelmmc June 1st 2015, 4:32 pm

    D: Sorry I'll let you my doubt in there.
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 4:46 pm

    @JScript,
    The problem with messages ids appearing again:

    New chat box, a brief analysis! - Page 3 U6G9ALP
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 7:08 pm

    @Black-Shadow
    Based on the fact that I did not change anything significantly in the editing of messages in code and your forum contains the following error:
    New chat box, a brief analysis! - Page 3 NzUudcN

    Then, with your forum containing errors, it is difficult to assess the problem!

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 9:00 pm

    Ok @JScript,
    I found it and remove it. What must I do now?Re-Install the chat code again or must I fix something else?
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 10:25 pm

    @Black-Shadow
    And this error persists? Interesting that does not happen in any of the four forums that I'm using at the moment!

    Try reinstalling the code, clear messages from chat ...

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 10:29 pm

    @JScript,
    Yes the error is still appearing, I cleared the chatbox and cookies, re-install the code but with no result, it was worked for a little time and now the error is back again. I cant locate where is the error now it is on and off periodically the chatbox code.
    JScript
    JScript
    Forumember


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

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

    Post by JScript June 1st 2015, 10:40 pm

    @Black-Shadow
    The temporary account you provided me is no longer active, you can make another?

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 1st 2015, 10:42 pm

    Ok @JScript I have reactivated the testing account the details are the same as pm you.

    Update:
    Hello @JScript,
    After yesterday's night little modification the chatbox working perfect and problems fixed. thumright
    Thank you.

    Is possible to add the command /system [message] and the command /warning [message](with custom background color)?
    These command are similar with command /shake.

    *[message] custom Administrator/Moderator message
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

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

    Post by FrOsTyXi June 6th 2015, 12:20 am

    @JScript we are having a issue, my admin says when she goes to edit messages she gets the undefined message in the text input line. You have a test account for my forum and as I said this has happened to a moderator and a admin, I myself do very little shout edits so I have not seen a issue. Maybe it was a glitch but not sure.

    Please do not rush to assist on this as I do not see it as a major issue at the moment, we can wait for a code update.

    I really like what @Black-Shadow is asking for with custom commands but in future updates!

    Regards
    FrOsTyXi
    Van-Helsing
    Van-Helsing
    Hyperactive


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

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

    Post by Van-Helsing June 6th 2015, 1:26 am

    Hello @FrOsTyXi,
    I think another addon chatbox function which allowing only external links to social media and youtube and rejecting all other links by displaying a message "[External links are not allowed to the chatbox]".
    I hope @JScript to include these four functions on next update:

    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

    Best Regards,
    Black-Shadow.
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

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

    Post by FrOsTyXi June 6th 2015, 4:53 am

    @Black-Shadow I love the ideas I hope it will not be too hard for @JScript to implement these into the code!

    Regards
    FrOsTyXi