it would be really nice if you could provide filefield_paths functionality to profile-pictures. at this time, profile-pictures takes the value for filepath from original user-profile-pic-settings, wich is fine. but a more sophisticated filepath and filename functionality as seen as at module filefield_paths, where you can use tokens to define a path and filename per field would be the ultimate ;-)

example filename:
[user-id]-[picturefieldname]-[number].jpg

filefield_paths: http://drupal.org/project/filefield_paths

as long as there is no unified general interface for "all pictures concerns", where you can define filepaths, filenames and other properties, endusers must invent "workarounds" for specific problems. the described feature request is required to fulfill a need of a special affiliate website, where i use profile (and related modules) to realise an "affiliate profile" where custom php-code through module rules generates affiliate-id-number (and other stuff) and where also 4 graphics-fields are needed (commercial-ads-graphics of a specific affiliate). so all affiliate-data is bound to the drupal user profile.
before you ask: content-profile and node-profil were tested and could not resolve the upcoming problems. so i went back to core profile module.
i read that in drupal 7, core profile fields will also be cck fields automatically (as cck will be in core), but i have to construct this website now and cannot wait until drupal 7 is ready to roll, unfortunately.

maybe you can provide this functionality to your module so that your module will be the standard solution for all people that have to choose drupal 6 and fill in the gaps of the original profile module ;-)

Comments

yeputons’s picture

The FileField Paths module extends the default functionality of Drupals core Upload module, the FileField module and many other File Upload modules by adding the ability to use node tokens in destination paths and filenames.

Is module FileField also useable for profile pictures (we don't need any node tokens)?

yeputons’s picture

Oops. Sorry, I've understood my mistake. I thought that FileField_Paths is extension for FileField module and the second one is the same as the first one is. :)
Patch will be done and commited in several days. May be it will be a new release.

yeputons’s picture

This functionality is added in beta1. But I think that integration with Token module will be better, because your module provides also node tokens which are not needed. I've released 1-1-beta1 version and waiting for Drupal's releasing robot.

yeputons’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.