I just installed the upload hack last night and I can't get it to work properly. Uplading from the CP is ok, viewing them is okay. The pictures come up in the right dir and all. The problem is in the user profile. The photo desc comes up alright, but not the pic itself:
http://www.juventuz.com/forum2/membe...tinfo&userid=3
I followed the instructions and there seems to be a problem right about here:
Code:
if ($userinfo[picture_name] !="") {
eval("\$picture_name = \"".gettemplate("photo_show")."\";");
} else {
$userinfo[picture_name]=$userinfo[picture_name];
eval("\$picture_name = \"".gettemplate("photo_unknown")."\";");
}
What happens is that $picture_name in the getinfo template seems to remain empty. Instead of displaying photo_show or photo_unknown it doesn't display anything. There is nothing at all in the html code where that is supposed to come up.
The reason for all that could possibly be in the upload.php file itself, leaving the variable empty. I may be completely off course, trying to reason despite my ignorance of php and mysql.
Upload is at:
http://www.juventuz.com/forum2/upload.php