Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_fetch_user_fullname as unique field for file uploads

  • Hi

    I’m trying to create a (very hacked and a bit unwieldy) way for users to upload photos and then automatically show them as part of their profile (its for a showcase of users work).

    So far I’ve succeeded on getting a simple upload script to work, but I need to add some script to change the filename of the uploaded file to some kind of unique identifier for the user who uploaded it (the upload script dumps all uploaded files into a single folder).

    Hopefully that will allow the script that calls the images to just look to the ones for the currently displayed user.

    Anyone know if I can use bp_fetch_user_fullname function as a unique id and if not, which field I should be using?

    Thanks chaps

    Ben

The topic ‘bp_fetch_user_fullname as unique field for file uploads’ is closed to new replies.