Recent content by Voltz

  1. V

    XF 2.0 Modifying Registration

    @S Thomas sorry to bother you again, do you have any idea how to check if there was any error it seems that if you enter a valid code however if you get another error example invalid email or user name too short then it will still run the callback check i'm not too sure how I would check for an...
  2. V

    XF 2.0 Modifying Registration

    /* Check if callback is being called from admin controller */ if ($app->container()->__get('app.defaultType') === 'admin' || $app->container()->__get('app.classType') === 'Admin') { return true; } This worked thank you for all your help you're great
  3. V

    XF 2.0 Modifying Registration

    How can I check if is from the admin controller in the callback? (Sorry just started doing stuff with XenForo)
  4. V

    XF 2.0 Modifying Registration

    @S Thomas hey again, is there a way to prevent the callback from interfering with editing the user for example when I go to edit a user, also is there a way to create the custom user field on install I've found examples of doing it with Xenforo 1 but not 2
  5. V

    XF 2.0 Modifying Registration

    Yeah I got it working thanks!
  6. V

    XF 2.0 Modifying Registration

    I've tried using the namespace like the way you would setup your controllers, do I have to use file path? EDIT: I somehow got it to work no clue what happened but it is now working, im actually confused why it is now working, thanks for the help!
  7. V

    XF 2.0 Modifying Registration

    @S Thomas Hey, I'm currently having a problem when I'm trying to setup the callback it keeps giving me an error Callback Voltz\Invitation\InvitationCallback::validate is invalid (error_invalid_class). I've tried several different things and even though it is installed it keeps saying that it...
  8. V

    XF 2.0 Modifying Registration

    I will try this out later thank you!
  9. V

    XF 2.0 Modifying Registration

    Hello everyone, I'm currently working on an invitation system addon for Xenforo 2 and was wondering how I would be able to modify the registration. Basically so in order to register on the forums you need to input a invitation code generated by an admin / user
Back
Top Bottom