Author Topic: Ban/Kick Reasons Don't Show to All Groups  (Read 2577 times)

0 Members and 1 Guest are viewing this topic.

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Ban/Kick Reasons Don't Show to All Groups
« on: May 19, 2014, 02:22:47 PM »
I added a lot of options to the Ban/Kick Reasons list so that my staff would have some preset reasons when banning people. However, none of my admins are able to see any of the reasons and there is no drop down menu when they go to use ban or ban id. The only way my staff has been able to see the reasons on that list is if I give their group the ability to see the server settings tab. I would like to not give my staff full access to the server settings tab in the menu though. Is there a way to let them see the reasons list without giving them full access to the server settings tab?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #1 on: May 19, 2014, 02:56:09 PM »
I've never encountered this, but have you updated ULX recently?
Not the release version, the SVN.
Out of the Garry's Mod business.

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #2 on: May 19, 2014, 03:46:23 PM »
I am using the latest release version of both ULX and ULIB. Should I upgrade to the latest SVN version instead?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #3 on: May 19, 2014, 04:30:45 PM »
It is recommended to do so- our release versions tend to get a bit out of date from time to time since we fix lots of bugs in the SVN version. :P See here for the URLs:
http://ulyssesmod.net/downloads.php
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #4 on: May 19, 2014, 05:30:28 PM »
I updated to the SVN versions of both ULX and ULIB. ULX is at version 3.62 and ULIB is at version 2.60. The problem still persists. People can only see the drop down menu that contains Reasons if the group they are a member of has access to the Server Settings GUI. However, once I give the group the ability to access the Server Settings GUI, they still can't see the drop down menu. If they try to add a new Reason to the Kick/Ban list using the Server Settings GUI, then the list will populate with all the reasons that are already in there. It's like they have to update it in order for them to see all the ones that are already there. Then if I revoke the ability to use the Server Settings GUI from their group, they go back to having no drop down menu reasons when they try to BanID or Kick someone.

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #5 on: May 19, 2014, 06:01:00 PM »
A little bit of an update after some testing. I did a clean install of ULX and ULIB using the SVN versions. I got rid of all my data files so it would only be reading from the base files that both of them come with. I joined the server and made myself a superadmin. I had access to the server settings gui and was able to see the reasons drop down menu on ban, banid, kick, and so forth. I then added myself to the admin group which does not have access to the server settings gui. The admin group was unable to see the drop down reason menu when using those commands. They can see the text box where you can put a reason, but there is no drop down menu containing the reasons stored in the ban/kick reasons file.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #6 on: May 19, 2014, 06:58:21 PM »
Interesting.. Sorry, I missed your mentioning of requiring access to server settings, so thanks for being persistent with mentioning it, and thanks for the detailed report! :)
(I'm skimming these threads too much nowadays...)

I think I have an idea of what's going on, but I'll try and verify the problem either later tonight or sometime tomorrow. It *should* be a very easy fix, so a fix should be available within an hour or two of me sitting down to look at it. I'll keep you posted!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #7 on: May 21, 2014, 09:14:48 PM »
https://github.com/Nayruden/Ulysses/commit/4ae3b74e56f19312f8afdc27316ec190ec4fbf3b

Should be fixed! The data was only being given to those who have access to xgui_svsettings, now it's given to those who have access to "ulx ban". (Technically, you could have "ulx banid" or xgui_svsettings without "ulx ban", but.. I think that's an extremely rare circumstance). Give it a whirl and let me know if it works for you :)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Ban/Kick Reasons Don't Show to All Groups
« Reply #8 on: May 21, 2014, 11:10:25 PM »
Thank you so much!! That worked like a charm!! Everything works like I wanted it to now.