Forums

Forum Quote not displaying correctly

This question has suggested answer(s)

Course of action:

  1. In a forum post, click "Reply".
  2. Click "Quote".
  3. Click "Add New Post".

Expected:

The new post should display the quote in a slightly smaller, formatted box displaying information about the user quoted.

Actual:

The UBB code used to add the quote in the first place gets displayed in the post. I.e.,

 

Jennifer Mercer

Yes, I can hear you now.

All Replies
  • And, of course, it displays properly here Smile

    What happens on our forum looks like this:

    (quote user="User")

    Yes, I can hear you now.

    (/quote)

    Where the ( and ) are actually square brackets. Here is the code we are using to display the forum post:

    <CSForum:ForumPostData Property="FormattedBody" runat="server" IncrementViewCount="false" />

     

  • TheCheeta

    Course of action:

    1. In a forum post, click "Reply".
    2. Click "Quote".
    3. Click "Add New Post".

    Expected:

    The new post should display the quote in a slightly smaller, formatted box displaying information about the user quoted.

    Actual:

    The UBB code used to add the quote in the first place gets displayed in the post. I.e.,

     

    Jennifer Mercer

    Yes, I can hear you now.

     

    Just testing.

     

  • Do you have the ForumQuoteModule running on your site?  Check your communityserver.config file and look in the modules section for the following line:

    <add name = "ForumQuoteModule" type="CommunityServer.Discussions.Components.QuoteModule, CommunityServer.Discussions" />

    If the line is missing then you should add it.

  • Yessir, we do, and I can reference it in the code-behind, so it is definitely up and running. Any other ideas on what it might be, perhaps? Thanks for the help so far!

  • Try quoting without the user and see if that works.  If so, then it may be an issue with the formatting of the user quote block.

    (quote)

    message

    (/quote)

     

    help

     

  • Sad

    Unfortunately, that does not work, either.

    But I will say this... when I set the Property of the ForumPostData control to "Body", it works... but any user-entered HTML does not. In fact, all UBB code works, but HTML doesn't. When I flip it back to "FormattedBody", all HTML works, but no UBB.

    Angry