Ok, if your working on the functions_garage.php, found a couple bits that need to be updated.
These are the exact lines you can search for that need to be updated.
Code: Select all
@unlink(GARAGE_UPLOAD_PATH . $data['attach_location']);
@unlink(GARAGE_UPLOAD_PATH . $data['attach_thumb_location']);
@unlink(GARAGE_UPLOAD_PATH . $data['attach_thumb_location']);
(@file_exists(GARAGE_UPLOAD_PATH."/".$vehicle_data['attach_thumb_location'])) )
$thumb_image = GARAGE_UPLOAD_PATH . $vehicle_data['attach_thumb_location'];
$thumb_image = GARAGE_UPLOAD_PATH . $vehicle_row['attach_thumb_location'];
$thumb_image = GARAGE_UPLOAD_PATH . $usermods_row['attach_thumb_location'];
$thumb_image = GARAGE_UPLOAD_PATH . $gallery_data['attach_thumb_location'];
Those lines need to have the $phpbb_root_path . added infront of the GARAGE_UPLOAD_PATH.
Fixes up a lot of image problems if you have a non-default path for your forums.
Took a couple hours to sort through my custom hacks, but really the new code was quite clean, and I'm now working on catching any files I missed but it's up and running.
http://www.utahcartalk.com/modules.php? ... ile=garage
Grahn.