- This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › PDF Stamper – I'd like to stamp the file ID
Tagged: stamper
I would like to be able to stamp the file ID (shown in the first column under Manage Stamped Files) when a user downloads a PDF. I see that I can include {transaction_id} in the “text to stamp” field but this does not return a result when the PDF is stamped. Is that option only available when integrating with some type of e-commerce? Im not selling anything, just want to stamp each PDF with the user’s name, email and unique ID of the file.
The File ID is just the index number used in the MySQL database, has no relevant association with the actual file, and can possibly change.
What about the key that gets appended to the file name? ie. “_5435e9a501f9e.pdf”
Is there way to stamp that number?
Basically, I just need a unique ID printed on each document everytime a user downloads it and then be able to compare that number in the WordPress admin. I’m not selling anything so I’d like to not integrate with an ecommerce plugin either.
So far, my best idea is to create a custom post type and have a new post get created at the stamping of each file, effectively acting as a recorder of downloads similar to the way Manage Stamped Files works. I can then assign a unique ID (either random number or post ID) to each post.
I understand this may be out of scope for support but if there’s any tips/hints/wisdom you could drop on me that would be much appreciated! Thank you.
I can do a small custom job for you so you can stamp a uniquely generated number/ID to the file. If you are interested please fill this form:
Or use the {transaction_id} tag in the stamp.