1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Minecraft Identity Service

Discussion in 'Add-on Releases [Archive]' started by James, May 16, 2011.

  1. James

    James Well-Known Member

    The attached file will verify that the custom user field has a valid, paid, Minecraft user.

    Download and extract the Minecraft.zip attached below.
    Upload the Minecraft folder to your /library/ folder, creating /library/Minecraft/UserField.php

    Create a custom user field as a single-line text box specifying whichever options you want at admin.php?user-fields.

    The only requirement is that the PHP callback in the "Options for Text Fields" is set to Minecraft_UserField::verifyAccountName

    You also need to create a new XenForo phrase named no_paid_minecraft_account.

    It should now work.

    Attached Files:

  2. Member 3639

    Member 3639 Active Member

    Would this just appear on peoples profiles?
  3. James

    James Well-Known Member

    Yes, but it also does extra checking to make sure that the account entered is a paid Minecraft member.

    (That's not actually my Minecraft name - just random names I was using for testing)
  4. Member 3639

    Member 3639 Active Member

    Pretty cool thanks for sharing bud :)
  5. Allan

    Allan Well-Known Member

    James, it's possible to add this service for register page ?
  6. cobra1162

    cobra1162 Active Member

    Thanks you good job :)
  7. James

    James Well-Known Member

    I'll take a look when my test install is back up.
    PoLiZe likes this.
  8. Allan

    Allan Well-Known Member

    Thank you :)
  9. PoLiZe

    PoLiZe Well-Known Member

    And how i can put that on the member info in posts.
    example, it's say true, show a little crepper icon. :p
  10. James

    James Well-Known Member

    I'm not sure if the $identities array is exposed in the member info. If it is, you can put it on :)
  11. Ablac

    Ablac Active Member

    How do i use this? Ive installed it but don't understand where it ends up on the forum?
  12. Cezz

    Cezz Well-Known Member

    It is but it isn't an array its serialised so you would need a different mod to de-serialise the array then use the correct value! (Though this may have been changed in 1.1
    James likes this.
  13. James

    James Well-Known Member

    I noticed this yesterday and decided to edit XenForo_ControllerPublic_Thread instead.
  14. Floris

    Floris Guest

    Great add-on, thanks for sharing!
    Liam23 likes this.
  15. Ablac

    Ablac Active Member

    How can we add this to the Registration page? Did anyone figure that out?
  16. mljother

    mljother Member

    Wondering this as well, thanks for the addon by the way! :)
  17. James

    James Well-Known Member

    You can use the custom profile fields to add them at registration, though you won't be able to validate whether or not they have paid.
  18. The Dark Wizard

    The Dark Wizard Well-Known Member

    How do I get this working for 1.1 beta 2? It broke ;(
  19. Forsaken

    Forsaken Well-Known Member

    Identities has been replaced with customer user fields.
  20. mljother

    mljother Member

    Hmmmm, sounds good. I am assuming this is for 1.1? Thanks ! :D

Share This Page