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
15 years ago
Ryan M.'s avatar Ryan M.

Brad, it would be nice to be able to reset multiple member statistics by selecting checkboxes along the right and selecting “Reset” from a pulldown then clicking “Submit”.

       
nate@creativebyhamilton.com's avatar
[email protected]
119 posts
15 years ago
nate@creativebyhamilton.com's avatar [email protected]

I just confirmed that putting the file on a different server makes no difference. I am still getting blank pages…

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

Nate,

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. I will be happy to take a look as soon as time permits.

Thanks, Brad

       
Helmi_xisnet's avatar
Helmi_xisnet
71 posts
15 years ago
Helmi_xisnet's avatar Helmi_xisnet

Hi Brad,

I’m wondering if this Module can restrict a single file download based on ‘first-user-first-download’.

E.g.; I’m a member of the site and I already downloaded fileA.zip. Other members would not be able to download this particular file.

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

Hi Helmi,

Unfortunately, that functionality does not currently exist in the module. You could do it with a custom query - checking to see if the file has been downloaded before showing the link.

Thanks, Brad

       
Jamie's avatar
Jamie
33 posts
15 years ago
Jamie's avatar Jamie

Hi,

Linklocker Pro is throwing up a memory error on the 2nd link that I download, so all links work on first click, but if I click another link i get a memory error.

Fatal error: Allowed memory size of 103809024 bytes exhausted (tried to allocate 59221467 bytes) in /path/to/my/domain.co.uk/html/system/modules/linklocker/mod.linklocker.php on line 590

I’m using version 2.5.1

Am I doing something to warrant this memory error?

J.

       
Jamie's avatar
Jamie
33 posts
15 years ago
Jamie's avatar Jamie

update - it seems it’s not the 2nd file - it’s just files over a certain size, approx 60 / 70 MB zip files.

If I remove the linklocker exp, all is well, but obviously the link isn’t obfuscated.

my php memory limit is set to 100MB.

J

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

Jamie,

Thanks for the email regarding your issue. I’m glad to hear you managed to sort out your syntax error and once again, all is right with the world! 😊

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

Brad, I had a Linklocker tag inside a complex conditional, so it was apparently generating a link every time a page was loading, even if we weren’t really using Linklocker on that template (this is due to the way EE parses complex ‘if’ statements). The result is a Linklocker exp_linklocker_gen table with 115,000+ entries, the majority of which are useless (the actual link is just the domain name, with no real path to a file). The exp_linklocker_user2gen table has about 5,000 entries, and the exp_linklocker_link has 309 entries.

I fixed the template, putting the Linklocker tag inside a simple ‘if’ statement, so it shouldn’t create a link if we don’t need it to from here on out.

What is the best way for me to clean out the three exp_linklocker tables? There are many good links in the exp_linklocker_gen table, but they are the vast minority at this point. I’m not sure how this table relates to the other two tables, so I don’t want to mess with deleting rows right in the DB. You have the single reset buttons on the right side under “Member Statistics”, but obviously I’m not going to clean up anything that way. Any suggestions?

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

Hey Ryan,

First, I’ll explain how the tables are related, since there is no super easy way to clean up the table.

The linklocker_links table contains all of the information regarding a unique path or URL / group / and label that is an actual link to a file for which an encrypted link is generated.

The linklocker_gen table holds all of the information for each link that is generated based on an entry in the linklocker_link table. There could be many entries in this table for one entry in the linklocker_link table.

The linklocker_user2gen table simply maps user ids to gen_ids (ids from the linklocker_gen table) in order to avoid recreating links for members who have already had links generated for them.

With all that said, I would think the simplest way to remove the unneeded entries from the tables would be to find the link_id (id from linklocker_link table) where the url is the site root. Then, using that id, select the gen_ids (ids from linklocker_gen table) that are based on that link_id. Lastly, remove all entries from the tables based on that information. For example, the SQL with subselects might be like: DELETE FROM exp_linklocker_gen, exp_linklocker_user2gen WHERE gen_id = (SELECT gen_id FROM exp_linlocker_gen WHERE link_id = (SELECT link_id from exp_linklocker_link WHERE link_url = “http://www.mysite.com/”) )

The version of LinkLocker Pro for EE2 has check boxes to allow multiple deletes to better assist with such an issue, among other improvements. Once I’m done beta testing, I intend to port many of the enhancements back to LinkLocker Pro for EE 1.6.

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

Any luck, Ryan?

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

Brad, thanks for the SQL above. I was too busy this week to give it a try, but it’s on my to-do list.

       
Robert.S's avatar
Robert.S
67 posts
15 years ago
Robert.S's avatar Robert.S

Hi Brad - found the info on your site a bit difficult to follow (sent you a contact form however!) but it looks like this is what we need - will you have an EE2.0 version available soon?

Here’s what I posted on your contact form just in case it doesn’t reach you (no confirmation page was given).

Hi Brad - I’m an EE2.0 user (see www.hotyogadoctor.com) and also in the middle of integrating Infusionsoft (mostly there). We’re needing a secure file-delivery application since Infusionsoft are crap at this and limit file sizes to 10Mb (go figure!).

LinkLocker looks like just the job - is it available to purchase for EE2.0?

And will it work or is it configurable to work with a custom cart, not just simple commerce (which we don’t use)

Thanks

Robert

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

Robert,

We’ve already spoke regarding this matter, but I’m posting details here for those who may be following the thread. My website was never completed, so I’ve been working relentlessly the last week or two to bring it up to speed - updates should be posted in the next few weeks, along with a STORE!

I’m currently beta testing LinkLocker Pro for EE2, as well as a new version for EE1. Both will hopefully be more user friendly, boast enhanced speed, shorter URLs, and new features. I will post as soon as the modules are available.

Since LinkLocker Pro works within EE templates, it should integrate into any cart system where users are shown links of files they can download. I am also developing a solution that would allow you to add LinkLocker functionality outside of EE templates as well as on sites that may not be running ExpressionEngine.

Stay tuned!

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

M, Thanks for the interest in LinkLocker Pro. I hope to have my new store launched by Saturday night. You will be able to purchase at www.brad-street.com. See you there, and thanks!

       
First 10 11 12 13

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.