Recent content by lobanz

  1. lobanz

    XF 2.2 Prefill custom user field on registration form from query string param?

    Looking for the best way to prefill a user custom field value on the registration form from a query string param. Idea is that I have a long-ish code for them to enter and would like to put it in a QR code that I pass out on slips of paper. I'm doing this in an addon. I looked in the XF...
  2. lobanz

    XF 2.2 Deploying XF in root of a subdomain?

    Well, don't recon they do. Was nesting them because I have other domains too. But I guess they can be flat. Will ponder that.
  3. lobanz

    XF 2.2 Deploying XF in root of a subdomain?

    Newbie question. I want XF to live off the root of a subdomain like forum.mydomain.com/ instead of a URI like www.mydomain.com/forum/. My environments are all in one big area in nested dirs hooked together by .htaccess files: ├── mydomain.com │ └── www.mydomain.com │ ├── forum.mydomain.com...
  4. lobanz

    XF 2.2 How to use CAPTCHA in an addon's template?

    That did it! Where are the docs on all those <xf:things> ?
  5. lobanz

    XF 2.2 How to use CAPTCHA in an addon's template?

    OK. I can't get the captcha to show. Any ideas? Using regular user (not admin) and captchas are enabled -- showed up on referral form. Is it because I don't have an action on my form yet? <xf:title>Some title</xf:title> <xf:form> <div class="block-container"> <div...
  6. lobanz

    XF 2.2 How to use CAPTCHA in an addon's template?

    Excellent! Thank you very much for y our help. I knew there was probably something. Will this disable my submit button on the template until the captcha is solved?? How does that work? Or is it just handled on the server side with the $this->captchaIsValid()?
  7. lobanz

    XF 2.2 How to use CAPTCHA in an addon's template?

    Hi! Having a grand time developing my first addon for XF 2. Can't find anything on these in the Community forums or the docs. If they ARE there, I'd appreciate a reference. Need to use a captcha in a template. Didn't see any <xf:captcha> or macro available. Any guidance on how to best do this...
  8. lobanz

    XF 2.2 How run addon code when user registration is complete and/or approved

    Thanks! I ended up extending XF\Service\User\Registration.sendRegistrationContact(). Couldn't get it to breakpoint in RegistrationComplete. Don't know how to detect when the registration is approved. Don't need that at this point though. Now I need to figure out how to add a custom user...
  9. lobanz

    XF 2.2 How run addon code when user registration is complete and/or approved

    First addon. Read the docs, watched the videos. Loving it so far. Need to run some code in my addon when the user registration is complete. This code needs to remove (or blank out) a custom user field that was required at registration (and validated via a Validator in my addon) (or blank it...
Top