XUpload - Confirmation Email & redirect Link
Confirmation Email & redirect Link
Running Pro version 2.2, however cannot get it to send email, also noticed that function is no longer working on the sibsoft site with the pro version. Also the redirect link fails and gives me a 404 page. Have high expectations for the use of this script, if I can resolve all the bugs.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
We've fixed emails sending on our live demo, thanks for noticing this.
Have you filled all 'Email confirmation' fields in XUploadConfig? Make sure you use correct path (sendmail_path) to your sendmail program and it's configured.
Redirect link: make sure you use full URL like 'http://YourSite.com/../page.html'. Also you should set url_post option in config to empty string, cause POST have priority over redirect.
Have you filled all 'Email confirmation' fields in XUploadConfig? Make sure you use correct path (sendmail_path) to your sendmail program and it's configured.
Redirect link: make sure you use full URL like 'http://YourSite.com/../page.html'. Also you should set url_post option in config to empty string, cause POST have priority over redirect.
Post Priority
Please explain how (where) to configure post so the string is empty and will redirect to your html page.
Love Xupload Pro just what I was looking for.
Love Xupload Pro just what I was looking for.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Thanks!
In XUploadConfig.pm edit these lines:
set url_post to empty, redirect_link to Redirect URL
Also these fields should be not empty:
In XUploadConfig.pm edit these lines:
set url_post to empty, redirect_link to Redirect URL
Code: Select all
# URL to send all input values from upload page
url_post => '',
# The link to redirect after complete upload
redirect_link => 'http://YOURSITE.com/page1.html',
Code: Select all
##### Email confirmation #####
# Leave all fields blank OR comment them if you don't want to send confirmations
# Path to sendmail
sendmail_path => '/usr/sbin/sendmail',
# Email that confirmations will be sent to
confirm_email => '[email protected]',
# This email will be in "From:" field in confirmation emails
confirm_email_from => '[email protected]',
# Subject for email notification
email_subject => "Xupload: new file uploaded",
I tried adding the redirect_link snippet to the XUploadConfig file and it doesn't seem to work. I commented out the url_post and the uploader didn't work at all.
When I commented the url_post back in, everything worked, but the redirect must have been overrided, as it just hopped back to showing the summary (post.php) page.
I tried the redirect_link in both the "1" and "2" modes sections of the XuploadConfig file... without success. Is there something else I need to add somewhere?
Basically after uploading, I would like the client to jump to a "thank you" page.
Thoughts?
When I commented the url_post back in, everything worked, but the redirect must have been overrided, as it just hopped back to showing the summary (post.php) page.
I tried the redirect_link in both the "1" and "2" modes sections of the XuploadConfig file... without success. Is there something else I need to add somewhere?
Basically after uploading, I would like the client to jump to a "thank you" page.
Thoughts?
I am using Pro 2.3, thanks for looking into it.
I don't mind the post.php page. I suppose I could look in to incorporating a thank you message with the stats displayed below as a summary.
I'd have to learn a bit of PHP to do so, which I suppose isn't a bad thing
A redirect solution to an html page would be nice as a back-up, though.
Thanks!
I don't mind the post.php page. I suppose I could look in to incorporating a thank you message with the stats displayed below as a summary.
I'd have to learn a bit of PHP to do so, which I suppose isn't a bad thing
A redirect solution to an html page would be nice as a back-up, though.
Thanks!
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm