You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a website for my teamspeak, and I've been realizing that (NEW) bans doesn't show up on my web banlist as it did before and I didn't change the code at all, it just started acting like that.
I still have an old ban that I kept that is still shown but news bans doesn't show up. tl;dr it was an invisible ban used to prevent web banlist to crash when banlist is empty, idk a bug I never resolved
As you can see there are a lot of bans that are not on the web part. Is it because of Teamspeak update? I am on version 3.7.1 now. I don't remember what was the last version that I upgraded to before but I remember I was late to update.
The code should be fine but I still share it, maybe something has to be changed since the new version.
Sorry for the late reply, not sure if you're still dealing with this.
Your code looks ok, I don't see an issue. I see in your web screenshot, a ban with id 403, but your foreach has if($ban['banid'] != 403) so I'm not sure why you see that ban.
I recommend you simplify your code to diagnose where in your code the issue is.
Start by just looping all the bans:
Hey guys,
I have a website for my teamspeak, and I've been realizing that (NEW) bans doesn't show up on my web banlist as it did before and I didn't change the code at all, it just started acting like that.
I still have an old ban that I kept that is still shown but news bans doesn't show up.
tl;dr it was an invisible ban used to prevent web banlist to crash when banlist is empty, idk a bug I never resolved
Web version:
http://prntscr.com/nu5cno
Teamspeak version:
http://prntscr.com/nu5e31
As you can see there are a lot of bans that are not on the web part. Is it because of Teamspeak update?
I am on version 3.7.1 now. I don't remember what was the last version that I upgraded to before but I remember I was late to update.
The code should be fine but I still share it, maybe something has to be changed since the new version.
Thanks :))))
The text was updated successfully, but these errors were encountered: