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 3 of 4 Previous  1, 2, 3, 4  Next

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 May 25th 2015, 7:15 pm

@smurfavr
See my code running on Google Chrome without any visual problem:


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

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 smurfavr on May 25th 2015, 8:40 pm

This PROBLEM can to fix WITH CSS code?

smurfavr
Active Poster

Male Posts : 1425
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: New chat box, a brief analysis!

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

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 FrOsTyXi on May 28th 2015, 1:54 pm

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


Here in this image:

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 JScript on May 28th 2015, 2:41 pm

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

Link: http://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

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 Van-Helsing on 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


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 FrOsTyXi on May 28th 2015, 3:29 pm

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

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 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?

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 Carmelo Taylor on May 31st 2015, 5:28 am

nice

Carmelo Taylor
New Member

Posts : 3
Reputation : 1
Language : American

http://imperialgangsters.boardonly.com/login

Back to top Go down

Re: New chat box, a brief analysis!

Post by Van-Helsing on 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

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.



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 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: http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

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 Van-Helsing on 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

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 FrOsTyXi on 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

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 JScript on 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

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 mpelmmc on 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.

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Re: New chat box, a brief analysis!

Post by JScript on 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: http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061 ?

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 Van-Helsing on 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

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 mpelmmc on June 1st 2015, 4:16 pm

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



In guest mode:


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.

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Re: New chat box, a brief analysis!

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

@mpelmmc
You confused the codes with the topics!

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

This one is only for FM chatbox,

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 mpelmmc on June 1st 2015, 4:32 pm

D: Sorry I'll let you my doubt in there.

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Re: New chat box, a brief analysis!

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

@JScript,
The problem with messages ids appearing again:


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 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:


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

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 Van-Helsing on 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?

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

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 Van-Helsing on 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.

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 June 1st 2015, 10:40 pm

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

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 Van-Helsing on 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

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 FrOsTyXi on 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

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 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.

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 FrOsTyXi on 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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

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

Back to top Go down

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

View previous topic View next topic Back to top


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