4images Forum & Community

4images Modifications / Modifikationen => Requests for paid modifications / Jobbörse => Topic started by: TheRedEye on October 24, 2007, 12:44:31 PM

Title: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 24, 2007, 12:44:31 PM
I am having some problems with some mod I have added.
I'm using this mod so I could upload non-english files.
http://www.4homepages.de/forum/index.php?topic=17885
and it do works, I can put under "name" & "comment" non-english text. and the upload and all work perfect.

But here my problems comes:
I put this mod, that take the filename and put it as the image name - so you will not had to insert a image name.
http://www.4homepages.de/forum/index.php?topic=5750.0
And then when I'm uploading files in English names - it do works and the image name become the file name.
But when I'm uploading non-english files, I get this message:

Code: [Select]
Error uploading image file:
.jpg: Invalid file type (, image/jpeg)

I think it caused by this line on the "Filename = Image name" mod:

Code: [Select]
if (!$image_name)
{
  $image_name = $HTTP_POST_VARS['image_name'] = get_file_name($new_name);
}

Because in the error message it says
Code: [Select]
.jpg: Invalid file typeSo he cant read my language letters, but in the first mod it do works if I insert the name.

Anyway to fix it? For 10$ :)
MSN: TheRedEyes@gmail.com
ICQ: 1326582

Thanks Regrets
TheRedEye
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: thunderstrike on October 24, 2007, 01:19:19 PM
Quote
Anyway to fix it? For 10$

10$ what ? 10$ US, Euro ? What is currency ?
10$ is minimum fee for paypal. Programmer end with bit + $5.00 after transac. 10$ is final price ?
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 24, 2007, 02:05:55 PM
Can u do it? or u just asking?
Hmm, I can deal with you on MSN how much exactly u want on it..
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 24, 2007, 08:36:56 PM
can u do it or not?
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: thunderstrike on October 24, 2007, 08:38:00 PM
Please wait for reply :!:

Install this fix from V@no ?

http://www.4homepages.de/forum/index.php?topic=5750.msg58841#msg58841
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 24, 2007, 08:51:52 PM
hmm
yes i did..
not helping anyway..
I this could solve the problem
http://www.4homepages.de/forum/index.php?topic=17885.0
cause it works if i put the name on my language. but not when I m reading the name from the file
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: thunderstrike on October 25, 2007, 02:33:55 AM
Then, you no need custom work. You need support from admins for this.
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 25, 2007, 09:36:15 AM
what do u mean?
I was thinking if I could take the string of the filename out of this
 C:\Documents and Settings\Home\Desktop\שרת\index.files\aaaa.jpg
str.lastIndexOf("/")
and -4 from the end of the string
then when the button is pressed I will put it in the name image_name and send the File..
I'm not so good with JS can you help me how to write it?
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: thunderstrike on October 25, 2007, 12:31:27 PM
Quote
str.lastIndexOf("/")

You use tomcat with 4images ? Sorry ... I no good for JS / Java (right now) ...
If problem with patch, please report to patch topic. I no get why Nicky redirect topic here.
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: Nicky on October 25, 2007, 12:51:53 PM
[start offtopic]
i didn't redirected, he opened new thread
last thread i deleted.
[end offtopic]
Title: Re: Solve my simple problem for 10$ thoguht paypal
Post by: TheRedEye on October 25, 2007, 08:15:48 PM
Hmm someone can help me?