Products

Solutions

Learn More

Partners

Community

Blog

About

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...Skins, Themes, ...Skins, Themes, ...How to put the current users profile pic in a skinHow to put the current users profile pic in a skin
Previous
 
Next
New Post
9/2/2015 11:08 AM
 

How does one put the current user's profile in a skin as is done on the DNN website?  Is there a skin object that does this?  I was only able to find one other post regarding this but the answer was not useful.

 

 
New Post
9/2/2015 2:47 PM
 
I'd check out the default (Gravity) skin, which already includes the same access to profile (pic) and messages.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
9/2/2015 3:02 PM
 

Thanks, but actually it doesn't.

It uses the USER skin object, with an expanded register group in which the profile pic is a part, but does not have a stand alone pic.  I want to use the pic (or icon when a user is not logged in) as the link to the social links in a dropdown - exactly like the DNN site uses it.

 
New Post
9/2/2015 3:54 PM
 
James Brown wrote:

How does one put the current user's profile in a skin as is done on the DNN website?  Is there a skin object that does this?  I was only able to find one other post regarding this but the answer was not useful.

 

 <img src="<%=UserController.GetCurrentUserInfo().Profile.PhotoURL%>" />

Should work.

 
New Post
9/2/2015 4:01 PM
 

Thanks.  That's a good start.  Now to set the size of the displayed image.......

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to put the current users profile pic in a skinHow to put the current users profile pic in a skin


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW