This plugin manages a “unique string” or “token” like the woocommerce?
It works as a protection for the original file URL.
O Woocomerce obriga que a pessoa esteja logada e verificada, mas acontece que eu não vou usar Produtos, mas sim CPT para criar as páginas de Download e pré-visualização do arquivo.
I’m creating a subscription site and I want to add the digital file URL to the download button on the product page for those who are logged in.
Similar to artgrid: https://artgrid.io/clip/279578/3d-Animation-Rock-Blue
I’ll have much buttons: Download 4k, Download Mobile, Download with Watermark …`
I will explain all my scenario, but before I had one idea:
1 Shortcode Method
With the original external or internal URL:
[Download Roles=”Silver, Gold, Platinum” url=”https://www.dropbox.com/s/b08y8jbmirstjoi/tv_hologram%20close%20touch%202_4k.mp4?dl=1″%5D
I lap this shortcode on the Custom Field or within the URL field of the elementor.
The link is rendered like this: https://site.com/?Download_File=9353&token=354762145682368
Redirecting to the original URL after validated:
1 – Are you logged in? (if not, ship to page: /login-to-download)
2 – Are you allowed? (if not, send to page: /upgrade-to-%REQUIRED_ROLE%)
3 – All approved: Redirect to the URL inserted into Shortcode:
And who can access this link will only be logged in and with the specified ROLE
Woocommerce subscriptions (maybe)
PublishPress Capabilities (for Custom Roles)
I do not have printscreen, but I intend to create with jetengine the CPT it creates custom fields, I would use them to put the links of the files …
Any more information required?
Thanks so much for reading so far!
- You must be logged in to reply to this topic.