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 29. Mar 2024, 13:33

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  [ 3 posts ] 
Author Message
PostPosted: 15. Nov 2010, 19:19 
Offline

Joined: 13. Aug 2009, 22:19
Posts: 19
Hi

I'e added the description to jfu, however i use another compoent for reading the files which need to be the exact same filename except for the extension before .txt

EG i upload an mp3 file called mymusic.mp3 add the desciption in teh uplaoder, file created is mymusic.mp3.txt - cIs there a way to get rid of .mp3 in the txt file?


is this possible?

Many thanks

Ben


Top
 Profile  
 
PostPosted: 15. Nov 2010, 21:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yes - see the prefix plugin.

You can do the same what is done in there except renaming anything. The new filename is then used later on for the description.
The only problem is that the filename is also used later on to clean the thumbs cache (which I think you have not activated ;).)
And that this name is used in the e-mail notification...

For a nicer solution you simply have to edit tfu_upload.php (a removeExtension method is already available).

- Michael


Top
 Profile  
 
PostPosted: 16. Nov 2010, 01:51 
Offline

Joined: 13. Aug 2009, 22:19
Posts: 19
Ok will loook into that tomorrow - many thanks.

Quick question - if i set my session cookie lower ( say 10 minutes) and say i or a member wanted to use the frontend upload. Upload a file thats large and takes say 40 minutes, will the file stil upload or will the session cut the download or create a problem? Just so i know before i test it!

Cheers

Ben


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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