Author Topic: OpenSteam: Bans and User Management System  (Read 62780 times)

0 Members and 1 Guest are viewing this topic.

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam and User Mangement System
« Reply #15 on: April 18, 2014, 08:24:30 PM »
Added permissions (groups) from the database:
Permissions | Permissions2

Will update download after all tests...

Offline Mclovin

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Hi there.
Re: OpenSteam and User Mangement System
« Reply #16 on: April 19, 2014, 12:47:08 AM »
If someone's ban has expired, does it get deleted or does it stay there?
Call me Fogell. :D

Offline Grief-Code

  • Newbie
  • *
  • Posts: 15
  • Karma: 6
  • C, C++, PHP, Project Management
    • OHSystem
Re: OpenSteam and User Mangement System
« Reply #17 on: April 19, 2014, 06:17:49 AM »
The removal is not included yet. However it doesnt count.

We may can create a ban history for users out of it, as we have on our other project we can also include penality points ;-)
There are a lot varius options we can create here.

Regards

Offline Neubivljiv

  • Newbie
  • *
  • Posts: 35
  • Karma: 7
    • OHSystem
Re: OpenSteam and User Mangement System
« Reply #18 on: April 19, 2014, 06:40:58 AM »
Ok, added option to set Group permissions, create, edit or remove group. Group superadmin can not be changed or removed.
When group is updated or removed it's also updated on all players for that group. For example, if you change group name it will be changed on all players that is in that group automatically.

group permissions

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: OpenSteam and User Mangement System
« Reply #19 on: April 19, 2014, 07:38:26 AM »
Ok, added option to set Group permissions, create, edit or remove group. Group superadmin can not be changed or removed.
When group is updated or removed it's also updated on all players for that group. For example, if you change group name it will be changed on all players that is in that group automatically.

