Confirmation Email & redirect Link

XUpload related questions

Moderator: admin

Message
Author
Butch
Posts: 29
Joined: Sep 14, 2006 1:44 am
Location: USA
Contact:

Confirmation Email & redirect Link

#1 Postby Butch » Sep 20, 2006 12:01 am

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.

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Sep 20, 2006 6:50 am

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.

Butch
Posts: 29
Joined: Sep 14, 2006 1:44 am
Location: USA
Contact:

Post Priority

#3 Postby Butch » Sep 23, 2006 2:45 pm

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. :lol:

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » Sep 25, 2006 5:50 am

Thanks! :D

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',


Also these fields should be not empty:

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",

aaron v
Posts: 2
Joined: Nov 08, 2006 3:02 pm

#5 Postby aaron v » Nov 08, 2006 3:23 pm

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?

Butch
Posts: 29
Joined: Sep 14, 2006 1:44 am
Location: USA
Contact:

Post.php

#6 Postby Butch » Nov 08, 2006 6:17 pm

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

Butch
Posts: 29
Joined: Sep 14, 2006 1:44 am
Location: USA
Contact:

Post.php

#7 Postby Butch » Nov 08, 2006 6:22 pm

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.

aaron v
Posts: 2
Joined: Nov 08, 2006 3:02 pm

#8 Postby aaron v » Nov 08, 2006 11:03 pm

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!

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#9 Postby PilgrimX182 » Nov 09, 2006 6:24 am

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.


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests