HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Adding an Image Datatype Entry - <font color="#006600">Make $50-$100</font>Adding an Image Datatype Entry - Make $50-$100
Previous
 
Next
New Post
6/2/2008 11:09 PM
 

If you send me how-to-instructions on adding an image datatype, I'll send you $50-$100 through:
  Google Checkout PayPal

I need help adding an Image datatype to the user's profile property editor. If you login as Host and hover over the Host Menu and then select the "List" subitem you will see a datatype folder listed in the accordian style menu to the left. Select the "datatype" folder and you will then see a List Detail module with about 12 entries listed.

Here's a screenshot of the List Details Module you should now see on your screen:

  List Details


DataType

12 entries
 Add Entry   Delete List

    Text Value    
DotNetNuke.UI.WebControls.CheckEditControl, DotNetNuke TrueFalse    
DotNetNuke.UI.WebControls.DateEditControl, DotNetNuke Date    
DotNetNuke.UI.WebControls.DateTimeEditControl, DotNetNuke DateTime    
DotNetNuke.UI.WebControls.DNNCountryEditControl, DotNetNuke Country    
DotNetNuke.UI.WebControls.DNNListEditControl, DotNetNuke List    
DotNetNuke.UI.WebControls.DNNLocaleEditControl, DotNetNuke Locale    
DotNetNuke.UI.WebControls.DNNPageEditControl, DotNetNuke Page    
DotNetNuke.UI.WebControls.DNNRegionEditControl, DotNetNuke Region    
DotNetNuke.UI.WebControls.DNNRichTextEditControl, DotNetNuke RichText    
DotNetNuke.UI.WebControls.DNNTimeZoneEditControl, DotNetNuke TimeZone    
DotNetNuke.UI.WebControls.IntegerEditControl, DotNetNuke Integer    
DotNetNuke.UI.WebControls.TextEditControl, DotNetNuke Text

These are all the DotNetNuke core datatypes that are used when creating the profile fields of the DNN registration form. I'm trying to find a programmer that knows how to add an image datatype field to the list above. I heard that adding a datatype should be a quick and easy task, I just want to learn the basics of extending the profile property editor. For example, once the new datatype is added how can I limit the file size and pixel size of the user's image. Also how do you replace the old user image with the new user image when the user decides to change their image in the manage your profile section?

 
New Post
6/3/2008 5:06 PM
 

I've not made an image one before so i can't answer specific questions about that, but it is quite easy to create new ones. The general background can be read @ http://www.dotnetnuke.com/Community/BlogsDotNetNuke/tabid/825/EntryID/457/Default.aspx and Charles go through a detailed tutorial @ http://www.dnndevzone.com/Library/tabid/126/ArticleId/4/Default.aspx

Cathal

 
New Post
6/3/2008 6:31 PM
 

It would be great if the image type were added to the core - it really helps the user profile and then all modules could standardise their approach to this (ie. the Forum use their own avatar, I use my own image on the Smart-Thinker profile module etc.)


Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
6/4/2008 6:08 AM
 

I have read that it is easy to do before but the issue as Rodney stated is that this really needs to be a part of the standard Profile.

An Image is such a clear part of an Identity profile and it just doesn't make sense to have each module developer create their own extension for this that isn't known or available to other modules.

Thanks for listening.

 
New Post
6/4/2008 7:08 AM
 

One of the things I want to do with my Image Editor control DNN Forge project  (http://codeplex.com/imageeditor) to wrap it into an image data type property edit control for use in the user profile but have not had time to look deeply into how this is done. I am particularly uncertain as to how to allow the developer/dnn profile to set the many properties of this control such as image size, aspect ratio, etc.  Perhaps someone more familiar with the property edit controls and the user profile would like to take this on (hint).


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project
Extensions Forge Projects - UserExport, ContentDeJour, ePrayer and ImageEditorControl
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Adding an Image Datatype Entry - <font color="#006600">Make $50-$100</font>Adding an Image Datatype Entry - Make $50-$100


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.