Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 23. Nov 2024, 19:01

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 19. Nov 2006, 03:28 
Offline

Joined: 19. Nov 2006, 03:22
Posts: 4
I can't figure out how to get this function to trigger when the upload is finished. I tried everything. I read all the documentation (included and online), FAQ's, searched this forum and tried Google.

Can you provide a working sample of this?

I use the following setting and I have it uploading perfectly to my web server.

$upload_file = "&upload_file=save.php";

Conrad


Top
 Profile  
 
PostPosted: 19. Nov 2006, 03:30 
Offline

Joined: 19. Nov 2006, 03:22
Posts: 4
I forgot to mention that I am using the unlimited version.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 00:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yopu have to set : $upload_finished_js_url

the example is in the comment right to it!
And the html file in the donwlaod has already dummys for js functions!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 17:13 
Offline

Joined: 19. Nov 2006, 03:22
Posts: 4
I have that but I dont understand the sample. What are the question marks beside it for. Do they provide status in the loc variable passed to the script? I alert it and get nothing.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 17:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if the upload is finshed and you e.g. set

$upload_finished_js_url = "&upload_finished_js_url=status.php";

The the javascript function uploadFinished(loc) in e.g. twg_flash_uploader.html is called!

put an alert in there first :).

loc is the parameter you specify in the config - here: sttus.php.

And with javascript you can e.g. load someithing in an iframe or whatever you want.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 17:39 
Offline

Joined: 19. Nov 2006, 03:22
Posts: 4
Now it makes sense! Thanks so much. :lol:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 63 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy