Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Provide link to webpage instead of download
Tagged: Direct Content URL
- This topic has 19 replies, 4 voices, and was last updated 9 years, 11 months ago by wzp.
-
AuthorPosts
-
December 22, 2011 at 5:21 pm #39977wzpModerator
I suppose, that if you really wanted to, and if you consider yourself a competent programmer, who enjoys “running with scissors,” you might be able to manually query the product database, grab the thumbnail URL for a particular product, along with the product URL, and then call the code that generates the encrypted URL. You could then display the encrypted URL, along with the thumbnail and whatever else you got from the product database. And since (I think) you wanted to have non-expiring links, then you might as well not even encrypt the product URL.
However, please be advised that this advice is beyond the scope of the support forum.
November 24, 2014 at 4:06 am #39978alexkirMemberHello wzp,
1. Under what conditions the secure link generated by “GENERATE DOWNLOAD LINK” button would not get displayed at all until the page is reloaded?
For the past 5 months I experienced it about 6-7 times. I was testing it using Firefox.
What condition creates it and how to avoid it?
Hitting “GENERATE DOWNLOAD LINK” button several times without reloading a page did not help. Please explain, if you can what to do.
2. Is it possible to combine together “GENERATE DOWNLOAD LINK” button and clicking on a generated link together, i.e to display unlocked code by just hitting “GENERATE DOWNLOAD LINK” button (for the purchased product) or any other ONE button, instead of doing it twice?
In general, the question is there is a APR button/functionality in one go to display protected area?
Many thanks for your help.
November 24, 2014 at 6:47 am #39979adminKeymasterThe standard Download now button shortcode will work for APR protected page also. Are you using the download now button shortcode from our shortcode documentation?
https://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
December 6, 2014 at 10:55 pm #39980alexkirMemberRe question : Are you using the download now button shortcode from our shortcode documentation?
Yes, I do use your shortcode.
December 6, 2014 at 11:41 pm #39981wzpModeratorWhenever eStore, is asked to process an encrypted link, it checks the URI scheme of the Product URI. The scheme is either http, https, as3tp, as3tps, aprtp, or aprtps. If the URI scheme is aprtp or aprtps, it creates an APR cookie before redirecting the browser to the APR protected page.
When an APR shortcode is encountered on the APR protected page, eStore verifies the presence or lack thereof, of the APR cookie; and reacts according to the APR shortcode parameters.
Are you using a caching plugin?
-
AuthorPosts
- You must be logged in to reply to this topic.