BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

  • Index
  •  » Plugins
  •  » NP_Punbb - Line Breaks Not Making It

#1 23.02.2007 08:16

frankz
newbie...
Registered: 18.08.2005
Posts: 6

NP_Punbb - Line Breaks Not Making It

The version of NP_Punbb bundled with 4.2.0 is not converting paragraphs and line breaks from blog posts when they're put into Punbb as topics on my local development host.

For example, <p>This is a test</p><p>Test again</p> gets put into forum_posts as This is a test\n\nTest again, and that's the way it shows up on the site in the forums.

What am I doing wrong? Please advise.

I've got the plugin (version 1.3) installed on a working (4.0.0e) site, and it puts the blog posts into the forum database table just fine (with actual line breaks, not \n). I cannot install 1.3 into BlogCMS 4.2.0 for some reason, though, so I'm stuck on 1.0.

Apparently, there's a line of code that should be translating \n\n into line breaks before putting it into the forum table, but I can't for the life of me figure out where it belongs.

Last edited by frankz (23.02.2007 08:26)

Offline

 

#2 27.02.2007 00:22

frankz
newbie...
Registered: 18.08.2005
Posts: 6

Re: NP_Punbb - Line Breaks Not Making It

Really?  That's a good idea. I'll try that.  Does anyone else have any suggestions?

Offline

 

#3 05.04.2007 09:05

ErectusX
newbie...
Registered: 05.04.2007
Posts: 5

Re: NP_Punbb - Line Breaks Not Making It

Bump for this question. Has anyone solved this yet? I have the same problem. Thanks! :-)

Offline

 
  • Index
  •  » Plugins
  •  » NP_Punbb - Line Breaks Not Making It

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist