Jump to content
  • Dunce power - As mod, kick & ban button clickable on another mod


    Atti
    • Status: Closed Priority: Trivial
    Message added by LaFleur

    We will try to improve this in HTML5. Thank you.

    This and a bugs give a look at the commands of these two moderators. A moderator with command keys from Owner. Look                                         https://prnt.sc/g816dh           https://prnt.sc/g816qp  


    Steps to reproduce bug: Step 1: 
    Step 2: 
    Step 3: 
    etc

    User Feedback

    Recommended Comments

    • Advanced Members

    Yes, these two buttons (kick and ban) shouldn't be there or useable when both users are moderators.

     

    Confirmed.

     

    Changed Priority to Priority: Trivial

    Link to comment
    Share on other sites

    • Wiki Editors

    This is related to the Dunce power.

     

    Dunce allows a moderator to dunce another moderator, hence the "Kick" menu is available. Regarding the "Ban" menu, Dunce was originally placed on that menu and it seems like the administrators have forgotten to make this option unavailable when they moved it onto "Kick".

     

    Dunce power enabled

     

    9OKj3xT.png

     

    Dunce power disabled

     

    lpI6asN.png

     

     

    • Award 3
    Link to comment
    Share on other sites

    • Advanced Members
    On 8/13/2017 at 7:54 PM, Arthur said:

    This is related to the Dunce power.

     

    Dunce allows a moderator to dunce another moderator, hence the "Kick" menu is available. Regarding the "Ban" menu, Dunce was originally placed on that menu and it seems like the administrators have forgotten to make this option unavailable when they moved it onto "Kick".

     

    Dunce power enabled

     

    9OKj3xT.png

     

    Dunce power disabled

     

    lpI6asN.png

     

     

    Not only dunce, naughtystep causes this too

    Link to comment
    Share on other sites

    • Advanced Members

    Issue is caused by NaughtyStep & Dunce being treated as both a kick and ban function which they are not
    Fix:

    File: DialogActions.as

    Function: Constructor (aka DialogActions)

    Replace:
    CrLwhFONSJWkt3x7U0vBNg.png

    with

                if (bKick != undefined || this.bDunce != undefined || this.bNaughty != undefined){
                    s = xconst.ST(79);
                    Dia.kick = new xBut(Dia, (xx + 10), yy, 150, xatlib.NY(30), s, this.ViewprofileonKick, ((bKick || this.bDunce || this.bNaughty) ? 0 : (xBut.b_Grayed + xBut.b_NoPress)));
                    Dia.kick.SetRoll(xconst.ST(80));
                    Dia.kick.But.UserNo = UserNo;
                };
                if (this.bBan != undefined){
                    s = xconst.ST(81);
                    if ((((uid > -1)) && (todo.Users[uid].banned))){
                        s = xconst.ST(82);
                    };
                    Dia.ban = new xBut(Dia, (xx + 170), yy, 150, xatlib.NY(30), s, this.ViewprofileonGag, ((this.bBan) ? 0 : (xBut.b_Grayed + xBut.b_NoPress)));
                    Dia.ban.SetRoll(xconst.ST(83));
                    Dia.ban.But.UserNo = UserNo;
                };

     

    • Award 1
    Link to comment
    Share on other sites



    Guest
    This is now closed for further comments

  • Priority Definitions

     

    Trivial The issue is considered low priority.

    Normal This is the default priority.

    High A feature or service is not working properly, and it impacts a lot of people. The issue should be fixed in the near future.

    Critical The issue is show-stopping, meaning that a certain feature or service is completely broken with no available workaround. The issue impacts a lot of people and requires immediate repair.

  • Status Definitions

     

    Open The issue is pending, or we are still working on the issue.

    Fixed The issue has been resolved. The fix may not be immediately noticeable and may be released in a future version or update.

    Closed This record is either not considered an issue or is better suited as a suggestion. If it is an issue, it may not be reproducible.

    Won't Fix The issue will not be fixed because it is too low in priority. The issue is very minor. The resources required to fix the issue cannot justify the benefits received from fixing the issue. This means the issue is closed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.