Not being able to find anything I finally went ahead and created the WordPress plugin Terms before download. From the plugin’s description:
Terms Before Download adds a shortcode that can be used instead of
HTML anchors to link to downloadable files. If such a link is clicked
a popup dialog shows terms and conditions (EULA) which must be
accepted for the download to start.The terms and conditions are read from a WordPress page. That way
there is only a single place to maintain the terms and they can easily
be displayed independently of the plugin.The plugin supports Google Analytics to keep track of the number of
downloads.
Related Posts:
- Find out if logged in user is not subscriber
- Get multiple roles with get_users
- How to Merge Two Authors Into One?
- Whats the best way to share user data across multiple WordPress websites?
- User-edit role setting distinct from wp_capabilities? [closed]
- Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- What the user_status column?
- Problem with Hebrew characters in username
- Allowing an email as the username?
- Get the name of user who updated post
- Disable delete user
- Change user’s display name programmatically
- Send activation email to user after signup [duplicate]
- wp_update_user() does not update user_data
- Set user after wp_create_user?
- Sort get_users by custom field
- How to add follow functionality to multi-author wordpress site?
- Search multiple meta keys at once
- Get user input from a form
- Redirecting user after updating profile?
- How to add new custom field in default add user form through plugin
- How to add wordpress username after url?
- ACF Upload Image in front-end with custom form
- User fields that can be edited by administrator?
- Can I bulk register contributors for a new blog
- show cimy user fields in users.php with manage_users_columns
- Why i getting blank user_activation_key in get_user_by( ‘login’, $login ) function?
- how do i get a greeting for logged in uses by the time of day
- Multiple authors with different “author roles”
- Exclude subscriber users from user list
- A way to count logged in users and display count?
- stop login if user_status equal zero
- Disable user profile editing for one user
- Is it possible to get the currently logged in admin’s IP?
- Rule to redirect non logged in User to Custom Registration/login Page in .htaccess file
- How do i make my wordpress website private?
- Sort users by userID by default on users.php
- How to delete user on logout and when session expires?
- Remove Capabilities from WP admin for specific user role
- wordpress user roles are not working
- What is proper way to store info such as user marking a post as favorite? In post meta or user meta?
- What are some best practices for user exit strategy?
- Is there a way to identify a user in a custom REST API method? [duplicate]
- WP_User_Query – searching multiple fields
- wordpress disable login for unverified user
- Problem with automatic role change through cron job
- Profile page for user roles
- Search Function on a plugin WordPress User
- Replace Gravatar with UserPhoto in All Users Coulmn view
- Print profile details as PDF or from modal window
- About WordPress capabilities [closed]
- No more administrator roles / permissions after WordPress upgrade
- How to display text if profile fields are not filled?
- Order users by user role
- Get user by meta key – WP multi site
- Force users to use password with specifications
- Change user slug in Buddypress
- Creating a user from a different website
- Give users alternative/second avatar that is rectangle sized
- New User Save Filter
- Inserting current user ID into Post for Author
- Difference between is_user_logged_in and $_session[‘uname’]
- Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
- Using get_user in wordpress with sorting
- Using my own user table
- Add number of members to “Right Now” dashboard widget
- How can I add authors in WordPress and assign them a picture?
- wp_generate_password sets password but can’t login using created password
- How to verify which WordPress user requested the API in ASP .NET Core?
- Get users meta and show to attribute
- Custom Password Reset
- Can I add a unique code for each user based on the location?
- Is nicename the same as nickname in WP?
- 502 Error when edit some users
- How to update a user with REST API v2 knowing only the username?
- How do I delete a wordpress user from giant database?
- get_users – Sort by a different meta_value than search criteria
- How to prevent deleteting specific user?
- Display recent members
- Update user counts in admin interface
- How to get the username for a custom link
- To save user info on the same page by form submiting
- Groups roles & capabilities
- Button for users to upgrade their user role + Button to show current user role!
- Restrict Access to the User Profile
- How do I Limit the number of pages a non-subscriber can see?
- Username has been exposed
- How To Find The ID Of All Registered Users?
- How to order posts by the user_login that corresponds to a meta_value (which is a user id)?
- Retrieve New user’s ID
- Restrict access to certain dashboard pages based on user id
- how to show logged in members username in wordpress content
- How to expire guest users after 1.5 hours logged in?
- hide woo commerce dashboard status and reports from woo commerce from specific users but display to other users
- User agent stylesheet distorting site [closed]
- How can I list users by date in an array in meta_value?
- Email Subscribe for Downloads in WordPress
- Cant edit profile from frontend
- application password is missing