Wiki source code of Captcha configuration

Last modified by Nikita Petrenko on 2025/06/24 18:09

Hide last authors
Irina Hrehorciuc 1.3 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
Nikita Petrenko 26.2 4
Irina Hrehorciuc 8.2 5 = Add Captcha for Registration =
Irina Hrehorciuc 1.3 6
7 {{info}}
Silvia Macovei 13.5 8 This option is useful when you allow guests to register as wiki users.
Irina Hrehorciuc 1.3 9 {{/info}}
10
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 15 )))
Irina Hrehorciuc 8.2 16
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 21 )))
22
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 27 )))
28
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 33 )))
34
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 39 )))
40
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 8.4 45 )))
46
Nikita Petrenko 26.2 47 Now visitors can add the details in the registration form, including Captcha:
48
49 (((
50 {{image reference="RegistrationForm.png" size="medium"/}}
Irina Hrehorciuc 8.4 51 )))
52
Irina Hrehorciuc 8.2 53 = Add Captcha for comments =
54
55 {{info}}
Silvia Macovei 13.5 56 This setting is needed when unregistered users want to post a comment.
Irina Hrehorciuc 8.2 57 {{/info}}
58
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 1.3 63 )))
64
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 1.3 69 )))
70
Nikita Petrenko 26.2 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"/}}
Irina Hrehorciuc 1.3 75 )))
76
Nikita Petrenko 26.2 77 Then, pick the option **Require unregistered users to solve a captcha when posting a comment on a page**:
78
79 (((
Irina Hrehorciuc 8.3 80 {{image reference="CaptchaRight.png"/}}
Irina Hrehorciuc 1.3 81 )))
82
Nikita Petrenko 26.2 83 Finally, logout, move to comment section of XWiki page and check the result:
84
85 (((
86 {{image reference="CaptchaComment.png" size="large"/}}
Irina Hrehorciuc 1.3 87 )))

Get Connected