Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 9

CurtisOdenTodddoncsaulericgillette +5 guests

BBCodeParser

This discussion is related to the BBCodeParser addon.
BBCodeParser
«13

Comments

  • Version number changed from 1.0.0 to 1.0.1.
  • Uploaded version 1.0.1 of BBCodeParser.
  • Posts: 2,610
    From now on, please put all BBCodeParser suggestions/fixes/support questions in this discussion. I will not be looking at the old discussion any more and have asked an admin to close it.
  • Uploaded version 1.0.1 of BBCodeParser.
  • Posts: 50
    how can i use nested quotes with this? what is the bbcode for it?
  • Posts: 2,610
    [quote][quote][/quote][/quote]
  • Posts: 521
    Sweet. Thanks for the update. :)
  • Posts: 2,610
    I take it the nested quotes are working for you now?
  • Posts: 521
    Yep, they're working just fine.
  • Uploaded version 1.0.2 of BBCodeParser.
  • Posts: 50
    the "font color" and "font face" bb buttons are not working on ie 7.
    it gives java error:
    Could not get the display property. Invalid argument.
  • Posts: 2,610
    Sorry, those problems have nothing to do with this extension. You want to be posting this on the BBInsertBar discussion.
  • Posts: 13
    Hmmm.... BBCodeParser does not automatically create paragraphs or br's. All is going into one big block without any new lines.
  • Posts: 13
    Ah, sorry. I need to install AutoP
  • Posts: 379
    this add on breaks my test forum completely. it shows a blank white page. anyone else experiencing this?
  • Posts: 2,610
    Do you have PEAR on your server?
  • Posts: 379
    not as far as i know. cause i dont (know what it is:)
  • Posts: 50
    how can i break texts when in bbcode mode. what i mean is i cannot do that;
    Vanilla
    Vanilla

    it shows it like this; Vanilla Vanilla
  • Posts: 2,610
    abramelin, BBCodeParser # 15

    Mr Do, you will need to ask your web host if they have PEAR installed. If they don't then this extension will not work, sorry. There are plans afoot to remove its PEAR dependencies, but it probably won't be any time soon ;)
  • Posts: 190
    Is there a way to add tables with this? It appears from the image above, there are, but I can't figure out how...
  • Posts: 2,610
    D'OH! I should edit that out. That's a wish list item of mine and requires an unholy butload of work - so I'm not sure if it will happen :/
  • Posts: 183
    @Stash How much is done with BBCodeParser 1.0.3 ? Found an old thread of mine where I asked how to set BB code as default instead of text, saw your comment @ Changing default Format comments as setting # 7
  • Version number changed from 1.0.2 to 1.0.3.
  • Uploaded version 1.0.3 of BBCodeParser.
  • Posts: 2,610
    See if that works for you ;)
  • Posts: 183
    Okay, seems to break! I'm using BB Insert bar 0.1.9 , when putting text to bold I get " undefinedbundefinedtestundefined/bundefined " instead of [b]test[/b] when I set $Context->Session->User->Preferences['ShowFormatSelector'] = 1; // to 0 .

    If it's set to 1 then seems to work ok.
  • Posts: 2,610
    Hmm, bugger :/ This probably has something to do with the way BBInsertBar checks to see which formatter is active. I wonder if there's another way for it to check?
  • Posts: 12
    Very nice extension, I just got it working on my forum. :)

    3 things:
    I had my host install pear on my website, which is 1.8 MB worth of files. Since BBCodeParser uses pear, is the difference in bandwidth usage between BBCodeParser and say.. BetterBBCode very big?

    Is there any way I can get BBCodeParser to convert new lines to <br>s without having to use the AutoP extension? AutoP adds <p>s everywhere, even in quotes, which - in my opinion - adds too much white space to the quotes. Is there a way to modify the BBCodeParser code so that it adds just a simple <br> tag for every new line?

    It would also be nice if BBCode tags inside the [code] tag weren't "converted". This would be extremely useful when you'd want to explain how to use BBCode tags on a forum which uses only BBCode.
  • Posts: 2,610
    I haven't checked, but since PEAR isn't actually downloaded by the client (it's all server based) I would imagine that BBCodeParser and BetterBBCode use the same amount of bandwidth.

    I've been meaning to fix a few things in AutoP (like disabling it in CODE and PRE), but again, time constraints. Could you expand on your Ps in quotes? what exactly is the problem there? I'm sure there's a way to add BRs everywhere, only I'm not sure how. I'm also more interested in getting AutoP working 100%, so unless someone wants to add this functionality as a switch that can be turned on and off, I can't see myself adding it.

    Your last request is one I've thought about quite a bit myself and come to the conclusion that it doesn't make sense. I understand what you're trying to achieve, but the [code] tag basically can't do it. We'd need to create a new tag like [bbcode] or something, otherwise, what do you do when you have a nested [code] tag in your code example?
  • Posts: 12
    The problem I'm having with AutoP is that it adds <p> around the content of a quote like this:
    (Don't pay attention to the content of the quotes, I had to quote something.. ;))
    http://www.vanslageren.nl/marleen/images/quotes1.jpg

    Without those extra <p>s it looks like this:
    http://www.vanslageren.nl/marleen/images/quotes2.jpg

    So what I meant, is that the added <p>s add extra white space to the top and bottom of the [quote] block, which I don't really like. It's not really a big problem, but wouldn't it be easier to not have to install another extension to fix the new lines? I know there's a function in php called nl2br() which converts new lines to breaks, maybe that could be of some help?

    Your [bbcode] tag idea sounds good, but if you were to implement that, what would be the use of the [code] tag? Wouldn't it just be similar to the [quote] tag then?
Sign In or Register to comment.