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 Pro - Commercial Release

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Brad - I’m not using Digital Commerce at this point - just Linklocker and the Simple Commerce module. I think all I need at this point is the updated Linklocker. Thanks!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I upgraded from 2.2 to 2.4 this morning and I can’t use the module at all now 😊.

The upgraded docs (main screen of the module) said that it upgraded to 2.4, but the module list still showed it as 2.2.

I ended up uninstalling the module (which you caution against due to losing information - but at this point there was very little info to show). I re-installed, and the module showed the correct number in the modules list.

I was also getting an error on the template on the front end of the site when using the restricted_groups parameter - so I removed that for now.

Now none of my download links work. The link looks correct when I hover over it (i.e. it shows the ACT=53, and then all the encoded stuff), but when I attempt to download it, all I get is “public/html” and nothing downloads. In the module control panel, the “Actual Links” column shows “/home/mysite/public_html” as the generated link.

I rolled back to 2.2 for now, and the links seem to be working - but I’m avoiding the restricted_groups parameter, too.

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

Ryan,

Just got at the code - believe I’ve corrected the issues you’ve reported. Emailed you the updated code. Please let me know that all is well again, and thanks for bringing this to my attention.

Thanks, Brad

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I rolled back to 2.2 in the meantime (and it’s working fine - so is the stats plugin). When I get some time this week (might be tonight), I’ll backup my DB and give this one a shot. Thanks for the quick responses, Brad.

       
susansan's avatar
susansan
75 posts
16 years ago
susansan's avatar susansan

Hey Brad, having trouble using mode=”page” param. I keep getting the error, “Could not find a matching hash in database.” when I click on the link. I’m trying to hide the url to my download page. I’ve got

<a href="http://{exp:linklocker">Download</a>

edit: don’t know why, but the forum won’t let me post the actual code - it’s missing the last curly brace and double quote at the end. also won’t display my url…

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

Susan,

I’m not sure if perhaps not all your code is coming through here in the forum, but it doesn’t appear that you have given the module a link to encrypt. Please email me with an example of the code you are using on the form, and we’ll figure it out.

Thanks, Brad

       
Deep Arora's avatar
Deep Arora
153 posts
16 years ago
Deep Arora's avatar Deep Arora

Brad - a questions for you (I remember I posted it earlier somewhere but didn’t find any replies)..

I am using linklocker on a test server and I am using it to encrypt URLs of remote files that are hosted on amazon s3 to save badnwidth costs.

But I found that by using linklocker, my server’s bandwidth is used and since files are approx 1GB each, it results into consuming 30-40GB of bandwidth in just few hours by handful of test users.

Does linklocker has this ‘serious’ limitation?

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

I haven’t done any testing with Amazon S3, but what you’re saying would make sense. Technically, even though the file may be stored on a remote server, the link that they click on is encrypted by LinkLocker. The link is decrypted by the module, and to keep the location secret, the file is read from its storage location and streamed to the user. I’m not exactly sure how you could send a file to the user from another location without showing the source, other than the way the module currently provides.

       
harsing's avatar
harsing
56 posts
16 years ago
harsing's avatar harsing

Hi!

I’d like to know if there is a way to dynamically name the file that Linklocker outputs to the user. I upload files using Mark Huots File extension. When files are uploaded they are renamed to make it even harder to guess where they can be downloaded. What I would like to do is to rename them again when a user clicks a download link so that they get a more human readable name.

Regards,

Matts

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

Hi Matts,

The LinkLocker module simply serves the file that you point it to. Whatever name the file has, it will keep. If you are using the module, there isn’t really a reason to rename the file to something obscure as its location is not shown to the user and the link is encrypted. If you wanted to prevent people from guessing the location, simply naming the parent folder that contains the files to something obscure should do the trick.

Thanks, Brad

       
susansan's avatar
susansan
75 posts
16 years ago
susansan's avatar susansan

Hey Brad, I upgraded EE to 1.6.7 about a week ago and just realized that since that time, the LinkLocker module “Member Statistics” and “Link Statistics” have stopped working. I was going to uninstall and reinstall LinkLocker, but the documentation says that this could break existing links. Any ideas on how to fix?

Thanks -Susan

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

Hi Susan,

I’m not running 1.6.7, and have not heard of this issue. What are you seeing when you click to the statistics areas? Any errors?

Thanks, Brad

       
susansan's avatar
susansan
75 posts
16 years ago
susansan's avatar susansan

Hey Brad, no errors on either screen. The “Members Statistics” have just stopped updating as of my last EE upgrade. So, when members download, it’s not tracked (or at least it’s not showing up on the screen). So what I see on the screen is only member download data prior to the EE upgrade. The “Link Statistics” page actually looks like the counts are increasing - so that part might be fine. Do you think it would be safe for me to uninstall/install again? I’ve got version 2.4.2.

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

Hey Susan, I’m not at home, so can’t look at the code right at this moment. Will check into it this evening. The problem with uninstall/reinstall is that you will lose your stats, of course. Also, when it re-installs, it will create a new actionID for the process_link function, meaning that URLs generated by the previous install will cease to work. Anyways, as I said, I’ll look into this further when I return home this evening. Just out of curiosity, what version of EE were you running previously? Thanks, Brad

       
susansan's avatar
susansan
75 posts
16 years ago
susansan's avatar susansan

Okay, sounds good. I was previously running EE 1.6.6.

       
First 2 3 4 5 6 Last

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.