YAFLogo

balda
  • balda
  • 53% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Hello,

I have integrated yaf with my site but now I am trying to use one avatar regardless user use my site or yaf forum.

I'd like to use avatar from yaf in my site. I want to be able to change avatar on my site and see avatar changes in yaf forum too. How I can achieve this?

Thank you!

Sponsor
RichP714
  • RichP714
  • 100% (Exalted)
  • YAF All-the-Time
13 years ago
host settings
Enjoy!

Running YAF 1.9.5.5 final at: http://thecarversite.com 

balda
  • balda
  • 53% (Neutral)
  • YAF Forumling Topic Starter
13 years ago

host settings

Originally Posted by: RichP714 

Rich thanks for reply, but I am looking to use yaf avatar in my website and access it using my program written in C#.

I want to access it and modify it, I am looking for yaf API on how to do it from my program.

Thank you

balda
  • balda
  • 53% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I need access from my C# program to yaf avatar with ability to show and change ( at least to show it on my end!

Any ideas?

balda
  • balda
  • 53% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

I need access from my C# program to yaf avatar with ability to show and change ( at least to show it on my end!

Any ideas?

Originally Posted by: balda 

You get the Url to the yaf avatar of the user with


YafContext.Current.Get<IAvatars>().GetAvatarUrlForUser(yafUserId);