---
title: "mm_forum und cwt_community gleiches avatar"
url: "https://www.typo3.net/d/107813-mm-forum-und-cwt-community-gleiches-avatar"
source: "typo3.net"
tags: ["Extensions","Tipp"]
created: "2011-10-18"
last_reply: "2011-10-18"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# mm_forum und cwt_community gleiches avatar

Extensions · 0 Antworten · gestartet 2011-10-18

## Eröffnungsbeitrag

**JayDee828** · 2011-10-18 · [Beitrag #1](https://www.typo3.net/d/107813-mm-forum-und-cwt-community-gleiches-avatar/1)

nach langem Suchen habe ich es geschafft, in der cwt_community das avatar vom mm_forum zu benutzen.

Folgende Einträge mußten nur verändert werden:

im TS-Setup:
in der Profile Configuration der CWT_COMMUNITY

Eintrag custom_pic_db_field und custom_pic_path belegen

```typoscript
###########################################################################
  # Profile configuration
  ###########################################################################  
  profile.use_md5_hashed_passwords = {$plugin.cwt_community.profile.use_md5_hashed_passwords}
  #profile.custom_pic_db_field = 
  #profile.custom_pic_db_field = tx_cwtcommunityuser_image
  profile.custom_pic_db_field = tx_mmforum_avatar
  #profile.custom_pic_path = 
  #profile.custom_pic_path = uploads/tx_cwtcommunityuser/
  profile.custom_pic_path = uploads/tx_mmforum/
  profile.imagePopup{
```

dann in der Datei typo3conf\neu\ext\cwt_community\res\class.tx_cwtcommunity_lib_constants.php

den Eintrag const PATH_USER_PROFILE_IMAGES kommentieren

```php
class tx_cwtcommunity_lib_constants {

        /*
     * Please notice that the output is REMOTE_ADDR dependant. It will output
     * content only if your IP address as client matches a certain list found
     * in TYPO3_CONF_VARS[SYS][devIPmask].
     */
        public static $DEBUG_TS_CONFIGURATION = false;
        public static $DEBUG_SQL_QUERIES = false;

#        const PATH_USER_PROFILE_IMAGES = 'uploads/tx_cwtcommunityuser/';
```

Das sollte es eigentlich gewesen sein.

Gruß
JayDee

---

Quelle: „mm_forum und cwt_community gleiches avatar“, typo3.net, https://www.typo3.net/d/107813-mm-forum-und-cwt-community-gleiches-avatar
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
