|
|
Re: Include a script as a url for avatar [message #36189 is a reply to message #36131] |
Wed, 07 March 2007 16:18 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
Thank you. What I am looking for is having the user input the url themselves and then let it be moderated. I don't want to do this for 189 users each time they earn a new level. Where can I go to modify the code to allow this style of url?
|
|
|
|
Re: Include a script as a url for avatar [message #36213 is a reply to message #36198] |
Thu, 08 March 2007 19:16 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
I looked at the code and found the problem. The software is not saying if the image is not meeting the size limitations. It simply says that the url does not contain a valid image. This is a confusing message. Is this something that could be updated to provide a more informative message in the main branch?
[Updated on: Thu, 08 March 2007 19:17] Report message to a moderator
|
|
|
Re: Include a script as a url for avatar [message #36223 is a reply to message #36213] |
Fri, 09 March 2007 00:31 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
well a script is a non valid hence the problem. the forum uses get_image_size() function from PHP, if it does not return valid data it assumes that the file is non-valid.
FUDforum Core Developer
|
|
|
Re: Include a script as a url for avatar [message #36451 is a reply to message #36223] |
Sat, 24 March 2007 16:07 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
Just to follow up on this, fud works for the aforementioned scripts. It was a matter of avatar size and the message states that it is invalid not the wrong size. My users get the invalid message if their image (static or dynamically generated from a script) is not the correct size. I will modify the text to say the image is not valid or does not meet the size limitations. Or something like that...
|
|
|