Recent content by kmecpp

  1. kmecpp

    XF 2.2 Page works regularly but not in modal from data-xf-click="overlay"

    @Lukas W. Inspecting the network data received when clicking on the buttons I found that when it's functioning correctly (such as when using the unmodified URL), it returns a JSON object that looks like the following: { "status": "ok", "html": { "content": "..."...
  2. kmecpp

    XF 2.2 Page works regularly but not in modal from data-xf-click="overlay"

    Using an empty string or random string or mimicing what the default registration controller does (XF:Register\Form) doesn't work either. Its the same problem. I just want to totally disable the default registration and replace it with some static HTML. If I disable user registration in the...
  3. kmecpp

    XF 2.2 Page works regularly but not in modal from data-xf-click="overlay"

    Trying to make a custom registration form but its not working in a modal (A modal does pop up but it says "Oops! We ran into some problems. Please try again later. More error details may be in the browser console.") The error displayed in the browser's console is just "PHP: (Followed by the...
  4. kmecpp

    XF 2.2 How to disable registration except through create user API?

    @Brogan The only problem with this is that it changes the registration popup form to the forum board. How do I change the route assigned to the register_form template?
  5. kmecpp

    XF 2.2 How to disable registration except through create user API?

    Okay great thanks. So if the register URL is blocked this way, user account creation is impossible without the API?
  6. kmecpp

    XF 2.2 How to disable registration except through create user API?

    I can disable account registration entirely but then I can't create them through the XenForo API either. I removed the template for registration but people and bots can still create accounts by sending requests directly to the registration system. How can I prevent people from making accounts...
  7. kmecpp

    [OzzModz] Advanced Forms [Paid]

    Conditional questions always appear underneath the question they depend on and ignore the order they are put in on the form. So there's no way to put a normal question after a conditional trigger but before its conditional questions. Can this be fixed?
  8. kmecpp

    [OzzModz] Advanced Forms [Paid]

    Still waiting on this to get fixed :( this is a blocker for me.
  9. kmecpp

    [OzzModz] Advanced Forms [Paid]

    Forum thing makes sense but it says the answer types marked with the * can only be used as conditional triggers. I'm not trying to use it as a conditional trigger, I'm trying to use it as a conditional question which I don't see why shouldn't be possible. It works fine when you first create the...
  10. kmecpp

    [OzzModz] Advanced Forms [Paid]

    Couple issues 1) Selecting answer type "None - This is a header phrase" works initially in a conditional question but then you cant save the question a second time or the conditional data will lost and is missing from the question edit page as well. 2) Is there any way to have a button that...
  11. kmecpp

    XF 2.2 External redirect on login

    Figured out a solution that I like: Just use _xfRedirect to redirect to a page on the current site like /redirect?site=myothersite and then have a controller for /redirect to map myothersite to the actual URL and redirecting with return $this->redirect(). This is also secure from the phishing...
  12. kmecpp

    XF 2.2 External redirect on login

    I have a subdomain that I'm trying to implement single sign on with XenForo. I want to give users a login link that will redirect them back to the subdomain but this doesn't seem to be possible with _xfRedirect which only accepts the current domain. Is there any way to do this without modifying...
  13. kmecpp

    XF 2.2 is_banned field missing from API response XF 2.2.1?

    Figured it out... needed to use api_bypass_permissions=1
  14. kmecpp

    XF 2.2 is_banned field missing from API response XF 2.2.1?

    Using XF 2.2.1 and the is_banned field is missing from the auth/from-session endpoint as well as the others like auth/users/{id} I tried using a superuser key as well as a user key with a superuser as the user id. All API key scopes are also enabled. What else could I be doing wrong?
  15. kmecpp

    XF 2.2 Listen for when account confirmation succeeds

    Thanks! In postSave it's just if($entity->getExistingValue('user_state') == 'email_confirm' && $entity->user_state == 'valid')
Top Bottom