Copied to clipboard

Flag this post as spam?

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


  • Mihai Osvat 20 posts 40 karma points
    Feb 15, 2013 @ 14:19
    Mihai Osvat
    0

    Using nForum on Umbraco 6

    Hello everyone,

    Did anyone manage to get nForum working on Umbraco 6 ? After the installation, I got a YSOD when I click on "Content" root node, also one of the macro is not working (ListAllPostsInTopic I think ...)

    In the YSOD there's a problem with this function nForum.dashboard.ForumMainDashboard.GetBadPosts() "Object not set to a refference ...etc.."

  • Mihai Osvat 20 posts 40 karma points
    Feb 15, 2013 @ 15:18
    Mihai Osvat
    0

    As a reply to my own question, it works on Umbraco 6, at least with a blank installation, however it's not my case, I also have a different MembershipProvider ... and a lot of pages, document types, macros and so on.

  • umnikks 4 posts 24 karma points
    Mar 11, 2013 @ 15:45
    umnikks
    0

    I also have the same problem. nForum not work in v6 and v 6.0.2.  

  • Paul 11 posts 41 karma points
    Apr 16, 2013 @ 20:58
    Paul
    0

    I managed to get 1.6 working on 6.0.3.  I was upgrading an existing site from 4.9.1 to 6.0.3 and got the same errors you did at first - clicking on 'content' node etc.  I upgraded nforum 1.5 to 1.6 but had to tweak ExamineIndex.config and ExamineSettings.config which seemed to be malformed or missing required nodes.

    Refer to the source on codeplex and compare against yours:

    http://nforum.codeplex.com/SourceControl/changeset/view/ae8f92ddb261#nForum/config/ExamineIndex.config

    http://nforum.codeplex.com/SourceControl/changeset/view/ae8f92ddb261#nForum/config/ExamineSettings.config.

  • Kasper 14 posts 49 karma points
    Apr 17, 2013 @ 22:47
    Kasper
    0

     Paul Horridge, you did not do anything else? cause i did the update on the 2 config files.. and still no luck..

    My problem is that the ForumMainList.ascx control dosent display any of the categories created in backend...

  • Paul 11 posts 41 karma points
    Apr 17, 2013 @ 22:52
  • Kasper 14 posts 49 karma points
    Apr 18, 2013 @ 10:36
  • Lee 1130 posts 3088 karma points
    Sep 13, 2013 @ 16:35
    Lee
    0

    Just released v1.7 which works on v6.1+ of Umbraco

  • Daniil 10 posts 31 karma points
    Sep 27, 2013 @ 13:51
    Daniil
    0

    Am I correct that package should create specific forum member groups on install? I have troubles finding documentation and nforum vimeo video wouldn't play sound for some reason.

    Sorry, but link to blog instead of documentation didn't really help. Or it's just me missing things. After all, many people use it somehow.

  • William Charlton 171 posts 218 karma points
    Oct 21, 2013 @ 19:19
    William Charlton
    0

    I have just installed v1.7 nForum on Umbraco v6.1.4 I had a hitch with permissions (nothing new there!) as nForum needs Modify rights to /config/UrlRewriting.config

    >> Lee - Would it be possible for you to post a list of all files which require Modify rights for Install and any required over the usual list after install? Also could you tell me if nForum uses the umbracoPath set in the web.config? I'm compiling a list of which packages need what permissions and which work with a renamed admin area; following a discussion on LinkedIn.

    I re-ran the install and it all seemed to succeed. I now had two nForum nodes in my content, Forum and Forum(1). Assuming Forum(1) was the latest, I deleted Forum.

    I then published all the Forum, Forum/Forum Search, Forum/Forum Register and Forum/Forum Login content nodes. These then appeared in my menu.

    When I try to open any one of these pages I get

    Object reference not set to an instance of an object.

    Any ideas?

    I'm running this on XP with IIS 5.1 .Net 4.0

  • Lee 1130 posts 3088 karma points
    Oct 21, 2013 @ 19:28
    Lee
    0

    Eeek. Best to read this post about checking the install.

    http://www.blogfodder.co.uk/2013/10/12/how-to-use-the-nforum-source-to-debug-your-forum

    In regards to files on install... I 'think' from memory, the only files it needs to edit now are these:

    UrlRewriting.config
    Web.Config

    As per the link above, it might be worth just grabbing the source and debugging it - If the install check doesn't work.

  • William Charlton 171 posts 218 karma points
    Oct 21, 2013 @ 19:47
    William Charlton
    0

    :) Not Eeek really.

    Thanks, I'll plough through this tomorrow and report back, it's been a loooooong day.I might actually try a fresh install in case I screwed something up first time.

    Do you know if nForum plays ball with umbracoPath? i.e. if I change it to /myadminxyz would nForum fall over in any way or maybe not install?

    It is just a thought but I have a top level "Site" node which is just a holder for all the web pages and I moved the Forum under that. I don't know if that might be part of the problem?

  • Lee 1130 posts 3088 karma points
    Oct 21, 2013 @ 20:53
    Lee
    0

    Honestly. Re: umbracoPath I don't know.

  • William Charlton 171 posts 218 karma points
    Oct 22, 2013 @ 17:20
    William Charlton
    0

    I have just done a complete new installation and apart from getting Oops: this document is published but is not in the cache (internal error) Others have had the same problem but I managed to clear it by publishing the whole site.

    I'm now back to

    Object reference not set to an instance of an object.

    Which appears to be something to do with:

    2013-10-22 15:46:12,734 [19] WARN  umbraco.macro - [Thread 1] Error loading userControl (~/usercontrols/nForum/ForumMainList.ascx). Exception: System.NullReferenceException: Object reference not set to an instance of an object.

    I don't have the will to load the source in VS and debug. I have a Win 7 PC arriving soon so I'll see if that is any better. I'm on my (normally) trusty XP machine and it COULD be something to do with IIS or just being an old machine, I don't know.

    I've not quite given up but I'm close.

  • William Charlton 171 posts 218 karma points
    Jan 14, 2014 @ 16:40
    William Charlton
    0

    I'm back again with new PC and still having problems. I suspect some of it is down to the umbraco core though.

    I have an existing Group called Translators, with properties such as language1 and language2

    I created a member, TransTest, and added them to the Tranmslator Group

    I set up nForum and added TransTest to the ForumUser group this gave me Problem 1) I now get an error on the Content Node and when I tried to log in to the forum using the TransTest credentials.

    This could be the problem posted on http://our.umbraco.org/projects/website-utilities/nforum/general/17060-Error-when-login-is-failed-nForum - it looks like I can get round this by adding the ForumUser properties (shouldn't that be ForumMember? But never mind) - this seems an odd requirement but hey, if I can get round it I can live with it.

    I then registered a new member (ForumTest) on the forum - which seemed to work. I then added this Member to the Translator group.

    Problem 2) Now looking at the two members they look as if they are in the same groups but the properties available for each Member are only those of the first group they are added to. Umbraco Core bug??

    Problem 3) When logging in to the forum I'm not sure I am actually logging in, how can I tell?

    I have a Razor-based LogIn-LogOut form and that indicates I am not logged in. I have a Public Access area restricted to Translators and can't access that so that also indicates I am not logged in.

  • William Charlton 171 posts 218 karma points
    Jan 14, 2014 @ 17:23
    William Charlton
    0

    The App_Data/Logs/UmbracoTraceLog.txt show an SMTP error (I haven't set this up yet) so I jury rigged the SMTP using http://our.umbraco.org/wiki/how-tos/verify-that-your-smtp-settings-are-not-preventing-you-from-sending-e-mail

    nForum now sends me a blank email when a new Member registers - is that supposed to happen?

    I then set Forum Manually Authorise New Members to False
    and
    Forum Email Admin On New Member Sign Up to False (just in case)

    I restarted the web-site and this seems to fix Problem 3

    I guess the nForum login code hits the SMTP send function, fails and falls over.

    Now to jury-rig /fix Problem 1

    I'm guessing Problem 2 is an Umbraco "feature".

  • William Charlton 171 posts 218 karma points
    Jan 20, 2014 @ 17:03
    William Charlton
    0

    I now understand the issue with nForum and a site with an existing membership system, i.e. different member-types. If you add an existing member-type to the ForumUsers group, nForum (and other parts of Umbraco) fall over because the existing member-type does not have the correct properties for nForum.

    One solution is to add the nForum properties to the existing member-type(s)

    Another is to use the ForumUser member-type as the basis for all member-types, messy but doable - in theory.

    I decided to go the second route but am not sure how to add properties to the ForumUser. Adding the properties to the Document Type is easy but how do I add them to the registration, update details etc.. forms. I assume this requires modifying and compiling the source files? Any guides on this?

     

  • Devin 87 posts 251 karma points
    Jan 21, 2014 @ 12:01
    Devin
    0

    William,

    You can easily add properties to a member type via the member area of Umbraco. Click on the member type you wish to add properties to and you'll see the "Generic properties" tab.

  • William Charlton 171 posts 218 karma points
    Jan 21, 2014 @ 12:23
    William Charlton
    0

    Devin,

    I've done that and as I said, it's easy. What I now would like to do is add the new fields to the register and update profile forms.

    I suspect it is a recompile job.

  • Devin 87 posts 251 karma points
    Jan 21, 2014 @ 13:36
    Devin
    0

    My apologies.

    Then you'll need to edit the source to work with the new fields/properties. You'll need to add new fields to Register.ascx, ForumMemberProfile.ascx and ForumMemberProfileEdit.ascx and then modify the code behind cs files to handle the saving and displaying of data.

    It's not actually too difficult, just look at what's already there and work with your own.

Please Sign in or register to post replies

Write your reply to:

Draft