Peter Dimitrios commented on VCL-518:

A little documentation and design rationale:

  When the $ReservationClickthruRequired indicator is set, and the 
$ReservationClickthruRequiredString is found in either the image description or 
usage-notes fields, the end-user is presented with a click-through agreement 
when making a normal reservation.   The text from the image name, description, 
and usage-notes fields of an image profile are included in the license text 
that is displayed to the user and logged in the "clickThroughs" table in the 
database.  The text in the VCL conf.php file is just a template, providing the 
HTML formatting and other disclaimers that may be common for such agreements; 
the image-specific text is inserted into the template to make the final 
agreement.   If image agreements are truly different, one could make a very 
spare template, and put most of the text into the image profile fields. For 
default values, we just made a statement similar to the one used for VCL image 
creation, which seemed to be a reasonable starting point into which image 
builders can add their unique text.

If the HTML formatting of the text inserts needs to be changed, function 
formatImageNotesForClickthruAgreement() in requests.php can bechanged.  Having 
a decent "template" that supplies some boilerplate language is a good median, 
it provides some structure to allow the image-builder to add their specific 
terms and conditions, but allows the VCL administrator to make sure some 
standard disclaimers are always included.
> Click-Through Agreement on standard reservation
> -----------------------------------------------
>                 Key: VCL-518
>                 URL: https://issues.apache.org/jira/browse/VCL-518
>             Project: VCL
>          Issue Type: New Feature
>          Components: web gui (frontend)
>    Affects Versions: 2.2.1
>            Reporter: Michael Fletcher
>         Attachments: conf-default.php, requests.php, states.php, 
> vcl-518-v1.0.zip
> We would like to be able to add a click-through agreement for when a user 
> checks out an image. This is to force users to agree to certain terms of use 
> based on software licensing. This message should be able to be customized to 
> fit the needs of the software license. It would also be useful to capture the 
> users acceptance in the database.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to