Hallo!
Ich würde gerne die Benutzereinstellungen für das mm_forum um das Bild für den fe_user erweitern.
Bisher habe ich in folgende Änderungen vorgenommen:
// PHP
typo3conf/ext/mm_forum/pi5/class.tx_mmforum_pi5.php
in der Funktion list_userdata
if (t3lib_div::GPvar("action") == "image_upload") $content = $this->avatar_upload($content,$conf);
$imgTSConfig = $conf['image.'];
$imgTSConfig['file'] = 'uploads/pics/'.$row['image'];
// $imgTSConfig['file'] = $conf['path_image'].$row['image'];
$marker['###IMAGE###'] = $this->cObj->IMAGE($imgTSConfig);
if ($row['image']) {
$marker['###IMAGE_DEL###'] = '<input type="checkbox" name="mmf[del_image]" />'.$this->pi_getLL('delete_image');
} else $marker['###IMAGE_DEL###'] = '';
--> Leider wird der "path_image" nicht geladen
// Konstanten
typo3conf/ext/mm_forum/ext_typoscript_setup.txt
# Path for profile-image
path_image = uploads/pics/
# Profile image dimensions
image_height = 120
image_width = 104
// TSCONF-Arraystypo3conf/ext/mm_forum/ext/ext_tables.php
$tempColumns = Array (
"image" => Array (
"exclude" => 1,
"label" => "LLL:EXT:mm_forum/locallang_db.php:fe_users.image",
"config" => Array (
"type" => "group",
"internal_type" => "file",
"allowed" => "gif,png,jpeg,jpg",
"max_size" => 2000,
"uploadfolder" => "uploads/pics",
"show_thumbs" => 1,
"size" => 1,
"minitems" => 0,
"maxitems" => 1,
)
),
//locallang.php
"delete_image" => "Bild löschen",
'image.uploadImage' => 'Bild hochladen',
'image.image' => 'Bild',
Wie kann ich denn die Avatar-Upload Funktion für meinen Image-Upload nutzen?
Gruß, Daniz