Wiki source code of Captcha configuration
Last modified by Nikita Petrenko on 2025/06/24
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | = Add Captcha for Registration = | ||
6 | |||
7 | {{info}} | ||
8 | This option is useful when you allow guests to register as wiki users. | ||
9 | {{/info}} | ||
10 | |||
11 | Log in as Administrator, click the {{image reference="DrawerMenuIcon.png"/}} button to open the drawer menu, then click on "Administer Wiki": | ||
12 | |||
13 | ((( | ||
14 | {{image reference="AdministerWikiMenu.png" size="small"/}} | ||
15 | ))) | ||
16 | |||
17 | In the wiki administration page, click on the "Registration" link from the vertical menu to the left. | ||
18 | |||
19 | ((( | ||
20 | {{image reference="RegistrationAdmin.png" size="small"/}} | ||
21 | ))) | ||
22 | |||
23 | Next, scroll down through the options. Find and check the option **REQUIRE CAPTCHA TO REGISTER**: | ||
24 | |||
25 | ((( | ||
26 | {{image reference="RequireCaptchaRegistration.png" size="medium"/}} | ||
27 | ))) | ||
28 | |||
29 | Then, in the wiki administration page, click on the "Rights" link from the vertical menu to the left. | ||
30 | |||
31 | ((( | ||
32 | {{image reference="AdministrationRights.png" size="small"/}} | ||
33 | ))) | ||
34 | |||
35 | Next, click on the radio button "Users". Make sure unregistered users have the **View** and **Register** right set: | ||
36 | |||
37 | ((( | ||
38 | {{image reference="ViewRegisterRights.png" size="medium"/}} | ||
39 | ))) | ||
40 | |||
41 | To see the results of these settings, logout and click on "Register" in the navigation bar: | ||
42 | |||
43 | ((( | ||
44 | {{image reference="Register.png" size="small"/}} | ||
45 | ))) | ||
46 | |||
47 | Now visitors can add the details in the registration form, including Captcha: | ||
48 | |||
49 | ((( | ||
50 | {{image reference="RegistrationForm.png" size="medium"/}} | ||
51 | ))) | ||
52 | |||
53 | = Add Captcha for comments = | ||
54 | |||
55 | {{info}} | ||
56 | This setting is needed when unregistered users want to post a comment. | ||
57 | {{/info}} | ||
58 | |||
59 | Log in as Administrator, click the {{image reference="DrawerMenuIcon.png"/}} button to open the drawer menu, then click on "Administer Wiki": | ||
60 | |||
61 | ((( | ||
62 | {{image reference="AdministerWikiMenu.png" size="small"/}} | ||
63 | ))) | ||
64 | |||
65 | In the wiki administration page, click on the "Rights" link from the vertical menu to the left. | ||
66 | |||
67 | ((( | ||
68 | {{image reference="AdministrationRights.png" size="small"/}} | ||
69 | ))) | ||
70 | |||
71 | Next, click on the radio button "Users" to display the access rights for Unregistered users and give them **View** and **Comment** right: | ||
72 | |||
73 | ((( | ||
74 | {{image reference="RightsToGuests.png" size="medium"/}} | ||
75 | ))) | ||
76 | |||
77 | Then, pick the option **Require unregistered users to solve a captcha when posting a comment on a page**: | ||
78 | |||
79 | ((( | ||
80 | {{image reference="CaptchaRight.png"/}} | ||
81 | ))) | ||
82 | |||
83 | Finally, logout, move to comment section of XWiki page and check the result: | ||
84 | |||
85 | ((( | ||
86 | {{image reference="CaptchaComment.png" size="large"/}} | ||
87 | ))) |