Jump to content

abdulqayyum

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by abdulqayyum

  1. Hy Processwire community,
    There are some problem in fileCompiler cache.
    when i change under the directory \site\templates\ it must change under the directory /site/assets/cache/FileCompiler/site/templates/
    but it does not update and functionality working with /site/assets/cache/FileCompiler/site/templates/ directory.
     
    In this case please suggest me how i clear fileCompiler cache?
    what i have to clear it manually?

    Thanks AbdulQayyum.

  2. Hy everyone,
    i am using loginRegister module for front-end user login.
    In this module user can login with Email/username, i am showing with Email. done
    but not showing Email in Forgotton Password section. there still showing with username.

    image.png.3df6f04efbea0458e963ead653f84d88.png
    i want to show Forgotton Password with Email instead username. and should reset with email.

    please help me in this section, how i can set it with Email.

    Thanks AbdulQayyum.

  3. Markup-Google-Recaptcha is not working with LoginRegister module in Forgotton Password Form.

    Here is my code
    wire-> modules -> process -> ProcessForgotPassword.php

    protected function step1_renderForm() {

            $form = $this->modules->get("InputfieldForm");
            $form->attr('action', './?forgot=1');
            $form->attr('method', 'post');
        
            $field = $this->modules->get("InputfieldText");     
            $field->attr('id+name', 'username');
            $field->attr('class', 'redesign-field forgotPassFeild');
            $field->setAttribute('placeholder', 'Username');
            $field->required = true;
            $field->label = $this->_("Forgotton Password");
            $field->description = $this->_("If you cannot remember your password to access the affiliates portal. simply provide your username in the box below and we'll send you a reset link via email.");
            $form->add($field);
             

           // Calling MarkupGoogleRecaptcha Module.
            $captcha = $modules->get("MarkupGoogleRecaptcha");

           //  rendering form with recaptcha
            $captcha->render($form);
       

            $submit = $this->modules->get("InputfieldSubmit");
            $submit->attr('id+name', 'submit_forgot');
            $form->add($submit);

            $this->session->userResetStep = 1;
             
           
    // rendering form
             $out .= $form->render();
        

            // getting captcha script
            $out .= $captcha->getScript();

            return $out;
        }


    I am following this one example.

    image.png.7b1cdeb9c21fd1ebc4b4de02b2c9a5fa.png

    please suggest me how i can show MarkupGoogleRecaptcha in forgotton password.

    Getting log error

    image.thumb.png.8b66148f602491aee74fcb6c51365bf2.png

    Thanks,
    Abdul Qayyum

  4. hello processwire community,
    i am using LoginRegister module for front-end user registration. i am facing an issue verification email not receiving while WireMailSmtp is working perfectly and user receives message

    "Thank you, a confirmation code has been emailed to you. When you receive the email, click the link it contains, or paste the confirmation code below."

    received this message in front-end but does not receive any email relevant it.

    please help me in this case how i can solve it.

    Please check screen shots for SMTP test and message which receives user.

    Thanks AbdulQayyum,

    image.png.2ee2d6ba2481fc0b2475d313afe0fad1.pngimage.png.28120c8d2a9aec60c63c5c86961401e2.png

    First screenshot SMTP test message, second when user receives message after clicking register button.

  5. Dear processwire community,
    i have a problem in loginRegister module, i could not add custom field in login and register page.
    i read from plugin documentation. they are saying.
    " By default, the email and password fields are required for both forms. You may want to add more fields. To do this, you’ll need to add fields to your “user” template. You can add fields to your user template in the admin by going to “Setup > Templates > Show system templates > user”.

    but i could not find similar scenario like “Setup > Templates > Show system templates > user”
    i can see just "Setup > Templates" not seeing "Show system templates > user" in my admin panel.

    Please help me in this case that how i can add custom field in these two page.

    Regards AbdulQayyum

    image.png.71281b4681a279737ffc5b911996edee.pngimage.png.7cb377514d86a8ee8b6f5c5a8ecc980d.png

×
×
  • Create New...