| View previous topic :: View next topic |
| Author |
Message |
Butch
Joined: 14 Sep 2006 Posts: 29 Location: USA
|
Posted: Sep 20, 2006 12:01 am Post subject: 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. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1478 Location: UFO Lab
|
Posted: Sep 20, 2006 6:50 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Butch
Joined: 14 Sep 2006 Posts: 29 Location: USA
|
Posted: Sep 23, 2006 2:45 pm Post subject: 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.  |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1478 Location: UFO Lab
|
Posted: Sep 25, 2006 5:50 am Post subject: |
|
|
Thanks!
In XUploadConfig.pm edit these lines:
set url_post to empty, redirect_link to Redirect URL
| Code: |
# 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',
|
Also these fields should be not empty:
| Code: |
##### 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 => 'YOUREMAIL@MAIL.COM',
# This email will be in "From:" field in confirmation emails
confirm_email_from => 'xupload@YOURSITE.com',
# Subject for email notification
email_subject => "Xupload: new file uploaded",
|
|
|
| Back to top |
|
 |
aaron v
Joined: 08 Nov 2006 Posts: 2
|
Posted: Nov 08, 2006 3:23 pm Post subject: |
|
|
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? |
|
| Back to top |
|
 |
Butch
Joined: 14 Sep 2006 Posts: 29 Location: USA
|
Posted: Nov 08, 2006 6:17 pm Post subject: Post.php |
|
|
Here is a very quick way of not really changing any code and having the "Thank You Page"
Create it in the post.php, just edit the page to say "Thank You" removing the ?echo?, don't rename leave as post.php
Hope this helps |
|
| Back to top |
|
 |
Butch
Joined: 14 Sep 2006 Posts: 29 Location: USA
|
Posted: Nov 08, 2006 6:22 pm Post subject: Post.php |
|
|
| I will take a look at the config file and will post back with what will work within a couple of days. Are you using Pro version 2.2 or 2.3? I won't have time today, but tomorrow afternoon. |
|
| Back to top |
|
 |
aaron v
Joined: 08 Nov 2006 Posts: 2
|
Posted: Nov 08, 2006 11:03 pm Post subject: |
|
|
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! |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1478 Location: UFO Lab
|
Posted: Nov 09, 2006 6:24 am Post subject: |
|
|
Oh, probably forgot to mention in config that you can use url_post as redirect URL now. Just put Thank You page URL there.
We just got rid of it cause can have same functionality with only one parameter. |
|
| Back to top |
|
 |
|