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.
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 ;)
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 .
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?
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.
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?
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
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?
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •it gives java error:
Could not get the display property. Invalid argument.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Vanilla
Vanilla
it shows it like this; Vanilla Vanilla
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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 ;)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If it's set to 1 then seems to work ok.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •(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?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •