XUpload - don't show filename

Posts: 9
Joined: Jun 23, 2007 1:12 pm

don't show filename

#1 Postby tommy » Aug 12, 2007 8:04 pm

I like the summary after the upload, but I don't want to show the filename here.
I can't find where I have to change the code, so can you tell me please what I have to change?
I also don't want to show

Code: Select all

file.ext alredy exist!
renaming to file2.ext

Can I block this little detail from the summary?

Thanks, tommy


User avatar
Posts: 2183
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 13, 2007 5:34 am

In upload.cgi you can just comment lines like this:

Code: Select all

&lmsg("MSG:'$fn$ext' ".$c->{msg}->{already_exist}." '$fn$i$ext'.");

Code: Select all

&lmsg("MSG:File $fhash{file_name} already exist! New file wasn't saved.");

Code: Select all

&lmsg("MSG:'$fn$ext' ".$c->{msg}->{saved_ok});

Posts: 9
Joined: Jun 23, 2007 1:12 pm

#3 Postby tommy » Aug 13, 2007 7:27 pm

works perfect! thanks for your fast reply!


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests