We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Linklocker Free (encrypt download links)

Development and Programming

Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

Hey Bob,

To your first question, there is no throttling by the module. Any delays that are seen are caused by connection speed, network traffic, or server load.

As for using the module in response emails, I’m toying with the idea of creating an extension. I’ve also developed a module (much like the Simple Commerce module) that allows digital goods to be sold and then emails encrypted links using LinkLocker Pro. For the last 8 months or so I’ve used this module on my own site, however it has not been released for public use. As for a free way to do it, unfortunately, you’re pretty much on your own.

       
R.K.Foster's avatar
R.K.Foster
138 posts
16 years ago
R.K.Foster's avatar R.K.Foster

Thanks much for the response. I think it was a temporary speed issue with my internet connection.

The module you talk about might be useful for other sites as I think digital purchasing will only continue to rise, provided one is selling a popular product. My client and I are still working out the particulars of how they will be selling from the site.

       
shinka's avatar
shinka
138 posts
15 years ago
shinka's avatar shinka

I’m having a similar problem. Downloading the link from the nGen file field results in loading a blank page. However, if I manually type out the correct url in the script, it downloads correctly. Help would be most appreciated.

       
jschutt's avatar
jschutt
452 posts
15 years ago
jschutt's avatar jschutt

Shinka - have you figured out how to download links from nGen? I’m experiencing the same issue.

       
jschutt's avatar
jschutt
452 posts
15 years ago
jschutt's avatar jschutt

So in my setup, nGen wasn’t creating a complete link. It was just a relative path.

       
Brad Street's avatar
Brad Street
239 posts
15 years ago
Brad Street's avatar Brad Street

Thanks for sharing that, Jesse. Glad to see you got it all sorted out!

       
Chuck Norton's avatar
Chuck Norton
106 posts
15 years ago
Chuck Norton's avatar Chuck Norton

Brad,

thanks for the great module!! Quick question (3 actually):

  1. after searching for a while to figure out why my err_page was showing blank, I found posts about turning allow_url_fopen on on server. My question is, how is it usually done. I’ve openned php.ini in root folder, and added all of the following with no luck:
allow_url_fopen = on;
allow_url_fopen = On;
allow_url_fopen = 1;

Am I missing something?

  1. since this has been a prob for a few other people (a few posts said they spent 1/2 a day trying to figure it out) - could you maybe place this info on first post with download link?

  2. I didn’t learn until page 7 or 8 in these forums (in the middle of one of them!) that you had a second version out. Is that also something that could be updated to very first post? Just thinking of future visitors experience.

Thanks in advance! This really does look great. Chuck

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
15 years ago
Matt Weinberg's avatar Matt Weinberg

Hi Brad,

Thanks for the excellent module!

Four things I’ve seen:

  1. For me, iplock=on or =off doesn’t seem to change anything. Adding debug mode shows it as locked either way, and even links generated with the the lock off give a whitepage to those that aren’t behind that IP.
  2. The documentation says you need to use page=”debug”, but really it’s page=”debug-post” or page=”debug-pre”.
  3. The documentation gives an example of the error page variable using {page="x/x"}, but that parsed too late in my EE install and messed up the error template path. I just used err_page=”x/x”.
  4. One great thing would be to add a way for this module to use {site_url} or a variation. I’ve had to use {trimmed_url}, which is a weblog:entries variable, because it gets parsed earlier. But if you want to use it cross-server or across a staging/production environment, {site_url} and {homepage} get parsed too late to work as a part of the path parameter.

Those are just small things though– overall thanks so much for the awesome work!

-Matt

       
ee_sa's avatar
ee_sa
56 posts
15 years ago
ee_sa's avatar ee_sa

Hi

Please I need help urgently :(

I have subscription on site. User gets lists of 2 type of files for each month, so there is file for PC and file for Mac for each month. While I was developing it was working properly, but few days later, site is live, and I’m getting blank page :(

  1. I tried with double and single quota and here is the code:
// First link is OK but here it removes url="{mag_pc}" and later also for err_page
<a href="http://{exp:linklocker" title="Download {title} for PC" class="orange">PC</a> <span>|</span> 

<a href="http://{exp:linklocker" title="Download {title} for MAC" class="orange">MAC</a>
  1. Its full path like: http://www.domain.com/_files/SomeFile.zip
  2. All files are zip
  3. Didn’t add nothing to .htaccess it was working properly
  4. Tried to download file directly with original link and it works

PS Why is link so huge?

http://DOMAIN.com/?ACT=24&url=1&linklocker=MTI2OTY4OTM8ZA4MQ==4OTIz7guMzYuMjMzLw36jE1Mw==4MQyNq==4aHR0cDoj8YvL2lzbGFtaZPvWNhcnRzbWFVuRnYXppbmUuY5Is29tL19pc3NqK61ZXMvSXNsY0cqW1pY19BcnR3MmzXzAzLnppc508A==4e3BhdGiHGg9dXNlciYj6r0NDc7ZGxfZX020Jyb3J944gNi

What to do? Thanks in advance

       
Brad Street's avatar
Brad Street
239 posts
15 years ago
Brad Street's avatar Brad Street

The link is so huge because it is encrypting details such as the expires time, iplock, etc. For starters, unless you are trying to stream a page, you should remove the “page” parameter. If you are trying to set an error page, that is a different parameter - please see the docs. Please also make sure that the URL that is being inserted is plain text, so that EE doesn’t add markup such as P tags to it.

       
Eastwood Design's avatar
Eastwood Design
605 posts
15 years ago
Eastwood Design's avatar Eastwood Design

I am having a problem similar to other here on the forum but can’t seem to locate the solution.

If I try and download a pdf file without the linklocker it downloads file

But when I use the Linklocker it downloads what appears to be a file with the proper file name but when I open it it is corrupt

The original file is 3mb and the corrupt file is 4kb.

       
Brad Street's avatar
Brad Street
239 posts
15 years ago
Brad Street's avatar Brad Street

Change the file extension of the downloaded file from .pdf to .txt and open it. This file likely contains an error message. Please post that message.

Thanks, Brad

       
florian's avatar
florian
395 posts
15 years ago
florian's avatar florian

I had the link locker module working correctly before but now when I click on the link I only get a blank page. My vps provider updated php recently. Could this be the problem? I already tried reinstalling the module and some other things listed in this post. I installed module on other server and was able to get it to work successfully. I copied the working code but I still only get the blank page. Is there anything that I should/should not put in the .htaccess file?

I turned on template debugging and the correct link gets outputted. However it is saying ‘no clossing tag’. However I am only getting a blank page. any ideas??

       
ee_sa's avatar
ee_sa
56 posts
15 years ago
ee_sa's avatar ee_sa

Hi,

Suddenly its working…. for few days, and suddenly stops working?! I’m getting blank page, no error no nothing?

Everything is OK, because it worked properly but then stoped?!

Why, what to do, please, site is alive and people cant downloading :( Thanks in advance

EDIT: Now I’m redirected to: www.domain.com/1/

       
Brad Street's avatar
Brad Street
239 posts
15 years ago
Brad Street's avatar Brad Street

ee_sa & Florian, I try my best to provide support for the “free” and “pro” versions of the modules, however my time is quite limited. Without looking at your installation, I have no way to tell you what the problem may be. If you would like for me to take a look at your installation, please PM me with a login URL, EE admin account login, FTP login and URL, and the name of a template that is having these problems.

Florian: Thanks for the PM - please see my PM response.

       
First 14 15 16 17

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.