| 40 | | /*TODO*/$lang['ad_c_menublock_for_guest'] = 'Allow unregistered users to select their age?'; |
| 41 | | /*TODO*/$lang['ad_c_block_on_index'] = 'View a flyer on the homepage? (Requires plugin PWG_Stuffs)'; |
| 42 | | /*TODO*/$lang['ad_c_block_on_index_error_2'] = 'The minimum PWG_Stuffs version required is 2.1.l'; |
| 43 | | /*TODO*/$lang['ad_c_block_on_index_error'] = 'Not available for now'; |
| 44 | | /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; |
| 45 | | /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; |
| 46 | | /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; |
| 47 | | /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; |
| 48 | | |
| 49 | | /*TODO*/$lang['ad_c_send'] = 'Save Changes'; |
| 50 | | /*TODO*/$lang['ad_c_msg_admin_1'] = 'Plugin configuration updated successfully!'; |
| 51 | | /*TODO*/$lang['ad_c_howitworks'] = "The principle of the plugin is to help in the management of mature content (it can also be |
| 52 | | |
| 53 | | adapted for violent content). To do this, the plugin manages the visitors and/or the users |
| 54 | | |
| 55 | | as you wish according to your definition of parameters of the plugin.<br /> |
| 56 | | <br /> |
| 57 | | 1 - As administrator you must put your adult content in a private gallery or album (the |
| 58 | | |
| 59 | | plugin does not manage the rights to the level of images itself, at least not yet). Then |
| 60 | | |
| 61 | | assign the gallery or album to the two groups '18' and ' 16-17' (created by the plugin) |
| 62 | | |
| 63 | | like this:<br /><br /> |
| 64 | | |
| 65 | | -allow the group '18' to see the adult content, reserved for users over the of age of 18 |
| 66 | | |
| 67 | | and normal content (but generally the normal content is often public) |
| 68 | | <br /><br /> |
| 69 | | -allow the group ' 16-17' to see the adult content reserved for users over the age of 16 |
| 70 | | |
| 71 | | and normal content (generally the normal content is often public) |
| 72 | | <br /><br /> |
| 73 | | - the 'nothing' group will see the normal content (but generally the normal content is |
| 74 | | |
| 75 | | often public) |
| 76 | | <br /> |
| 77 | | |
| 78 | | <br /> |
| 79 | | 2 - Functioning of the plugin<br /> |
| 80 | | 2.1 - The management of the users<br /> |
| 81 | | <br /> |
| 82 | | If the user is already recorded in the activation of the plugin, the plugin shows a small |
| 83 | | block pointing out that he must choose his age. Once he clicks, the page containing the message of 'adult content' will appear and the choice of choosing their age (Charte_user.php). |
| 84 | | |
| 85 | | Once a visitor chooses his age, it is re-aimed to the page of choice of age (Charte_user.php), directly after its recording. |
| 86 | | |
| 87 | | In practice, the plugin places the user in the 3 groups, ' 18' ' 16-17' and 'nothing', |
| 88 | | |
| 89 | | according to his choice of age. A user may at any time change his age via the block menu of |
| 90 | | |
| 91 | | adult_content except if it is disabled via the administration of piwigo (attention the |
| 92 | | |
| 93 | | direct link to charte_user.php continues to function all the same) : if you wish that a |
| 94 | | |
| 95 | | user cannot change his age then this plugin is useless and use directly the management of |
| 96 | | |
| 97 | | rights at the level of groups and/or images.<br /> |
| 98 | | <br /> |
| 99 | | 2.2 - Visitor management<br /> |
| 100 | | <br /> |
| 101 | | If the option 'Allow visitors to non-registered to select their age ?' is enabled, then the |
| 102 | | |
| 103 | | plugin will manage the visitors. * It displays a block menu, indicating the gallery is |
| 104 | | |
| 105 | | 'filtered' and that if he wishes to disable the filter, he must select his age. |
| 106 | | It is then redirected to the page of choice of the age for visitor (chartre.php). |
| 107 | | |
| 108 | | In practice, the visitor is then recorded under one of the 2 users created by the plugin: ' |
| 109 | | |
| 110 | | 18' belonging to the group ' 18 ', and ' 16' from the group ' 16-17 '. These 2 user |
| 111 | | |
| 112 | | accounts may not be modified by users, only by the administrator. |
| 113 | | You open and choose to change the theme according to the age of the vistor via these 2 user |
| 114 | | |
| 115 | | accounts.<br /> |
| 116 | | <br /> |
| 117 | | 2.3 - Possible adaptations<br /> |
| 118 | | <br /> |
| 119 | | You can adapt this plugin for the violent content, simply by changing the files languages |
| 120 | | |
| 121 | | of the plugin (use the plugin Local Files Editor for more ease). The age limits may also |
| 122 | | |
| 123 | | be changed in this way. |
| 124 | | "; |
| 125 | | /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" |