Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...[Image profilefield] Some questions[Image profilefield] Some questions
Previous
 
Next
New Post
2/22/2011 3:12 PM
 

Hi all,

First; I'm not sure if I picked the right subforum for this topic. If not, please be so kind as to move it over to the right one :)

Currently our company is running it's intranet-site using DNN 5.2.3. Next to some custom DNN-modules, I also developed a custom profile-datatype, based on the GMail-uploader (circling around on the internet), for letting users have a photo in their profile. This is working fine, but it does have it's flaws (no SSL-support, for example).

Now this: I recently performed a test-upgrade from DNN 5.2.3 to 5.6.1 on a copy of our intranet-environment, where I, amongst some other changes, discovered that DNN now has it's own image-datatype for using as a field in the user profile. It seems to have a nice, intuïtive, interface.

As I'm already doing a little brainstorming about replacing our custom photo-datatype with the default one that DNN includes, there are some questions about it, that I need answered.

Users are able to have several photo's uploaded at the same time, afterwards making them able to decide (pick) which one to use. There's however no way to delete an uploaded photo. Therefore, I have 2 questions about this:

1. Is there, perhaps, a hidden option somewhere to enable the possibility to have users delete photo's from their profile?
2. Is it somehow possible to limit the number of photo's, users are able to store at once?


The Image-datatype is storing the uploaded photo's in a tree of subdirectory's under the folder 'Users', in the portal's root. I can't exactly find out how the folderpath is being constructed per user. It seems the deepest subdirectory is the UserID. This is important to know for me, in case we migrate our current users' photo's to the new Image-datatype field and I have to move them over. Therefore my questions on this:

3. How is the Image-datatype's per-user foldertree constructed?
4. What method do I use best to upload a users' image, for that user, to DNN, from code (C#) and/or database? I'm thinking perhaps there's either some function/procedure in one of DNN's DLL-files or a stored procedure in the DNN-database to do this, instead of manually having to add all records to their rightful tables.

That's it for now I think :)

Thanks in advance for answering!
 
New Post
3/3/2011 6:46 PM
 
*bump*



Anyone care to help me out here (even a little would already be appreciated)?
 
New Post
3/7/2011 6:38 AM
 
Guess I'm gonna have to sort it out myself.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...[Image profilefield] Some questions[Image profilefield] Some questions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out