Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1461 posts 1883 karma points
    Sep 14, 2011 @ 17:45
    Gordon Saxby
    0

    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?

     

  • Gordon Saxby 1461 posts 1883 karma points
    Sep 14, 2011 @ 17:56
    Gordon Saxby
    0

    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 :-)

     

  • Lee 1130 posts 3088 karma points
    Sep 14, 2011 @ 18:01
    Lee
    0

    All the code for v1.2 is on codeplex if you get stuck :)

  • Gordon Saxby 1461 posts 1883 karma points
    Sep 14, 2011 @ 18:18
    Gordon Saxby
    0

    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.

     

  • Gordon Saxby 1461 posts 1883 karma points
    Sep 14, 2011 @ 19:26
    Gordon Saxby
    0

    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!

     

  • Lee 1130 posts 3088 karma points
    Sep 14, 2011 @ 19:52
    Lee
    0

    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.

  • Gordon Saxby 1461 posts 1883 karma points
    Sep 15, 2011 @ 10:46
    Gordon Saxby
    0

    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!

     

  • Rory 59 posts 84 karma points
    Sep 22, 2011 @ 13:41
    Rory
    0

    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

  • Neal Champion 1 post 21 karma points
    Dec 29, 2011 @ 12:32
    Neal Champion
    0

    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

  • Gordon Saxby 1461 posts 1883 karma points
    Dec 29, 2011 @ 13:51
    Gordon Saxby
    0

    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.

  • Lee 1130 posts 3088 karma points
    Jan 11, 2012 @ 11:31
    Lee
    0

    @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

Please Sign in or register to post replies

Write your reply to:

Draft