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
Originally Posted by: RichP714 

host settings


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: 3.0.3
13 years ago
Originally Posted by: balda 

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?



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


YafContext.Current.Get<IAvatars>().GetAvatarUrlForUser(yafUserId);
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button