| Author |
Post |
|
|
#1 Sun Feb 04, 2007 9:07 pm
|
|
Member
Registered: Feb 2007
Posts: 22
|
I just converted from phpBB to UseBB but the Line Breaks don't seem to be parsing properly?
Any suggestions would be great?
|
|
|
#2 Sun Feb 11, 2007 11:57 am
|
|
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
|
What do you mean with "not parsing properly"? Any examples, links? Note the phpBB convertor is also not officially supported.
|
|
|
#3 Sun Feb 11, 2007 8:58 pm
|
|
Member
Registered: Feb 2007
Posts: 22
|
Dietrich wrote What do you mean with "not parsing properly"? Any examples, links?
Note the phpBB convertor is also not officially supported.
What I meant by "not parsing properly" is that all posts would appear like this: Dietrich wrote What do you mean with "not parsing properly"? Any examples, links? Note the phpBB convertor is also not officially supported.
I made it work by removing: if (!html) {
}From "sources/functions.php". P.S. You may lock this topic now, sorry for the inconvenience. « Last edit by y_r on Sun Feb 11, 2007 9:02 pm. »
|
|
|
#4 Sun Feb 11, 2007 9:56 pm
|
|
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
|
You have the enable HTML flag set to all posts, just simply disable it using: UPDATE usebb_posts SET enable_html = 0
|
|
|
#5 Fri Feb 16, 2007 3:41 pm
|
|
Member
Registered: Feb 2007
Posts: 22
|
Does it make any difference if I do what you did rather then what I did? P.S. I hope you understand what I am trying to say, because I didn't. 
|
|
|
#6 Fri Feb 16, 2007 3:46 pm
|
|
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
|
Yes, your phpBB forum probably had HTML enabled on all posts, so it is in UseBB too. The difference is "enable HTML" in UseBB means full HTML possibilities rather than a few tags as in phpBB. It also doesn't parse line breaks when HTML is enabled, since you need to use <br />. So, disabled HTML is the right solution, changing the source code is not.
|
|
|
#7 Fri Feb 16, 2007 3:51 pm
|
|
Member
Registered: Feb 2007
Posts: 22
|
Dietrich wrote Yes, your phpBB forum probably had HTML enabled on all posts, so it is in UseBB too. The difference is "enable HTML" in UseBB means full HTML possibilities rather than a few tags as in phpBB. It also doesn't parse line breaks when HTML is enabled, since you need to use <br />. So, disabled HTML is the right solution, changing the source code is not.
Yes, you're right my phpBB forum did have HTML enabled on all posts (as there was no option to have it enabled only for only a selection of posts). Am I right in thinking that, if I use your way it will mean that all the old posts containing HTML, will not show up correctly? Sorry about the bad English, it's not my first language.
|
|
|
#8 Fri Feb 16, 2007 4:56 pm
|
|
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
|
Indeed, HTML will be shown raw. If you want to have it parsed you'll need to have the HTML converted to BBCode. But most of the time people don't use HTML on forums.
|