Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Quotes/NBBC

Hello everyone,

I've just recently migrated from SMF2 via PHPBB3 to Vanilla 2. Not to bad of a conversion but I have to do some manual work.
First of all, I activated the NBBC plugin in order to have the SMF BB code work with vanilla. Next I tried to activate the 'quotes' plugin. I removed 2.1 requirement line and activated without problem in dashboard. However... NBBC shows the imported posts with quotes as :

[quote="King"] Bla bla bla [/quote]

Enabling the quotes plugin (I do get the button to quote someone) but the existing quotes appear as html tags

<

blockquote> etc...

So I decided to disable the quotes plugin again. However, not all is as expected

[quote="Kris"] shows first as "Kris&quot wrote: and if I edit the quote tag (like by adding a space between s and " or wherever I chaneg something and then remove it again and save... the quoting appears correct as "Kris" wrote:

Any idea on this how I can solve all quotes in existing posts?

Thanks in advance

Bates

Comments

  • If someone wants to have a look please. I have now both NBBC and Quotes (1.2.2) enabled...

    quotes really look like a mess

  • hgtonighthgtonight ∞ · New Moderator

    Welcome to the community!

    What version number of Vanilla are you running?

    I assume it is 2.0.18.8 from your original post, but please verify this.

    You don't need NBBC. Support for BBCode is in the core. Please disable it.

    Using Quotes 1.2.2, your BBCode quotes should render properly. Is this not the case?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Some more examples posts nr 4,6,7,9

    all quotes that are not rendered.
    http://www.thailandgids.be/forum/discussion/1400/levensverzekering-in-thailand

  • batesbates New
    edited November 2013

    I hope my first comment will appear as I got a message that it needed approval...
    Anyway, if not. version 2.0.18.8 indeed and NBBC is now off, quotes is on.

  • hgtonighthgtonight ∞ · New Moderator

    Your site requires membership to view.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • see PM with details

  • hgtonighthgtonight ∞ · New Moderator

    I believe I figured it out.

    Check out this: http://www.thailandgids.be/forum/discussion/comment/22478#Comment_22478

    The quotes plugin attempts to transcode the quoting format, but only does so on edit.

    What is the format column listed in your GDN_Discussion table?
    What is your config for 'Garden.InputFormatter'?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • prefix for the tables are vf_Discussion. Format column is BBCode and i have no Garden.InputFormatter specified in the config file

  • hgtonighthgtonight ∞ · New Moderator

    Alright, add $Configuration['Garden']['InputFormatter'] = 'BBCode'; to your config file.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • did that but i dont see any changes on the postings. The bbcode remains visible. hmmmm

  • Well one step closer... after I changed the InputFormatter to BBCode I didn't see any changes to the original post. However, I decided to deactivate the quotes plugin and after that the quotes somehow were correct, but there was no specific backgroundcolor for quotes. Also, now my users are not able to quote anymore...

    Here an attach of one of the quotes. Hope this helps a big to figure out what is wrong.

  • Thanks for your reply, indeed I'm using version 2.0.18.8
    I wasn't aware it's core natively supported BBCode which is great ofcourse. NBBC is now disabled. It does look better but unfortunately quotes are still not rendered as should.

    Here's an example:
    http://www.thailandgids.be/forum/discussion/1992/juich-belgen-juich

    the 3rd post is quote. Strangely is doesn't show the quote closing tags and when I edit the post and change a bit on the bbcode (example by adding a space or removing a hashtag and then revert it back) it suddenly shows correctly.

    Edit source:
    [quote="balastinspec"] En laat ons nu juist vandaag te weten komen wat politiekers bedoelen met "nachtwerk" [url=http://www.hln.be/hln/nl/957/Binnenland/article/detail/1683254/2013/08/08/Na-de-torenpoepster-van-Aalst-de-kasteelpoepster.dhtml]http://www.hln.be/hln/nl/957/Binnenland ... ster.dhtml[/url] Daar gaat al een deel van onze zuurverdiende centjes naartoe :wai: [/quote]

    I cannot imagine to edit every single quote that was ever made on this 37700 post forum :/
    Any ideas?

  • Thanks for your reply, indeed I'm using version 2.0.18.8
    I wasn't aware it's core natively supported BBCode which is great ofcourse. NBBC is now disabled. It does look better but unfortunately quotes are still not rendered as should.

    Here's an example:
    http://www.thailandgids.be/forum/discussion/1992/juich-belgen-juich

    the 3rd post is quote. Strangely is doesn't show the quote closing tags and when I edit the post and change a bit on the bbcode (example by adding a space or removing a hashtag and then revert it back) it suddenly shows correctly.

    Edit source:
    [quote="balastinspec"] En laat ons nu juist vandaag te weten komen wat politiekers bedoelen met "nachtwerk" [url=http://www.hln.be/hln/nl/957/Binnenland/article/detail/1683254/2013/08/08/Na-de-torenpoepster-van-Aalst-de-kasteelpoepster.dhtml]http://www.hln.be/hln/nl/957/Binnenland ... ster.dhtml[/url] Daar gaat al een deel van onze zuurverdiende centjes naartoe :wai: [/quote]

    I cannot imagine to edit every single quote that was ever made on this 37700 post forum :/
    Any ideas?

  • Hi, was this ever resolved?

    I have the exact same problem, converted from SMF 2 and none of the quotes from original posts show up correctly, they all show up as "[quote=..."

    I've tried setting the Input.Formatter to BBCode but that doesn't do anything.

  • @rmkleemann, the Input.Formatter setting only applies to new posts after it has changed. Take a look in your database and look in the GDN_Discussion and GDN_Comment tables for old posts that were imported. Check the Format column to see if they say BBCode.

    Add Pages to Vanilla with the Basic Pages app

  • @Shadowdare said:
    rmkleemann, the Input.Formatter setting only applies to new posts after it has changed. Take a look in your database and look in the GDN_Discussion and GDN_Comment tables for old posts that were imported. Check the Format column to see if they say BBCode.

    I was hoping I'd find they did not say BBCode. Unfortunately all of GDN_Comment and GDN_Discussion do say BBCode. All of my old posts with codes like quote and img, for example, are coming out incorrectly.

  • working on dueling duplicate discussions seems counter productive

    http://vanillaforums.org/discussion/comment/208718/#Comment_208718

    pick one discussion.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • @peregrine said:
    working on dueling duplicate discussions seems counter productive

    http://vanillaforums.org/discussion/comment/208718/#Comment_208718

    pick one discussion.

    I was suggested to search for more discussions and found this one, and joined the discussion. The suggestion to close the other and start a new one sounds counter-intuitive since I did create a new one and was pointed over to do searches in the forum.

    Seems like I'm going in circles, which feels weird for being a complete newbie to Vanilla. I have done some searches and have looked at posts, and ones which seem to be applicable to my problem (like this current one) I've tried to leverage from people that have had the same problem

    If I have to end up replacing or reformatting text in the database table then I guess I will have to give up on Vanilla. I have a forum with about 1.5 million comments in the table

  • peregrineperegrine MVP
    edited May 2014

    hope you get an answer that works for you. too hard for me to follow dueling discussions.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.