1 00:00:00,000 --> 00:00:05,000 So, in the previous two videos, we've created this contact form for our Web site, 2 00:00:05,001 --> 00:00:10,001 and it's sitting here right now, and you can fill it out, and send e-mails with it. 3 00:00:10,002 --> 00:00:15,002 It's on your local computer, and those of you at least who are running WAMP, if 4 00:00:15,003 --> 00:00:19,003 you fill this out, and you try to send yourself an e-mail, you'll get an error. 5 00:00:19,004 --> 00:00:23,004 That's because your local computer is not configured to send e-mail. 6 00:00:23,005 --> 00:00:27,005 When you put this up on the server, this form will send e-mail just fine, but it's 7 00:00:27,006 --> 00:00:29,006 not going to work on your local computer. 8 00:00:29,007 --> 00:00:34,007 One of the problems, though, once we finally get this web-site out, and on a server 9 00:00:34,008 --> 00:00:39,008 is that this form is not locked down, and that pretty much anything can come 10 00:00:39,009 --> 00:00:42,009 through, and fill it out, and send e-mails, 11 00:00:42,010 --> 00:00:45,010 meaning robots, and spammers, and all kinds of other things. 12 00:00:45,011 --> 00:00:49,011 A common way that people are using these days to prevent that from happening is 13 00:00:49,012 --> 00:00:51,012 something called Captcha. 14 00:00:51,013 --> 00:00:56,013 And Captcha is a funny little code that you type in, that only humans can read 15 00:00:56,014 --> 00:01:01,014 that code, and match that to letters, whereas robots, and spammers, and so forth 16 00:01:01,015 --> 00:01:04,015 have issues with matching up the code with the letters. 17 00:01:04,016 --> 00:01:09,016 So we're going to go ahead and add one of these to the Web site, and this happens 18 00:01:09,017 --> 00:01:10,017 to be built into Joomla, 19 00:01:10,018 --> 00:01:13,018 and it's very straightforward process. 20 00:01:13,019 --> 00:01:15,019 So I'm going to show you how that works right now. 21 00:01:15,020 --> 00:01:17,020 Here inside of the back-end of Joomla, 22 00:01:17,021 --> 00:01:21,021 what I'm going to do to start with is I'm going to go to Extensions > Plug-in 23 00:01:21,022 --> 00:01:26,022 Manager, and I'm going to find the thing here called Captcha-ReCaptcha, and I'm 24 00:01:26,023 --> 00:01:28,023 going to go ahead and click on that. 25 00:01:28,024 --> 00:01:31,024 And this first screen is just going to give us some information about it, but 26 00:01:31,025 --> 00:01:35,025 one of the things that it says here in the description is that the Captcha 27 00:01:35,026 --> 00:01:39,026 plug-in is using ReCaptcha to prevent spammers, and so forth. 28 00:01:39,027 --> 00:01:42,027 And where you can get the codes that you need to make this work is at this 29 00:01:42,028 --> 00:01:43,028 address: at google.com/recaptcha. 30 00:01:43,029 --> 00:01:49,029 So I'm going to go ahead and click that link. It will open this in a new tab, 31 00:01:49,030 --> 00:01:53,030 and I would like to use this on my site, so I'm going to go ahead and click on 32 00:01:53,031 --> 00:01:56,031 that, and it will give you some information about it. 33 00:01:56,032 --> 00:02:01,032 I'm going to click on Sign up Now, and it's going to ask me for my Google login, 34 00:02:01,033 --> 00:02:07,033 so I'm going to go ahead and type that in. 35 00:02:07,034 --> 00:02:11,034 So, once I log in with my Google account, -- and hopefully you have a Google account; 36 00:02:11,035 --> 00:02:14,035 if you don't just sign up for Gmail, and you'll have a Google account that you 37 00:02:14,036 --> 00:02:16,036 can use to sign up for this service -- 38 00:02:16,037 --> 00:02:21,037 what you can do now is enter the Domain name for your Web site. This is where 39 00:02:21,038 --> 00:02:24,038 your Web site will be when it launches, and our Web site will be at 40 00:02:24,039 --> 00:02:29,039 joomla.kinetecoinc.com. 41 00:02:29,040 --> 00:02:34,040 And what I want to do is Enable this key on all domains, a global key, and then 42 00:02:34,041 --> 00:02:36,041 I'm going to say Create Key. 43 00:02:36,042 --> 00:02:39,042 And this is going to give me two funny looking strings here. 44 00:02:39,043 --> 00:02:44,043 One is the Public Key, and one is the Private Key, and I'm going to need both of 45 00:02:44,044 --> 00:02:46,044 these to configure Captcha. 46 00:02:46,045 --> 00:02:48,045 So here inside the back-end of Joomla, 47 00:02:48,046 --> 00:02:53,046 under Basic Options, it's going to ask me for a Public Key, and a Private Key. 48 00:02:53,047 --> 00:02:56,047 So all I need to do now is copy these. 49 00:02:56,048 --> 00:03:00,048 Here is the Public Key, and by the way, your public key will probably look different. 50 00:03:00,049 --> 00:03:06,049 Ctrl+C or Command+C to Copy, Ctrl+V or Command+V to Paste, and do the same 51 00:03:06,050 --> 00:03:11,050 thing for the Private Key highlight it, Ctrl+C or Command+C to Copy, Ctrl+V or 52 00:03:11,051 --> 00:03:12,051 Command+V to Paste. 53 00:03:12,052 --> 00:03:17,052 This will ask you for the Theme; by default it's called Clean. 54 00:03:17,053 --> 00:03:20,053 It's a very simple looking Captcha, but you can have some other color 55 00:03:20,054 --> 00:03:21,054 themes here as well; 56 00:03:21,055 --> 00:03:25,055 White, BlackGlass, or Red. Depending on what matches your template, you can choose 57 00:03:25,056 --> 00:03:29,056 one of those other ones, and I'm going to go ahead and say Save & Close. 58 00:03:29,057 --> 00:03:33,057 So now that I have the plug-in configured, now we need to tell Joomla 59 00:03:33,058 --> 00:03:37,058 to use that particular plug-in, and to do that I'm going to go back to 60 00:03:37,059 --> 00:03:42,059 System > Global Configuration, and here inside of Global Configuration, right here 61 00:03:42,060 --> 00:03:47,060 on the Site tab is the Default Captcha, and right now there's None Selected. 62 00:03:47,061 --> 00:03:54,061 I'm going to set this to Captcha-ReCaptcha, and say Save & Close. 63 00:03:54,062 --> 00:03:57,062 Now what will happen is, when I go to the front-end of my Web site, and I hit 64 00:03:57,063 --> 00:04:01,063 Refresh, I'll see the Captcha code appear down here at the bottom of the screen. 65 00:04:01,064 --> 00:04:05,064 And every time I refresh the page, a different code is going to come up, just 66 00:04:05,065 --> 00:04:11,065 like that, and so I can type in any of those combinations; whatever shows up on 67 00:04:11,066 --> 00:04:15,066 the screen, I just type that on in, and everything is great. 68 00:04:15,067 --> 00:04:20,067 This Captcha plug-in will show on the bottom of all of your contact forms, by default. 69 00:04:20,068 --> 00:04:25,068 It will also show up at the bottom of any user registration forms that you 70 00:04:25,069 --> 00:04:30,069 might have available on the front-end of the Web site, and we actually do have that right now. 71 00:04:30,070 --> 00:04:34,070 If you go to the Login link down at the bottom, and it says Don't have an 72 00:04:34,071 --> 00:04:39,071 account? If you click that, you'll see that we have a form here for creating a 73 00:04:39,072 --> 00:04:41,072 new account on this Joomla 74 00:04:41,073 --> 00:04:45,073 Web site, and the Captcha code appears at the bottom of this. 75 00:04:45,074 --> 00:04:49,074 Now, this User Registration form, I'm going to go through in more detail in another video. 76 00:04:49,075 --> 00:04:53,075 It is possible to turn off registration for your whole Web site, but we haven't 77 00:04:53,076 --> 00:04:55,076 touched this yet, and by default, Joomla 78 00:04:55,077 --> 00:04:58,077 allows a user registration form to exist on the Web site, because I created a 79 00:04:58,078 --> 00:05:00,078 login form many, many videos ago. 80 00:05:00,079 --> 00:05:05,079 So you'll see Captcha appear, then, associated with contact forms, and associated 81 00:05:05,080 --> 00:05:08,080 with the User Registration form.