Activate Wordpress User by Email | JetEngine | Crocoblock

  Рет қаралды 8,022

Moxet Khan

Moxet Khan

Жыл бұрын

Today we will discuss how to activate user account in wordpress using email. We will be using JetEngine to create meta boxes for users & send email notifications with JetFormBuilder using hooks.
Code Used in Tutorial:
softemblems.com/activate-word...
Download #Elementor:
elementor.com/?ref=16401
Download #Crocoblock:
crocoblock.com/?ref=4088
Need to build dynamic websites?
softemblems.com
Follow me on Social Media
Facebook: / mxtchamkani
Instagram: / moxet
Twitter : / sokaniwaal
Track: Peruvian Woods - Dave Osorio [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Peruvian Woods - Dave Osorio | Free B...
Free Download / Stream: alplus.io/peruvian-woods

Пікірлер: 88
@ceciliatabbi4218
@ceciliatabbi4218 Жыл бұрын
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.
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
thank you
@momohezekieltrump6835
@momohezekieltrump6835 Жыл бұрын
No joke! MO's tutorials are top rated. 💪💪💪
@AidanJoyce
@AidanJoyce 2 ай бұрын
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!!
@MsilikaleMsilanga
@MsilikaleMsilanga Жыл бұрын
You are the BEST man, thank you for a great tutorial.
@pritampyare187
@pritampyare187 11 ай бұрын
I am new in WordPress. Your video is very helpful. Thank you. ❤❤❤
@aymericzambo1914
@aymericzambo1914 10 ай бұрын
Love your channel! You provide great insights! Thank you
@affiafridi
@affiafridi Жыл бұрын
published a vid in eid days. Thank you so much 😍.
@sandeepcv2097
@sandeepcv2097 Жыл бұрын
Very nice tutorial as usual, bro 👌
@visualmodo
@visualmodo Жыл бұрын
Truly good work!
@muhammadiqbalhussain1483
@muhammadiqbalhussain1483 10 ай бұрын
Very Helpful Tutorial
@WickyDesign
@WickyDesign Жыл бұрын
Great Tutorial!
@Marvelteecee23
@Marvelteecee23 11 ай бұрын
This is gold 🥇
@Art-01
@Art-01 Жыл бұрын
Thank u so much. Please post more videos
@emmanuelbarronr
@emmanuelbarronr Жыл бұрын
Exelente, felicidades por el gran conocimiento que tienes de Jet Engine y Los Query Builders.
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
Thank you
@ShahbazAli-ni6bf
@ShahbazAli-ni6bf 7 ай бұрын
Record a complete tutorial how to develop dashboard like you did here please ❤️ You are awesome 👏
@AidanJoyce
@AidanJoyce 2 ай бұрын
+ 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.
@neillewis487
@neillewis487 8 ай бұрын
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 8 ай бұрын
Very good observation, thanks for sharing
@notarmonbuchli7457
@notarmonbuchli7457 Жыл бұрын
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 Жыл бұрын
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.
@9mmxd128
@9mmxd128 10 ай бұрын
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..
@saaqisahafi1979
@saaqisahafi1979 7 ай бұрын
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 7 ай бұрын
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.
@rmyantilable
@rmyantilable 8 ай бұрын
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.
@dmcsrbija5799
@dmcsrbija5799 8 ай бұрын
How to make resend activation code button?
@usrPtP
@usrPtP Жыл бұрын
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 Жыл бұрын
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.
@cbook8387
@cbook8387 10 ай бұрын
@MoxetKhanPK Have you created the video, using hook? Thank you for all you do.
@muhammadaslan6256
@muhammadaslan6256 Жыл бұрын
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
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
Thank you, i am using cloudways hosting.
@muhammadaslan6256
@muhammadaslan6256 Жыл бұрын
@@MoxetKhanPK which plan you are using
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
@@muhammadaslan6256 50$ a month
@ramproshadbiswas9686
@ramproshadbiswas9686 9 ай бұрын
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
@anthonyespino7214
@anthonyespino7214 4 ай бұрын
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 3 ай бұрын
Hi this is called dropbar in jetelement
@gustavoruiz1097
@gustavoruiz1097 Жыл бұрын
Excellent tutorial Moxet . One question, how do you address the activation_code in jet form with the verification page? Redirect to page?
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
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.
@michalbenda9398
@michalbenda9398 11 ай бұрын
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 11 ай бұрын
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.
@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";}} }
@nylebroad2623
@nylebroad2623 Жыл бұрын
booking appointments user dashboard front end for user manage doctor or patient plzzz add in second part
@MoxetKhanPK
@MoxetKhanPK Жыл бұрын
will cover that
@FaridBouchama
@FaridBouchama 9 ай бұрын
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 9 ай бұрын
yes it will, there is no file in wordpress but a database entry.
@YaserAlhosani
@YaserAlhosani 9 ай бұрын
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 9 ай бұрын
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
@novranaditia
@novranaditia 9 ай бұрын
Hi friends, can you make a tutorial for making a login OTP using Crocoblock?
@MoxetKhanPK
@MoxetKhanPK 9 ай бұрын
It has same concept, but you ll use 3rd party API for sending SMS
@razakahmad12
@razakahmad12 3 ай бұрын
@felipepitol
@felipepitol Жыл бұрын
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.
@mojiabby
@mojiabby 7 ай бұрын
Very nice tutorial , how can I create a form for users to register with their mobile number instead of entering an email?
@MoxetKhanPK
@MoxetKhanPK 7 ай бұрын
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 7 ай бұрын
How can I make the email field optional?@@MoxetKhanPK
@mdhuvobd2010
@mdhuvobd2010 11 ай бұрын
Hello Mr. Moxet Khan, Do you have any paid courses for WordPress Development?
@MoxetKhanPK
@MoxetKhanPK 11 ай бұрын
Hello, not yet, but planning.
@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. 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.
@FlymotionDesign
@FlymotionDesign 3 ай бұрын
what plugin is used to differentiate user roles?
@MoxetKhanPK
@MoxetKhanPK 3 ай бұрын
Its called Members i guess
@FlymotionDesign
@FlymotionDesign 3 ай бұрын
@@MoxetKhanPKWhat a name the plugin? Members?
@FlymotionDesign
@FlymotionDesign 3 ай бұрын
@@MoxetKhanPKMembers - Membership & User Role Editor Plugin ?
@MoxetKhanPK
@MoxetKhanPK 3 ай бұрын
Yes@@FlymotionDesign
@bizfunnel
@bizfunnel 11 ай бұрын
Is there any OTP verification option with jetengine form or jetformbuilder?
@MoxetKhanPK
@MoxetKhanPK 11 ай бұрын
Same concept, instead of email send code via API to SMS
@bizfunnel
@bizfunnel 10 ай бұрын
@@MoxetKhanPK Thanks🙏
@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
@gzmpp
@gzmpp 11 ай бұрын
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.
@MoxetKhanPK
@MoxetKhanPK 11 ай бұрын
Please check your smtp settings.
@MrWLKNSN
@MrWLKNSN 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
@@MoxetKhanPK Makes sense. Are you planning on having a demo on this?
@MoxetKhanPK
@MoxetKhanPK 11 ай бұрын
@@MrWLKNSN yes will cover it
@cbook8387
@cbook8387 10 ай бұрын
Have you made this video @MoxetKhanPK?
@mariberceritah8925
@mariberceritah8925 11 ай бұрын
Hello sir, Can u create user login with google account ?
@MoxetKhanPK
@MoxetKhanPK 11 ай бұрын
It has ready made plugins which you can use called social logins.
@mariberceritah8925
@mariberceritah8925 11 ай бұрын
@@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 11 ай бұрын
@@mariberceritah8925 it works with this method
@mariberceritah8925
@mariberceritah8925 11 ай бұрын
@@MoxetKhanPK Thanks for the answer, must go on sir
@mariberceritah8925
@mariberceritah8925 11 ай бұрын
@@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?
@lilian6171
@lilian6171 10 ай бұрын
It makes no sence to generate the activation code in the browser.
@MoxetKhanPK
@MoxetKhanPK 10 ай бұрын
I know, you can use form hooks as well, i can't prepare everything ready on plate; do a bit research as well.
Want to make a video chat app? Watch this video for WebRTC!
1:22:35
Good Morning Developers
Рет қаралды 24 М.
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
7 Wordpress Plugins I install on all websites (2024)
15:07
Rino de Boer
Рет қаралды 275 М.
Low Price Best 👌 China Mobile 📱
0:42
Tech Official
Рет қаралды 719 М.
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 1,2 МЛН