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.

Chatbox - users list fail

3 posters

Go down

Chatbox - users list fail Empty Chatbox - users list fail

Post by Yassamet July 1st 2015, 11:57 pm

Forum here: http://dieperfektehetalia.forumpolish.com/
Code: PunBB
Image to help: http://screenshooter.net/102173501/qetutrj
(don't ask about our nicknames, please)

Theory tells, that on the top of list should be all administrators and moderators. As you see, there's different. 
"Austria", "Nauru" and "Turcja" are all admins. No one is "first admin" - the most important account is common for us 3. Two of admins was played with our users, some of them got "moderator status" for a few minutes or one day. The list crashed one day and now every user, that was "mod-on-a-minute" is higher, than "Austria". This account got the admin function at the latest, but later we made 2 real moderators and they are also in head, like "Nauru" and "Turcja".

How can we fix it? Maybe it's not important, but sometimes it's just irritating.
avatar
Yassamet
New Member

Posts : 2
Reputation : 1
Language : english, deutsch, polski

http://dieperfektehetalia.forumpolish.com/

Back to top Go down

Chatbox - users list fail Empty Re: Chatbox - users list fail

Post by SLGray July 2nd 2015, 3:58 am

There is really no order to the chatbox member list.


Chatbox - users list fail Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Chatbox - users list fail Empty Re: Chatbox - users list fail

Post by JScript July 10th 2015, 12:23 am

@Yassamet & @SLGray

It is true!
That's pretty interesting, is not so difficult to solve, the party responsible for the list is this:
Chatbox - users list fail Uej7oax


Edit: According to the return of the JSON chat messages, we can classify users by the level of each using the chatLevel string as marked in the image below:
Chatbox - users list fail NHSMhlU

The userLevel string refers to the global designation as follows:
0 - Members
1 - Administrators
2 - Moderators

But what I find most important is the chatLevel string because it returns the values we need to organize the list!

Well, that's basically it, there are several ways to classify, I am studying the option that will have the best performance... study

JS


Last edited by JScript on July 10th 2015, 3:45 am; edited 1 time in total (Reason for editing : More infos!)
JScript
JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Back to top

- Similar topics

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