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
15 years ago
Brad Street's avatar Brad Street

Please note that the free version of this module requires that “allow_url_fopen” be turned on in the php.ini file. I will update the script soon to present an error message if it is not enabled. This is one possible reason that you might receive a blank page when clicking on a link.

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

Kenan (ee_sa),

I’ve logged into your site and I am able to download the files using the LinkLocker encrypted links. I looked at your templates and see that on inc/down_subscriptions, the links are set to expire after 2 minutes. For inc/down_issues, they are set to expire after 10 minutes. What could be happening is that the links that are being generated are timing out. If that page is cached in your browser, you will be presented with “expired” links after 2 or 10 minutes. In the address bar of the browser I see that I am not being forwarded to the proper template “user/dl_error”, but the page is blank - as you have described.

Refreshing the page (F5 or CTRL->R) causes new links to be generated and therefore the links will work. I verified this. I will address the failure to forward to the proper err_page in an upcoming update.

Please let me know if I may provide further assistance.

Thanks

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

UPDATE : 4/16/2010 LinkLocker has been updated to version 1.5. Module name is now referred to as LinkLocker Free. Bug fix for problem serving .pdf files. Bug fix that was causing IP Lock to always be on. Fixed documentation to properly show how to use debug modes. Added error messages for iplock, expired, and allow_url_fopen not on. To upgrade please uninstall previous version and install new version. I hope you find this module useful. Download: Please visit the brad-street.com website to download the latest version of LinkLocker Free.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
15 years ago
Mark Bowen's avatar Mark Bowen

Hi Brad,

Thanks for the download, looking great. Did notice one thing though that the module doesn’t work and comes up with an error upon trying to create any links.

Seems that $PREFS wasn’t in the global list on line 81 in mod.linklocker.php. Adding that in so it now looks like this :

Line 79 - 81
    function Linklocker()
    {
        global $DB, $TMPL, $IN, $FNS, $PREFS;

makes it all work again.

Thanks again for a great download.

Best wishes,

Mark

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

Hey Mark,

Good catch - guess that’s what happens when you get in a hurry. I’ve updated the download file.

Thanks, Brad

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
15 years ago
Mark Bowen's avatar Mark Bowen

No problem at all.

Thanks again for a fantastic module.

Best wishes,

Mark

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

At last, my store is up and running. There is still lots to do on the site, not to mention I’m actively developing an update for LinkLocker Pro for EE 1x, a NEW (3.0) version for EE 1.x, and LinkLocker Pro for EE2. At least now you no longer have to send a PM to purchase. Furthermore, the orders are being fulfilled with the upcoming LinkLocker 3.0, though the only thing you’ll notice from an end user perspective is that the generated links are MUCH shorter. If you would like to buy LinkLocker Pro or download LinkLocker Free, please visit my website at http://www.brad-street.com. Thanks!

       
fanderson's avatar
fanderson
883 posts
15 years ago
fanderson's avatar fanderson

Hi Brad,

How do I apply Linklocker to this:

<a href="http://www.stockmarketcpr.com/_flash/player.swf?file={video}class=videoLink">{title}</a>

Thanks!

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

Hey Forrest,

I can’t get the code to display properly in these forums. I would think putting the stuff within quotes as href= into the url= parameter of the linklocker tag should do the trick. Even better would be to create a field in your weblog and save the entire URL, including the video file name, instead of just the filename. This would avoid any possible issues with having a variable within the linklocker tag.

Thanks!

       
First 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.