Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Verify Minecraft Username 1.1.1 issue

Hello everyone i have an issue with Verify Minecraft Username, i checked this topic: http://vanillaforums.org/discussion/25230/verify-minecraft-username-1-1-1-does-not-work and indeed the file class.verifymcuser.plugin.php was wrong about the link, but still after editing, it still seems to be impossible to register, the js error msg under the "account" fields does not come anymore, but when i try to register i have this message: "Please enter a valid Minecraft username." at the top of the box. Any help ?

Thanks in advance !

PS: My vanilla version is: 2.0.18.10 and i've done this: http://puu.sh/6BoJ4.png

Comments

  • Options

    Can you post the file, please? Of course with the private info removed, we can figure out what your error is much faster

  • Options
    hgtonighthgtonight ∞ · New Moderator

    If you have a live site, I would be happy to debug it for you.

    I just double checked and those events should still work on 2.0.18.10

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Link here he is (he's not released yet, its a test forum.

    @ilovetech what file should i post ?

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Please disregard questions from ilovetech.

    Would you please try disabling the Countdown plugin and test again.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Ok. It's done but still the same issue

  • Options
    hgtonighthgtonight ∞ · New Moderator
    edited January 2014

    Since this is a test forum, please modify the plugin to give us some more info. Please add the following two lines after line 53 in /plugins/VerifyMCUser/class.verifymcuser.plugin.php:

    var_dump($FormPostValues);
    die();
    

    Post back and I will do some more debugging.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Like that : http://puu.sh/6CzI5.png ?
    if so, here is the result:
    http://puu.sh/6CzJz.png

  • Options
    hgtonighthgtonight ∞ · New Moderator

    I see what the issue is and am working on a fix.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    ok thanks i'm waiting for a solution

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Replace the entire EntryController_RegistrationValidation_Handler function in your plugin file with the below code.

        public function EntryController_RegisterValidation_Handler($Sender) {
          $FormValues = $Sender->Form->FormValues();
          $Username = $FormValues['Name'];
          if(file_get_contents('http://minecraft.net/haspaid.jsp?user=' . $Username) == 'false') {
            $Sender->Form->AddError('Please enter a valid Minecraft username.');
            $Sender->Render();
            exit();
          }
        }
    

    It should work, but let me know.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    It works but after clicking on "register" button, the head menu is updating with the nickname (proof that its working), and i can use the forum normaly as an user with this acount, but i have this message on the top of the registration fields: http://puu.sh/6CBie.png

  • Options
    hgtonighthgtonight ∞ · New Moderator

    That is a whole different issue. Your mail server isn't set up properly. I suggest searching the forums.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    But its akward because i have disabled the mail check :o

    Anyway thank you for your help !

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Thanks for the bug report. I bundled that fix into version 1.2 which I just released.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.