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 15, 2011 @ 13:57
    Gordon Saxby
    0

    Create Topic and Post not working

    This is almost certainly because I have integrated the nForum templates into an existing website, but ...

    I cannot create a new topic nor add posts to an existing one. The form appears, I edit title and content, click Create and the page just reloads.

    Can someone point me in the right direction of where to look ... my guess is I am mising an include or something but can't find the problem yet!

     

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

    Arrgh!! So close ... I think it's got something to do with the Ajax post code but I can't find it. Help!!!!!

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

    OK - I've sorted it.

  • Paul 11 posts 41 karma points
    Oct 31, 2011 @ 23:40
    Paul
    0

    Hi Gordon -  I am experiencing the same problem how did you sort it?

    Cheers 

  • Justin Yoo 16 posts 39 karma points
    Nov 02, 2011 @ 07:12
    Justin Yoo
    0

    @Paul You'll need to put additional lines, highlighted in yellow, on your web.config

    <configuration>
    <configSections>
    ...
    <section name="ExamineLuceneIndexSets" type="UmbracoExamine.Config.ExamineLuceneIndexes, UmbracoExamine" />
    <section name="RestExtensions" type="nForum.BusinessLogic.nForumBaseExtensions, nForum.BusinessLogic"/>
    ...
    </configSections>
    ...
    <RestExtensions configSource="config\restExtensions.config" />
    <appSettings>
    ...
    </configuration>

     

    Cheers,

  • Paul 11 posts 41 karma points
    Nov 02, 2011 @ 12:20
    Paul
    0

    Great thanks for your help.  I have added these in now.

    I can create topics in the front end but not post replies.  The post reply submit button does not have a rel="nodeid" whereas the create new topic button does.  I'm unsure what causes this to happen any ideas?  Like yourself, I am integrating the formun into an existing website, probably something I have done wrong along the way.

    [4.7.1]

    Cheers

  • Gordon Saxby 1461 posts 1883 karma points
    Nov 02, 2011 @ 14:35
    Gordon Saxby
    0

    I can't remember specifically what theproblem was, but I think it utrned out to be a missing include - I took the standard templates that came with the Forum and took out the necessary bits to put into the main website templates. I seem to remember I missed something.

    I think there is a comment somewhere that says if you move this (macso?) out of this template you will also need to include the macro call above.

    Sorry, that's not very helpful but it's as much as I can remember and I no longer have access to the website code.

     

  • Joey Kincer 51 posts 83 karma points
    Feb 24, 2012 @ 02:16
    Joey Kincer
    0

    I'm having the same issue (with the new v1.5), even after the additions to the web.config as stated earlier.

    I too have put nForum in my own template. I have messed around with this for hours now and can't seem to get it working. I do have a form tag encompassing the entire page since there are other controls, but I doubt this makes a difference, since I switched back to the default template to try and get it working and it does the same thing (refreshes, no topic posted). Not sure what else to try... :(

    EDIT: Never mind, found out that changing the class name on certain things kill the JQuery functions. LOL I always seem to figure it out 5 minutes after posting for help.

  • Lee 1130 posts 3088 karma points
    Feb 28, 2012 @ 19:49
    Lee
    0

    You don't need those lines in the web.config, it should work fine without them as long as you are running 4.6+ as the Base extensions have been decorated with the new base arrtibutes.  If you are running it in anything before v4.6+ then you WILL need to add all the methods in the base extension class (Which can be found on Codeplex) into the restextensions.config in the config folder.

    PLEASE BE AWARE THOUGH... I have not tested nForum v1.5 on anything below 4.6+.

     

  • Rory 59 posts 84 karma points
    Mar 14, 2012 @ 15:45
    Rory
    0

    Joey (and Gordon)...I'm wondering whether this is anything to do with the issue I've had, with it not working in Internet Explorer, but works fine in other browsers? Javascript issue I think Lee said it was...

    If it is the same, have any of you found a solution?

    cheers

    Rory

  • bob baty-barr 1180 posts 1294 karma points MVP
    May 24, 2012 @ 21:41
    bob baty-barr
    0

    @Rory i am having same issue with IE -- any fix found?

  • Lee 1130 posts 3088 karma points
    May 25, 2012 @ 07:21
Please Sign in or register to post replies

Write your reply to:

Draft