After a dismal couple of days trying to integrate YAF ... I finally realised nForum was available!!
Anyway, I have installed it, merged the main template into the site template and setup a forum node and a category ... however the category does not show up.
OK, panic over (for now) I've just noticed that there was already a "Forum" section added at the root level ... I had added one underneath the "Home" node (as that is how the site has been set up).
Umm yes, I might be again ... the top level category shows but I get an error when trying to view the sub categories -
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
nForum.usercontrols.nForum.ForumTopics.GetTopicsFromCategory() in C:\Users\Lee\Documents\My Dropbox\Projects\nForum\nForum\usercontrols\nForum\ForumTopics.ascx.cs:153
nForum.usercontrols.nForum.ForumTopics.Page_Load(Object sender, EventArgs e) in C:\Users\Lee\Documents\My Dropbox\Projects\nForum\nForum\usercontrols\nForum\ForumTopics.ascx.cs:22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
Of course, I need to get this working quicker than ASAP !! :-(
Any ideas what might be wrong? An existing site, I installed direct from within Umbraco.
1: is it worth / safe to download the latest code from CodePlex (v1.3?)
2: on the video here http://www.blogfodder.co.uk/2011/1/28/nforum-how-to-screencasts it shows a property called "Forum Main Category Level" ... this doesn't appear to be there anymore - is this now handled automatically somehow? I need to have "forum" one level down which means the categories will be 2 levels down!
Only download the code for v1.2, the other ones are me starting to change stuff and then giving up... that video was for v1.1 and in 1.2 its not needed anymore, the main category flag is on the actual categories now I think.
I took the Forum master template and incorporated it into the existing site master template (actually, as a child template) and didn't notice that the Head section had runat="server"
I added this to the site master template and now everything seems to be working!
nForum certainly was "current" when I used it a few months ago!?
I had to incorporate the forum into an existing Umbraco website, so I took the supplied templates, etc, and merged it with the code / templates / etc of the existing site. After solving the issues above, it worked fine. I didn't document the exact steps I took ... they would be specific to the site I did it for anyway.
Top level categories not showing
After a dismal couple of days trying to integrate YAF ... I finally realised nForum was available!!
Anyway, I have installed it, merged the main template into the site template and setup a forum node and a category ... however the category does not show up.
Any ideas where to look / what the fault may be?
OK, panic over (for now) I've just noticed that there was already a "Forum" section added at the root level ... I had added one underneath the "Home" node (as that is how the site has been set up).
The categories are now showing :-)
All the code for v1.2 is on codeplex if you get stuck :)
Umm yes, I might be again ... the top level category shows but I get an error when trying to view the sub categories -
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
Of course, I need to get this working quicker than ASAP !! :-(
Any ideas what might be wrong? An existing site, I installed direct from within Umbraco.
OK, 2 things:
1: is it worth / safe to download the latest code from CodePlex (v1.3?)
2: on the video here http://www.blogfodder.co.uk/2011/1/28/nforum-how-to-screencasts it shows a property called "Forum Main Category Level" ... this doesn't appear to be there anymore - is this now handled automatically somehow? I need to have "forum" one level down which means the categories will be 2 levels down!
Only download the code for v1.2, the other ones are me starting to change stuff and then giving up... that video was for v1.1 and in 1.2 its not needed anymore, the main category flag is on the actual categories now I think.
In case anyone else needs to know ...
I took the Forum master template and incorporated it into the existing site master template (actually, as a child template) and didn't notice that the Head section had runat="server"
I added this to the site master template and now everything seems to be working!
Hi Gordon,
I'm also trying to integrate nForum into an existing site. Would you mind outlining the steps you took to get it up and running please?
many thanks
Rory
Is nForum still current? There's not much activity on here in recent months.
I'm also trying to install nForum into and existing Umbraco site, and really struggling. Any help gratefully received...
Thanks
Neal
nForum certainly was "current" when I used it a few months ago!?
I had to incorporate the forum into an existing Umbraco website, so I took the supplied templates, etc, and merged it with the code / templates / etc of the existing site. After solving the issues above, it worked fine. I didn't document the exact steps I took ... they would be specific to the site I did it for anyway.
@Neal - There will be a new version released in the next few days, the other versions will be removed off here. So it will be current very soon
is working on a reply...