1
gecko
New BBX nl2br or not
  • 2007/5/16 23:08

  • gecko

  • Not too shy to talk

  • Posts: 152

  • Since: 2004/10/11


Hi Guys,
I have newbbx running on my site and have been working on other modules to get mastop editor plugged in to them.

Somewhere somehow i have changed modules to ouptut from database.

My newbbx forum now just outputs everything as one line from the database. It is in the database correctly!

Can i hack veiwtopic.php and add a simple nl2br and where would i do it?

Thanks in advance cheers
Gecko

2
JCDunnart
Re: New BBX nl2br or not
  • 2007/5/19 5:42

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


Compare what you've done with the original veiwtopic.php.

I don't know the module but there's probably some code using an instance of 'MyTextSanitizer'. Find the method it uses, I guess it's something like $myTs->displayTarea( $forumtext ) and use the same structure in your modification.

Hope that helps.

Login

Who's Online

266 user(s) are online (220 user(s) are browsing Support Forums)


Members: 0


Guests: 266


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits