- Posts: 29
- Thank you received: 1
downloading multiple documents
14 years 2 weeks ago - 14 years 2 weeks ago #73592
by raggatt
downloading multiple documents was created by raggatt
Greetings, I will be selling PDF documents. When people order the "entire series" they receive multiple documents under one purchase. They receive an email with the multiple PDF download links (see first attached screenshot).
When clicking on the first download link in the email, the person is redirected to a login page on my website. When they enter their info. and click "login" a popup window at the bottom appears for them to download the document they clicked on in their email (see second attached screenshot).
PROBLEM: nothing lets the person know that, after logging in and downloading the first PDF, they need to go back to their email for the rest of their download links. They're just left sitting on the login page.
What's the best way to let people know, once they've logged in and downloaded their first PDF, to go back to their email for the rest of the links? A pop up window saying "please return to your email for rest of links" would be great, but redirection to another page with that message would work too...
ALSO: Please note in second screenshot, text "Please login first" appears twice. I found it only once under "configuration" > "languages" under the header ";order". If it's not entered twice there, can you please advise how else I can get rid of the duplication?
Thank you!!!!
When clicking on the first download link in the email, the person is redirected to a login page on my website. When they enter their info. and click "login" a popup window at the bottom appears for them to download the document they clicked on in their email (see second attached screenshot).
PROBLEM: nothing lets the person know that, after logging in and downloading the first PDF, they need to go back to their email for the rest of their download links. They're just left sitting on the login page.
What's the best way to let people know, once they've logged in and downloaded their first PDF, to go back to their email for the rest of the links? A pop up window saying "please return to your email for rest of links" would be great, but redirection to another page with that message would work too...
ALSO: Please note in second screenshot, text "Please login first" appears twice. I found it only once under "configuration" > "languages" under the header ";order". If it's not entered twice there, can you please advise how else I can get rid of the duplication?
Thank you!!!!
Last edit: 14 years 2 weeks ago by raggatt.
Please Log in or Create an account to join the conversation.
14 years 2 weeks ago #73803
by nicolas
Replied by nicolas on topic Re: downloading multiple documents
Hi,
Normally, the email is received instantaneously and you can directly download the files while you're still logged on the website. So you just click on the links in the email and the downloads start.
You can't technically redirect the user after the download after the login as browsers/HTTP don't allow for that.
For the message appearing twice, you can remove the line:
$app->enqueueMessage(JText::_('PLEASE_LOGIN_FIRST'));
in the file administrator/components/com_hikashop/classes/file.php
Normally, the email is received instantaneously and you can directly download the files while you're still logged on the website. So you just click on the links in the email and the downloads start.
You can't technically redirect the user after the download after the login as browsers/HTTP don't allow for that.
For the message appearing twice, you can remove the line:
$app->enqueueMessage(JText::_('PLEASE_LOGIN_FIRST'));
in the file administrator/components/com_hikashop/classes/file.php
Please Log in or Create an account to join the conversation.
14 years 2 weeks ago - 14 years 2 weeks ago #73813
by raggatt
Replied by raggatt on topic Re: downloading multiple documents
Thanks so much for your reply. Then, maybe my settings are logging people out too fast...for example, if they get coffee, a phone call, or distracted and don't go to their email right away. For this situation, I'd like to keep people logged in for at least one or two hours. I looked and didn't see the option to set log in time duration. Is this possible?
Also, when people do get directed from the email link to the log in page, are you saying there's no possiblity for a just a pop up window upon login, with a message prompting them to return to their email for the rest of their downloads? This would be my highest preference.
Another option would be to clearly state at the beginning of their download email "if redirected to log in, once doing so, please return to this email for rest of downloads." Is this option only available in your commercial version?
Sorry for so many questions, just looking for the best way to handle this awkward situation.
Thank you again!
Edit to add: I'm sorry, but I've been look for the file you reference below - administrator/components/com_hikashop/classes/file.php - and cannot find it. I apologize for being so inexperienced but, can you tell a total newbie how to find this file? Can I get to it from the Hikashop dashboard? Many thanks.
Also, when people do get directed from the email link to the log in page, are you saying there's no possiblity for a just a pop up window upon login, with a message prompting them to return to their email for the rest of their downloads? This would be my highest preference.
Another option would be to clearly state at the beginning of their download email "if redirected to log in, once doing so, please return to this email for rest of downloads." Is this option only available in your commercial version?
Sorry for so many questions, just looking for the best way to handle this awkward situation.
Thank you again!
Edit to add: I'm sorry, but I've been look for the file you reference below - administrator/components/com_hikashop/classes/file.php - and cannot find it. I apologize for being so inexperienced but, can you tell a total newbie how to find this file? Can I get to it from the Hikashop dashboard? Many thanks.
Last edit: 14 years 2 weeks ago by raggatt.
Please Log in or Create an account to join the conversation.
14 years 1 week ago #74070
by nicolas
Replied by nicolas on topic Re: downloading multiple documents
You can increase the joomla user session timemout value in the joomla configuration if you want your users to stay logged in longer.
Yes, that's not possible.
If you want to change the text of the email, like for any text in HikaShop, you can change it with a translation override:
www.hikashop.com/en/download/languages.html#modify
The file administrator/components/com_hikashop/classes/file.php has to be accessed via FTP with a FTP client:
www.phpjunkyard.com/tutorials/ftp-chmod-tutorial.php
Yes, that's not possible.
If you want to change the text of the email, like for any text in HikaShop, you can change it with a translation override:
www.hikashop.com/en/download/languages.html#modify
The file administrator/components/com_hikashop/classes/file.php has to be accessed via FTP with a FTP client:
www.phpjunkyard.com/tutorials/ftp-chmod-tutorial.php
Please Log in or Create an account to join the conversation.
14 years 1 week ago #74325
by raggatt
Replied by raggatt on topic Re: downloading multiple documents
Thanks so much for all your help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds