RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Confirmation Email & redirect Link

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
Butch



Joined: 14 Sep 2006
Posts: 29
Location: USA

PostPosted: Sep 20, 2006 12:01 am    Post subject: Confirmation Email & redirect Link Reply with quote

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
View user's profile Send private message Visit poster's website
PilgrimX182



Joined: 22 Mar 2006
Posts: 1478
Location: UFO Lab

PostPosted: Sep 20, 2006 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Butch



Joined: 14 Sep 2006
Posts: 29
Location: USA

PostPosted: Sep 23, 2006 2:45 pm    Post subject: Post Priority Reply with quote

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. Laughing
Back to top
View user's profile Send private message Visit poster's website
PilgrimX182



Joined: 22 Mar 2006
Posts: 1478
Location: UFO Lab

PostPosted: Sep 25, 2006 5:50 am    Post subject: Reply with quote

Thanks! Very Happy

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
View user's profile Send private message Visit poster's website AIM Address
aaron v



Joined: 08 Nov 2006
Posts: 2

PostPosted: Nov 08, 2006 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Butch



Joined: 14 Sep 2006
Posts: 29
Location: USA

PostPosted: Nov 08, 2006 6:17 pm    Post subject: Post.php Reply with quote

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
View user's profile Send private message Visit poster's website
Butch



Joined: 14 Sep 2006
Posts: 29
Location: USA

PostPosted: Nov 08, 2006 6:22 pm    Post subject: Post.php Reply with quote

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
View user's profile Send private message Visit poster's website
aaron v



Joined: 08 Nov 2006
Posts: 2

PostPosted: Nov 08, 2006 11:03 pm    Post subject: Reply with quote

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 Smile

A redirect solution to an html page would be nice as a back-up, though.

Thanks!
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1478
Location: UFO Lab

PostPosted: Nov 09, 2006 6:24 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group