group permissions
I'd recommend a few things with that:
  • If possible, dynamically find the permissions available (added by plugins) and add those to the permissions edit.
    • If not possible, at least allow for configs for more permissions.
    • Make the highest group (root) configurable. (YAY MORE CONFIGS)
    • #moreconfigs (rank badges).
    • Maybe more?

    Also, a question- are you guys open to pull requests? I'd love to help you out if you need it. I'm good with Bootstrap and decent with PHP, so... yeh. :P[/list][/list]
    bw81@ulysses-forums ~ % whoami
    Homepage

    Offline Grief-Code

    • Newbie
    • *
    • Posts: 15
    • Karma: 6
    • C, C++, PHP, Project Management
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #20 on: April 19, 2014, 09:47:21 AM »
    Actually we can make it configureable.

    About pull request, wait for neubs reply.
    I just can say that it is better to leave all design patterns for now.
    Im currently working on integrate all our projects on this design pattern to globalize it, as soon as you make changes it will directly influence my work, and this can mess up all my work.

    Regards


    Offline Neubivljiv

    • Newbie
    • *
    • Posts: 35
    • Karma: 7
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #21 on: April 19, 2014, 06:09:20 PM »
    Quote from: Princess Twilight Sparkle
    If possible, dynamically find the permissions available (added by plugins) and add those to the permissions edit.
    If not possible, at least allow for configs for more permissions.
    #moreconfigs (rank badges).
    There is a list of commands that are used on the server. Command list can be updated. In this way, it's possible to globally remove/add a command. I still have not figured out how privileges work (inherit from other group), because it looks like to me is not working properly or probably I'm doing wrong.
    After all, this system will be different and have the option to provide immunity for specific group, so players in that group will be immune to any command (this is just an idea, the question is whether it will actually be integrated). I really like how in old CS 1.6 privileges work (with AmxModx)...simple, very effective and useful.

    Quote from: Princess Twilight Sparkle
    Also, a question- are you guys open to pull requests? I'd love to help you out if you need it. I'm good with Bootstrap and decent with PHP, so... yeh.
    Well, that's okay, but would be better if someone who knows LuA scripting,  we already have a lot of support for php/MySQL, C++ ...however, it is good to have as much support.

    what is planned:
    - stats
    - medals/ranks/badges
    - server control (rcon commands via web...I already added server management, still not updated download).

    With relational databases and web applications possibilities are much greater.

    Offline Neubivljiv

    • Newbie
    • *
    • Posts: 35
    • Karma: 7
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #22 on: April 19, 2014, 06:21:16 PM »
    Quote from: Mclovin
    If someone's ban has expired, does it get deleted or does it stay there?
    Currently, the record stored in the database, but user is not banned (ban expired). The main reason for this is that I plan to add the number of bans for players, so we can see how many times a player has been banned. So, when the ban expired, penalty point remains.

    Offline Bytewave

    • Respected Community Member
    • Hero Member
    • *****
    • Posts: 718
    • Karma: 116
    • :)
      • My Homepage
    Re: OpenSteam and User Mangement System
    « Reply #23 on: April 19, 2014, 08:29:05 PM »
    Well, that's okay, but would be better if someone who knows LuA scripting,  we already have a lot of support for php/MySQL, C++ ...however, it is good to have as much support.
    I do know enough Lua to get by, same with PHP, CSS, and HTML. :P
    bw81@ulysses-forums ~ % whoami
    Homepage

    Offline Grief-Code

    • Newbie
    • *
    • Posts: 15
    • Karma: 6
    • C, C++, PHP, Project Management
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #24 on: April 19, 2014, 09:59:42 PM »
    As said PHP, CSS, HTML is not wanted ;-)

    Offline Bytewave

    • Respected Community Member
    • Hero Member
    • *****
    • Posts: 718
    • Karma: 116
    • :)
      • My Homepage
    Re: OpenSteam and User Mangement System
    « Reply #25 on: April 20, 2014, 05:12:55 AM »
    As said PHP, CSS, HTML is not wanted ;-)
    Well remember...
    I do know enough Lua to get by

    :P

    But anyway, meh. I'm also curious (haven't read the license yet xD): How free are we to modify the code present? I have a custom Bootstrap theme my site uses and, seeing as you guys based this on TWBS, I want to modify this to fit my site's theme. Just curious as to what extent we can go without voiding anything.
    I'll look at the license though. :P
    bw81@ulysses-forums ~ % whoami
    Homepage

    Offline Grief-Code

    • Newbie
    • *
    • Posts: 15
    • Karma: 6
    • C, C++, PHP, Project Management
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #26 on: April 20, 2014, 06:49:56 AM »
    The current license was picked due the fact that we saw from our other projects that many people using our code without leaving any kind of credits. You, Princess Twilight Sparkle, have our permission (included in the license!) to change the theme in your mind AS LONG AS you keep footer credits which definitely link to us directly. This is the general reason for this license, we want people to respect our work and keep credits. But you need also to state that this is a work in progress, we might can decide in some days to fully change the whole templating and CSS usages. If you have any further questions, do not hesitate to ask again.

    Also we have actually split our whole system to a MVC model (nearly), the idea is you can simple copy paste 'default' folder in opensteam/WEB/themes/ and simple rename it and create in this folder your whole own template. Which can be later handled as pull request.
    I know there some things which are globalized handled in inc/common.php, however I will soon start to exclude it and have it fully in the theme folder. But for this i need to finish first my other work on our other project :-)


    Edit:
    And your site is very slow.... ~25 seconds to load. Im not sure if this is my location or whatever.

    Small speedtest from global location (NY City) = 34.19s
    Tested our site once from the same location = 1.25s
    Used: http://tools.pingdom.com/fpt/

    Just as suggestion, first fix and manage your site, and then you can create a template (no offense here, just facts :-P)
    Then we should be in the process where we wont change design and further things :-)


    Best Regards,
    Grief-Code
    « Last Edit: April 20, 2014, 07:02:12 AM by Grief-Code »

    Offline Bytewave

    • Respected Community Member
    • Hero Member
    • *****
    • Posts: 718
    • Karma: 116
    • :)
      • My Homepage
    Re: OpenSteam and User Mangement System
    « Reply #27 on: April 20, 2014, 09:39:30 AM »
    -snip-
    And your site is very slow.... ~25 seconds to load. Im not sure if this is my location or whatever.
    -snip
    Hmmm... most likely location- Dallas, TX, USA (my location) gets about a 1s response time.
    EDIT: Weird- could be our host is screwing up. I'll talk to them.
    EDIT 2: Weeeeiiiirdd... this is the traceroute I'm getting using tracert in Windows...
    Code: [Select]
    Tracing route to ponypwnage.net [83.253.91.106]
    over a maximum of 100 hops:

      1     1 ms     1 ms    <1 ms  192.168.1.254
      2    22 ms    23 ms    21 ms  108-79-32-3.lightspeed.rcsntx.sbcglobal.net [108.79.32.3]
      3    23 ms    21 ms    23 ms  70.143.193.44
      4    21 ms    22 ms    22 ms  12.83.80.161
      5    25 ms    22 ms    22 ms  ggr3.dlstx.ip.att.net [12.122.138.17]
      6    26 ms    21 ms    21 ms  192.205.37.50
      7   125 ms    66 ms    66 ms  nyk-bb1-link.telia.net [213.155.133.176]
      8   149 ms   149 ms   147 ms  kbn-bb1-link.telia.net [80.91.249.25]
      9   159 ms   159 ms   159 ms  s-bb3-link.telia.net [80.91.246.106]
     10   160 ms   159 ms   159 ms  s-b5-link.telia.net [62.115.137.159]
     11   167 ms   167 ms   170 ms  comhem-ic-118784-s-b3.c.telia.net [213.248.99.86]
     12   167 ms   166 ms   166 ms  83.255.253.205
     13   191 ms   193 ms   189 ms  sv-bb-r-01-to-mx-bbr-2.comhem.se [83.255.252.52]
     14   180 ms   184 ms   185 ms  osk-bb-r-01-to-sv-bb-r-01.comhem.se [83.255.252.50]
     15   176 ms   182 ms   185 ms  83.255.251.161
     16     *        *        *     Request timed out.
     17     *        *        *     Request timed out.
     18     *        *        *     Request timed out.
     19     *        *        *     Request timed out.
     20     *        *        *     Request timed out.
     21     *        *        *     Request timed out.
     22     *        *        *     Request timed out.
     23     *        *        *     Request timed out.
     24     *        *        *     Request timed out.
     25     *        *        *     Request timed out.
     26     *        *        *     Request timed out.
     27  ^C
    --Broke here because I hit something... huh.--
    No idea what I hit around hop 16. I'll have to check with my provider on that one.
    « Last Edit: April 20, 2014, 09:50:45 AM by Princess Twilight Sparkle »
    bw81@ulysses-forums ~ % whoami
    Homepage

    Offline Bytewave

    • Respected Community Member
    • Hero Member
    • *****
    • Posts: 718
    • Karma: 116
    • :)
      • My Homepage
    Re: OpenSteam and User Mangement System
    « Reply #28 on: April 20, 2014, 09:43:21 AM »
    You, Princess Twilight Sparkle, have our permission (included in the license!) to change the theme in your mind AS LONG AS you keep footer credits which definitely link to us directly.
    -snip-
    Sweet, good to know! Thanks! :D
    bw81@ulysses-forums ~ % whoami
    Homepage

    Offline Grief-Code

    • Newbie
    • *
    • Posts: 15
    • Karma: 6
    • C, C++, PHP, Project Management
      • OHSystem
    Re: OpenSteam and User Mangement System
    « Reply #29 on: April 20, 2014, 10:39:24 AM »
    Yea I was just interested how the theme would look like, so I looked it up. I first thought its my location which occur that problem so I did a speed test. ;-)