Event Cats

Log in an account thanks to a single URL; duplicate an account

Display directly: Principles, Tabs, Acknowledgements

Principles

    Event Cats allows a user to log in Piwigo without providing a username and a password ("autolog"). It also allows that an account created by a visitor gets immediately the same authorization access as another account ("duplication").

    The purpose is to allow you, after an event where you "have been the photographer", to share your pictures a very simple way with people not having (yet) an account on your gallery, by displaying your images in a private category. But there might be other ways to use it :-) ...


    The automatic identification is carried out thanks to the "autolog" code, placed in the link that you will give to the people you want to give an access to you gallery. By using this link, the visitors will find themselves directly logged on your gallery under the account associated to the "autolog" code. The page displayed just after identification can be:

    Once identified, your visitors can create a personal account having the same properties as the account under which they were previously identified. This way, one can create his own account and have immediate access to private content on your gallery, without having to wait for a validation from you. You can grant or deny account duplication, in the same manner you would grant or deny access to a private category, by individually selecting groups, account status, or accounts.

    The link (URL) allowing automatic identification on your gallery, is built as follow:

    When the user must be redirected to page other than the home page, the following parameters are added: &cat=‹category identifier› for a category, &img=‹image identifier› for an image (in addition of category parameter), and &ap=‹Add. P. identifier› for a page from the Additional Pages plugin. If an autolog URL is submitted with a &img parameter, missing the &cat parameter, the home page will be displayed. If an autolog URL is submitted with both a &ap and a &cat parameters (with or without the &img parameter), the Additional Page will be displayed.

    Event Cats allows you to manage a list of codes with different associations, stored in your internet site database. Each line with a code is an entry in Event Cats.

Tabs

    Event Cats provides up to five tabs for its management:

New autolog

    This tab allows you to create the entries in the database. An entry associates a code to a user and a page to display. It is possible to use a code several times, in case it would be convenient to give the same user access to different pages. But, of course, the same code can only be associated with one user.

    When creating an entry, the account used in this entry can also be created at the same time. The accounts created by Event Cats are generic accounts, ie intended to be used by several different users. The name of the account can be generated by Event Cats, provided that a page to display has been selected, as the title of the page to be displayed will be used to create the new account name. Event Cats can also create a group, which, for instance will be associated to the selected category. Thus, as the code itself can be generated by Event Cats too, it is possible to create an entry just by selecting a page to display, then click on the "Full auto" button.

    As the page to display is mentioned in the URL (with the parameters &cat=‹category identifier›, &img=‹image identifier›, and &ap=‹Add. P. identifier›, see above), the user has the possibility to change the requested page, by modifying the URL. If the account associated to the code is not allowed to navigate to this page, Piwigo will definetely not display it — no danger. But, in order to avoid the message "You are not authorized to access the requested page", you can set the displayed page to be "forced", meaning that Event Cats redirects the user to the page that has been set at the time of the entry creation, whatever are parameters &cat, &img, and/or &ap, if any, in the requested URL.
    If an entry is forced, its code can of course appear only once in the Event Cats entries list. Thus, making an entry "forced", requires to delete all the other entries using the same code.

    The field "Comment" is completely optional, its only purpose being for you to record a small text (100 digits maximum), displayed in the entry list (tab Autolog entries) as a tooltip or on a new line under the related code.

Autolog entries

    This tab is displayed when at least one "autolog" entry is available, and allows you to monitor all the entries available in your database. When an entry is selected, the related URL is displayed in the "URL"field, so you can copy the automatic identification link, and paste it for instance in an e-mail intended to people concerned with the event you want to share the pictures. With most browsers, a click on the "URL" field will directly selects the whole field, so you just need to copy.

    The following tools are available in this page:

Autolog modification

    This tab, also available only when at least one "autolog" entry exists for your gallery, allows you to modify an entry (indeed...) Unlike during entry creation, here you can make an entry "outdated", by choosing "None" as "Identified user", or "Access denied" as "Displayed page". If "None" is selected as "Identified user", and plugin Additional Pages can be used, it is possible to choose an Additional Page as the page to display. This way, you can make a code inactive, but display a personnalized explanation (see help on  Make entry outdated in section Autolog entries).

Duplication

    This tab is available only when the parameter "Allow duplication" is set to "Per group selection". As a matter of fact, it is useless when duplication is allowed to all accounts, or to none.
    It allows you to monitor duplication: which accounts can be duplicated, and the way the duplication link will be displayed. The accounts are selected in exactly the same way as in the administration page "Manage permissions for a category" (as simple as copying this page :-/ ...).
    The way the duplication link is displayed, allows mainly to treat gently the users identified with a generic account (Event Cats creates only generic accounts): if a visitor used a link activating an "autolog" code, he is identified without having to provide a username and a password. In fact, he has no clue he can "copy" this account, and it is therefore useless to suggest a "duplication", a word that could not be understood at the moment. The user is simply given the opprotunity to "Register" and, if he chooses to (though he is already identified), immediately gets the same accesses as the account he was previously identified with; this way, he is allowed to go on navigating on your gallery, in the same categories than the account associated to the "autolog" code you had provided, but with his personal account, and its related facilities: personnalization, comments with the account name... Registration is done exactly the same way as usual, and you, as an administrator are warned that your gallery counts a new user. As a matter of fact, the e-mail precises "Identified user:", showing the account the new user was identified with, when he registered, if it was after an "autolog". There is currently no known conflict with plugin NBC UserAdvManager (advanced users management).

Configuration

    This last tab allows to manage the following parameters:

Acknowledgements