how do i make it so users need to be approved first before other users can see any of their threads.

Moved Technical Support

Suggested Topics

  • 0 Votes
    2 Posts

    Hi @Nguyễn-Bảo!

    The API call to retrieve a user by email address is actually not protected behind admin login. It is only privileged if the ACP setting to hide user email addresses is enabled:


    You should be able to use an API v3 token (generated from Settings > API Access) to make this call as an administrative user, if you are not willing to change the aforementioned option.

    I am not familiar with Python, but the equivalent cURL command using an API v3 token would be:

    curl -H "Authorization: Bearer your_bearer_token" localhost:4567/api/user/email/[email protected]

  • 0 Votes
    5 Posts

    @dogs this worked a treat - thanks. For anyone else who might be looking for something similar, here's a simple scroll to top function that you can place into your Custom JS

    // Scroll to top button $(window).on('action:ajaxify.end', function(data) { var btn = $('#btt'); $(window).scroll(function() { if ($(window).scrollTop() > 300) { btn.addClass('show'); } else { btn.removeClass('show'); } }); btn.on('click', function(e) { e.preventDefault(); $('html, body').animate({scrollTop:0}, '300'); }); })

    Then place this into your Custom Header

    <a id="btt"><i class="fas fa-chevron-up"></i></a>

    Obviously, you would need to provide some CSS to style this. An example of this can be found on

  • 0 Votes
    5 Posts

    @Brian-Rivera that's not an error, its just info

  • 0 Votes
    7 Posts

    Hey guys! Thanks for the help!

    I finally got it working. Basically, I used @PitaJ link, and also had to do a bit more research on what file I had to point ssl_certificate to.

    Thanks so much!

  • 0 Votes
    4 Posts

    @광수김 솥ㅋㅋㅋㅋㅋㅋ