markush Posted January 3, 2008 Share Posted January 3, 2008 Hello I'm new here, but have searched for quite some time on the forum to try and find the answer and have not found it. I'm trying to add another tab under "client area". The tab would be a link to a page that would list .mp3's, .jpg's, .pdf's, etc uploaded by me for only that customer when logged in. Is this possible? Maybe someone already has code that can do this??? Any help would be appreciated. Thank you so much Markus 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted January 3, 2008 Share Posted January 3, 2008 This is possible if you are VERY comfortable with MySQL but I don't think this is something that would be very simple. If you are reselling hosting, perhaps you could just upload files to the customers /home/ directory? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 3, 2008 Share Posted January 3, 2008 While it wouldn't protect later direct linking, you could simply add an {if $loggedin}{/if} to the "homepage.tpl" file to have a link appear if they are already logged in. This could be wrapped around the "download" link already in that area, I should think. If you didn't mean on the front page of the client area, then that would mean they are already logged in, no? You'd still have to password protect the downloads or something to prevent direct linking. 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted January 3, 2008 Share Posted January 3, 2008 bear, How would you change the link per-person? I would think it would have to pull data from the database, and you would have to setup your own solution to show to correct files to the correct people. Brett 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted January 3, 2008 Share Posted January 3, 2008 The system currently allows files to be set to be downloaded by product. You could assign them to a product these users share or create a product that you could add to their account? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 3, 2008 Share Posted January 3, 2008 ..ah, missed the "per person" bit. That changes it, doesn't it? 0 Quote Link to comment Share on other sites More sharing options...
markush Posted January 4, 2008 Author Share Posted January 4, 2008 Thanks guys for the direction. It's helping. I don't mind too much about direct linking... that would be ok. I like your thought that I could just upload files to their root folder or something but I have a problem... not all of the clients have hosting. What about this? Is there a half way easy way to have a direct link to a specific folder on my account per each customer in their client area? Any thoughts woudl be appreciated! Thanks, Markus 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.