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.

Chatbox - users list fail

View previous topic View next topic Go down

Chatbox - users list fail

Post by Yassamet on 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.

Yassamet
New Member

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

http://dieperfektehetalia.forumpolish.com/

Back to top Go down

Re: Chatbox - users list fail

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

There is really no order to the chatbox member list.


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


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Chatbox - users list fail

Post by JScript on 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:



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:


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
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

View previous topic View next topic Back to top


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