YAFLogo

rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Just looking at a thread will erase the First Name of the underlying DNN profile.
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
11 years ago
Originally Posted by: rjryerson 

Just looking at a thread will erase the First Name of the underlying DNN profile.



By default the yaf profile and the dnn profile are synced whenever one of them gets updated, if you dont want that you can turn it off in the DNN Module Settings.
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Originally Posted by: tha_watcha 

Originally Posted by: rjryerson 

Just looking at a thread will erase the First Name of the underlying DNN profile.



By default the yaf profile and the dnn profile are synced whenever one of them gets updated, if you dont want that you can turn it off in the DNN Module Settings.



Thanks for the work around.

By sync'd does that mean the YAF profile would replace the DNN profile?
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Sorry, but I don't see anything like that in Module Settings, what am I looking for?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
11 years ago
Originally Posted by: rjryerson 

Sorry, but I don't see anything like that in Module Settings, what am I looking for?



When you logged in as Host you should see the Menu Item "Edit DNN-YAF Settings" in the Module Action Menu on that Page you find the "Auto Sync Profiles" Option.

Quote:

By sync'd does that mean the YAF profile would replace the DNN profile?



It syncs both Profiles, if a user edits and save the profile in yaf the dnn profile gets updated, and when a user saves the dnn profile the yaf profile gets updated.
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Thanks for telling me where it is :)

I do have a couple questions about it.

1. If I unchecked it, will the forums not see new users of the site?
2. Is it possible to get this to sync from the site to the forums, but not in reverse?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
11 years ago
1. New users will be still imported to the forum when you turn the setting off.
2. When you turn it off profile will be only synced once when the user gets registrated in the forum. The dnn profile will be imported to yaf.
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Still something not right with this sync.

First, what does the forums sync DNN First Name, I see only "Real Name." Secondly, if the forums syncs both ways, shouldn't I be able to assign a first name in the site and have it update something in the forums? Every time, I can update the first name in the site, and every time the forums will erase the first name. That seems to me to indicate that it's a one way sync from the forums to the site.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
11 years ago
Originally Posted by: rjryerson 

Still something not right with this sync.

First, what does the forums sync DNN First Name, I see only "Real Name." Secondly, if the forums syncs both ways, shouldn't I be able to assign a first name in the site and have it update something in the forums? Every time, I can update the first name in the site, and every time the forums will erase the first name. That seems to me to indicate that it's a one way sync from the forums to the site.



Because yaf only has a Realname field the Syncronizer checks if the real name contains a space " " for example if i enter "John Doe" it syncs the dnn profile to first name "John" last name "Doe" if there is no space it use the real name as first name. Which would result in an empty first name field if you leave the Real Name field blank.

I could a check if real name is blank, dont sync it.
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
During the sync, wouldn't it pull down First Name and Last Name to make the real name? That's not going on, at least not correctly.

For example, in DNN my First and Last name are: Richard Ryerson

I can set that right now, as a matter of fact, I will.

Then, when I go to view my profile details in the forums, Real Name is "blank."

When I go back to my site profile, the First name is blank and the last name is still Ryerson.

So there isn't a sync from the site to the forums concerning the names, just the reverse - forums to the site.

Also, I can not update my forum profile, because we get a truncation error message. I believe it concerns the "Interests" field in the forums. You have this "linked" to the biography field of the site and this can store several K, but I think the Interests field is not that long.

Also, concerning the biography -> interests. Biography in the site is html encoded, it is not in the forums. Looks really bad in the forums.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
11 years ago
Originally Posted by: rjryerson 

During the sync, wouldn't it pull down First Name and Last Name to make the real name? That's not going on, at least not correctly.

For example, in DNN my First and Last name are: Richard Ryerson

I can set that right now, as a matter of fact, I will.

Then, when I go to view my profile details in the forums, Real Name is "blank."

When I go back to my site profile, the First name is blank and the last name is still Ryerson.

So there isn't a sync from the site to the forums concerning the names, just the reverse - forums to the site.

Also, I can not update my forum profile, because we get a truncation error message. I believe it concerns the "Interests" field in the forums. You have this "linked" to the biography field of the site and this can store several K, but I think the Interests field is not that long.

Also, concerning the biography -> interests. Biography in the site is html encoded, it is not in the forums. Looks really bad in the forums.



Ok you're right current code doesnt sync back the name correctly. Should be fixed now in the repository. I also removed bio -> interests syncing to solve this problem.
rjryerson
  • rjryerson
  • 71.6% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Great! Thanks! Will this be in the install downloads sometime soon?
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