Zum Inhalt springen

mm_forum und cwt_community gleiches avatar

Erstellt am 18. Oktober 2011 · Noch keine Antworten

Tags: Tipp

JayDee828 ·

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

###########################################################################
  # 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

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