I am very pleased to see a real forum available for DNN!
I thought I would share my thoughts and comments here about the DNN integration in hopes of improving the integration.
First, I had some issues just after the installation. The installation itself went fine, but when I would attempt to import the DNN users into YAF via the provided DNN module button, it would bring in about 5-60 users and then give me the following error:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at YAF.DotNetNuke.Utils.UserImporter.CreateYafUser(UserInfo dnnUserInfo, MembershipUser dnnUser, Int32 boardID, PortalSettings portalSettings, YafBoardSettings boardSettings) at YAF.DotNetNuke.YafDnnModuleImport.ImportClick(Object sender, EventArgs e) --- End of inner exception stack trace ---
I found that if I reloaded thepage after the error, I would get 5-100 more users. Over the course of an hour or so and clicking this button a great many times (each time seeing this same error) I finally got my 1400 users imported. Now that they are all imported, I don't see this error anymore when clicking that button, but it does take quite a long time to run.
I have no explanation for this at this time although I do suspect than DNN 7.01.01 has some issues of its own that may be contributing to this behavior.
Once I got this up and going, I then tested to see how the creation of DNN security roles would show in YAF. I was a little surprised to find that they didn't unless I press the button again, which takes over a minute,
From what I could tell, this isn't something that I would want to run very frequently since it appears to be rather resource intensive.
That posed a fairly significant problem for me. My goal is to create an Owners Club fro my product(s). Therefor, when someone buys one of my products, I want my store to assign them to a DNN role, thus granting them access to a particular forum(s).
I then went looking for a stored proc that might be performing this synchronization but soon discovered that this was all done in code.
At this point I'm stuck and wondering if there may not be a more efficient way to perform the synchronization, or in a perfect world, maybe there is a web service for creating YAF and DNN accounts and assigning them to roles?
Surely someone else has attempted to achieve similar functionality?
I'm not a wildly wealthy guy but I would like to contribute toward a DNN integration of YAF. Is there a donation area for this type of thing?
Edited by user
9 years ago
| Reason: Not specified