Activate Wordpress User by Email | JetEngine | Crocoblock

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 90

  • @ceciliatabbi4218
    @ceciliatabbi4218 Рік тому +6

    You make a lot of great tutorials and cover lots of things that other channels do not :) One of my fave subs of all time.

  • @pritampyare187
    @pritampyare187 Рік тому +1

    I am new in WordPress. Your video is very helpful. Thank you. ❤❤❤

  • @neillewis487
    @neillewis487 Рік тому

    This is a great tutorial. I wanted to add a note about a problem that I had with the query.
    If the activation code generated contains certain symbols like "#" (in my case), it will break query variable. For example if activation code generated was "12345#abcd". The query would be comparing the user meta code: "12345#abcd" to "12345"... which are not equal.
    For anyone implementing this I would suggest to stick to alphanumeric codes and remove any special characters that may break the url query variable from the wishlist code.

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      Very good observation, thanks for sharing

  • @AidanJoyce
    @AidanJoyce 8 місяців тому

    EXCELLENT - It's only a matter of time before your following significantly grows, especially if you keep make great tutorials like this. TOP CLASS JOB.
    THANK YOU SO MUCH FOR SHARING - MORE MORE MORE!!

  • @ShahbazAli-ni6bf
    @ShahbazAli-ni6bf Рік тому +3

    Record a complete tutorial how to develop dashboard like you did here please ❤️
    You are awesome 👏

    • @AidanJoyce
      @AidanJoyce 8 місяців тому

      + 1 - That would be so nice. Let's see it.
      To really top it off, it could be done with Bricks as Elememtor slowly dies.

    • @ALIMAHMA
      @ALIMAHMA 4 місяці тому

      +1 would love to see that as well

  • @dmcsrbija5799
    @dmcsrbija5799 Рік тому +1

    How to make resend activation code button?

  • @saaqisahafi1979
    @saaqisahafi1979 Рік тому

    Very good content, but something to note here is that anyone can inspect the page and check the code field value and activate any user with any email, is there a way to generate a code on user creation with a function and save in the DB without using the form builder so no one other than the user can see the code, I understand that it might not work with submit actions in formbuilder and we probably need to create a seperate function for that as well.

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      Yes you are right, the code is visible. The easiest hack is to have this code generated with hook & at the same time create user & send email but that is more complicated that's why our focus was a bit graphical approach.

  • @notarmonbuchli7457
    @notarmonbuchli7457 Рік тому +1

    Now I can stop recording :) I solved this task in precisely the same way and I was about to record a tutorial. Very well explained and easy to follow. Keep up with such great tutorials.

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      Hello, thank you for sharing your views. Would love to watch such tutorial on your channel.

    • @notarmonbuchli7457
      @notarmonbuchli7457 Рік тому

      @@MoxetKhanPK Maybe I still do it, but I had the same approach. The only difference is that I check on the login page with a custom hook if the user is verified and only if I redirect to the dashboard.

  • @momohezekieltrump6835
    @momohezekieltrump6835 Рік тому

    No joke! MO's tutorials are top rated. 💪💪💪

  • @emmanuelbarronr
    @emmanuelbarronr Рік тому +1

    Exelente, felicidades por el gran conocimiento que tienes de Jet Engine y Los Query Builders.

  • @affiafridi
    @affiafridi Рік тому +1

    published a vid in eid days. Thank you so much 😍.

  • @aymericzambo1914
    @aymericzambo1914 Рік тому

    Love your channel! You provide great insights! Thank you

  • @Art-01
    @Art-01 Рік тому +1

    Thank u so much. Please post more videos

  • @MsilikaleMsilanga
    @MsilikaleMsilanga Рік тому

    You are the BEST man, thank you for a great tutorial.

  • @rmyantilable
    @rmyantilable Рік тому

    Hello, nice to greet you, I ask you for a question or regarding a problem I have, I have a hierarchical filter with Jetsmartfilter, it works perfectly but I have the requirement that the filter selects be mandatory or that the apply filter button is not shown until they are all the select with information, have you ever had any of that? Do you have any idea how I can do it?
    Beforehand thank you very much.

  • @sandeepcv2097
    @sandeepcv2097 Рік тому

    Very nice tutorial as usual, bro 👌

  • @muhammadaslan6256
    @muhammadaslan6256 Рік тому +1

    Man keep going you do awesome work with crocoblock we need to make tutorial about building this awesome dashboard you are using.
    Which hosting you are use

  • @ALIMAHMA
    @ALIMAHMA 4 місяці тому

    How to deal with the Dynamic Visibility in Bricks Builder? can not find this option, only conditions and there is nowhere to get the Query name on Conditions.

  • @9mmxd128
    @9mmxd128 Рік тому

    Your videos very helpful 💯❤
    Please make a video on how to login without password (ex: token url login) or user a can request a code on Gmail to login with code..

  • @visualmodo
    @visualmodo Рік тому

    Truly good work!

  • @usrPtP
    @usrPtP Рік тому +2

    Awesome work dude! Super useful content as usual. My only question is regarding the activation code generation on the front end using the jquery snippet, isn’t that a security concern to be able to see the generated code in the inspector ? 😮

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +3

      Thank you, Yes it is not good practice i mentioned in the video as well. It can be done with hook as well, i might make a short video on how to do the code creation with hook instead of jquery.

    • @peculiarlifewithayo
      @peculiarlifewithayo Рік тому +2

      @MoxetKhanPK
      Have you created the video, using hook?
      Thank you for all you do.

  • @hmiqbalhussain1
    @hmiqbalhussain1 Рік тому

    Very Helpful Tutorial

  • @anthonyespino7214
    @anthonyespino7214 10 місяців тому

    Hello friend, greetings from Peru. A query which plugins or widgets you have used so that when you hover the cursor on your dashboard it shows you a popup of elements.

    • @MoxetKhanPK
      @MoxetKhanPK  10 місяців тому

      Hi this is called dropbar in jetelement

  • @YaserAlhosani
    @YaserAlhosani Рік тому +1

    Thank you!
    For those who registered but did not receive the activation email, the link expires after 48 hours and will be automatically deleted. could you guide us on how to do it?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      Yes it is possible but you might need an extra meta field which will insert the code as well as insertion time of the code, then run a cron-job with PHP which will fetch all those users who has inactive state & the datetime field is

  • @WickyDesign
    @WickyDesign Рік тому

    Great Tutorial!

  • @rewdroid
    @rewdroid Рік тому

    Super video! Please Is it possible to apply this also with woocomerce environment? or do I have to set every page that touches a registered user with dynamic visibility condition? Thank you

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      Thank you, Yes it can be done with hook to check directly with login form whether the user is active or not. If user is not active they can't login to woocommerce.

  • @gustavoruiz1097
    @gustavoruiz1097 Рік тому +1

    Excellent tutorial Moxet . One question, how do you address the activation_code in jet form with the verification page? Redirect to page?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      The code comes from an email via URL, we then fetch the code from URL and compare it in query builder whether it exists or not. If exists we make a form which has only 1 field code which is hidden and get the value from same URL.

  • @ramproshadbiswas9686
    @ramproshadbiswas9686 Рік тому

    Dear sir I also tried this same whey but not send email into user email. moreover user account create same time. Thanks for Your Video

  • @nylebroad
    @nylebroad Рік тому +1

    booking appointments user dashboard front end for user manage doctor or patient plzzz add in second part

  • @soyeb_ali
    @soyeb_ali Рік тому

    8:59 Can't they log in without activation after the user registered with a password

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      Yes they can login but they can't use your system, check at 23:32

  • @FaridBouchama
    @FaridBouchama Рік тому

    Will this add-on help me create a registration for doctors, users, and nurses? How can a user file be created when he registers?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      yes it will, there is no file in wordpress but a database entry.

  • @romaruiz2009
    @romaruiz2009 Рік тому

    Hi, Congrats for this great tutorial! Question: How update the status to True, without button "Activate My Account"? (only using Code Validations). With this, is one less step for the user...Thks, Moxet

    • @romaruiz2009
      @romaruiz2009 Рік тому

      Hi Moxet, here a little variation, about the situation I described.
      add_action('template_redirect', 'cambiar_estado_cuenta');
      function cambiar_estado_cuenta() {
      if (is_page('verifica-cuenta') && isset($_GET['code'])) {
      $activation_code = $_GET['code'];
      //Check all users who has the Unique code from URL
      $users = get_users(array('meta_key' => 'code', 'meta_value' => $code));
      if(count($users)==1){
      $user_id = $users[0]->ID;
      //Update Status Switcher to True if match
      //update_user_meta( $user_id, 'status', 'true' );
      update_user_meta( $user_id, 'estado', 'true' );
      echo "User activated successfully!";
      }else{
      echo "Invalid Request, user not found";}}
      }

  • @mojiabby
    @mojiabby Рік тому

    Very nice tutorial , how can I create a form for users to register with their mobile number instead of entering an email?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      you need to use SMS API to send sms to the user mobile with the same link, the user need to verify from a link.

    • @mojiabby
      @mojiabby Рік тому

      How can I make the email field optional?@@MoxetKhanPK

  • @Marvelteecee23
    @Marvelteecee23 Рік тому

    This is gold 🥇

  • @eaipitol
    @eaipitol Рік тому

    I have a question about a system with similar functionality.
    I need to make the user enter their name, email, and interests → Send a confirmation email → After confirming via email, they set their password to finalize account creation.
    Is it possible to do something similar?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      Yes possible, in this tutorial in step 1 we are getting password from user, in that case add a static complex password so no one can guess/login.
      In step 2 where i showed Activate Account you need to add a field for password as well and update password that time.

  • @novranaditia
    @novranaditia Рік тому

    Hi friends, can you make a tutorial for making a login OTP using Crocoblock?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      It has same concept, but you ll use 3rd party API for sending SMS

  • @baliflorent6971
    @baliflorent6971 Рік тому

    Thanks. I have two important questions.
    1- how can we make the activation code sent in the email expire in 24 hours ?
    2- if the code generated in jQuery already exists in the users table, how can we regenerate a new code for the new registered user ?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      1. You have to setup a cron job PHP file which runs every 24 hour and remove all codes from database.
      2. The sequence i used produce very unique code but even if you need in this case you need to verify with hook before sending new code.

    • @baliflorent6971
      @baliflorent6971 Рік тому

      @@MoxetKhanPK OK thanks.

  • @mdhuvobd2010
    @mdhuvobd2010 Рік тому

    Hello Mr. Moxet Khan, Do you have any paid courses for WordPress Development?

  • @FlymotionDesign
    @FlymotionDesign 10 місяців тому

    what plugin is used to differentiate user roles?

    • @MoxetKhanPK
      @MoxetKhanPK  10 місяців тому

      Its called Members i guess

    • @FlymotionDesign
      @FlymotionDesign 10 місяців тому

      @@MoxetKhanPKWhat a name the plugin? Members?

    • @FlymotionDesign
      @FlymotionDesign 10 місяців тому

      @@MoxetKhanPKMembers - Membership & User Role Editor Plugin ?

    • @MoxetKhanPK
      @MoxetKhanPK  10 місяців тому

      Yes@@FlymotionDesign

  • @bizfunnel
    @bizfunnel Рік тому

    Is there any OTP verification option with jetengine form or jetformbuilder?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      Same concept, instead of email send code via API to SMS

    • @bizfunnel
      @bizfunnel Рік тому

      @@MoxetKhanPK Thanks🙏

  • @gzmpp
    @gzmpp Рік тому

    I followed the exact steps but my form doesn't show the success message, and doesn't email the activation code. However, the user information is saved in Wordpress.

  • @mariberceritah8925
    @mariberceritah8925 Рік тому

    Hello sir, Can u create user login with google account ?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      It has ready made plugins which you can use called social logins.

    • @mariberceritah8925
      @mariberceritah8925 Рік тому

      @@MoxetKhanPK yeah, i tried it.. but does it work with the method you are using? because I want to do a little experiment

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому +1

      @@mariberceritah8925 it works with this method

    • @mariberceritah8925
      @mariberceritah8925 Рік тому

      @@MoxetKhanPK Thanks for the answer, must go on sir

    • @mariberceritah8925
      @mariberceritah8925 Рік тому

      @@MoxetKhanPK hello sir, I've tried it, but in the jetform account activation step (call hook) I can't see my user meta status has shifted to true, I've also pasted the add user activation code into my child theme, is there something I've missed?

  • @MrWLKNSN
    @MrWLKNSN Рік тому

    Nice concept, but this isn't very "secure". If you know the url, for instance if you made one account using the full flow described, you have the url so you can basically start creating as many accounts as you want without doing the actual verification from an email (aka register any email you like). If this code could somehow be created serverside instead of in the browser, it would be perfect solution!

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      I totaly understand that, the code generation must be through hook so it is processed server size, the reason i used Jquery is to demonstrate how the logic works. Thankyou for our input.

    • @MrWLKNSN
      @MrWLKNSN Рік тому

      @@MoxetKhanPK Makes sense. Are you planning on having a demo on this?

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      @@MrWLKNSN yes will cover it

    • @peculiarlifewithayo
      @peculiarlifewithayo Рік тому

      Have you made this video @MoxetKhanPK?

  • @lilian6171
    @lilian6171 Рік тому

    It makes no sence to generate the activation code in the browser.

    • @MoxetKhanPK
      @MoxetKhanPK  Рік тому

      I know, you can use form hooks as well, i can't prepare everything ready on plate; do a bit research as well.

  • @razakahmad12
    @razakahmad12 10 місяців тому +1