I have found a php script that allows a user to download a file and then prevent further downloads for a set amount of time. You can find it here http://www.web-development-blog.com/archives/limit-the-number-of-downloads-per-client/ As I am not very strong in coding, I am hoping with some assistance to modify the concept so that it will not allow a registered user to print a coupon I offer more than once. The process would work as such:
the user registers (I am developing in Joomla using the Community Builder login / member component)
the user clicks a link in the activation email
welcome page opens with a link to the coupon
user clicks the coupon link
the link opens a page with the coupon and a print button in the same window to get around a popup blocker
user clicks the print button and the page prints out the coupon
print button also advances the page to a thank you page
if the user clicks on the back button to access the link again the script prevents the user from opening the coupon window again with the message that there is only one coupon per user)
I am assuming that this is doable but don't mind being told otherwise. I would be very grateful if there are any coders out there that could assist. Thanks