Admin modules aren’t working properly.

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Admin modules aren’t working properly.

      Hello there,
      In 2moons script 1.8v and 2.0v, modules page of the admin panel doesn’t work except fleet flights. For example, when I want to inactivate buildings, even if they become inactive in the admin panel, they remain active in the overview. However, they were all working properly in 2moons 1.7v. I'd be appreciated if you can help me.
    • they should be working well, may the irritation is cause they are only deactivated for the users but the admin still sees them
      if you log in as user you will probably see them deactivated(not in the menu anymore)

      if you as admin also dont want to see the deactivated moduls you can change line 343 of /includes/GeneralFunctions.php

      PHP Source Code: /includes/GeneralFunctions.php

      1. return $modules[$ID] == 1 || (isset($USER['authlevel']) && $USER['authlevel'] > AUTH_USR);

      to

      PHP Source Code: includes/GeneralFunctions.php

      1. return $modules[$ID] == 1;