1
Aeldan
Re: NewBB showing HTML
  • 2006/7/28 17:42

  • Aeldan

  • Just popping in

  • Posts: 2

  • Since: 2006/7/28


Hi there, I just found this annoying bug too, and I found the reason, and the solution ^^

Apparently, it cames from the changes made in class/module.textsanitizer.php, function $previewTarea.

To resolve, just replace in your modules/newbb/post.php, about line 86
Quote:
$p_message = $myts->previewTarea($_POST['message'],$dohtml,$dosmiley,$doxcode);

by
Quote:
$temp_message = $_POST['message'];
$p_message = $myts->previewTarea($temp_message,$dohtml,$dosmiley,$doxcode);


And it will work :)



2
Aeldan
Re: Newbb 2.0 Preview Post problem
  • 2006/7/28 17:40

  • Aeldan

  • Just popping in

  • Posts: 2

  • Since: 2006/7/28


Hi Dubya

I just found this annoying bug too, and I found the reason, and the solution ^^

Apparently, it cames from the changes made in class/module.textsanitizer.php, function $previewTarea.

To resolve, just replace in your modules/newbb/post.php, about line 86
Quote:
$p_message = $myts->previewTarea($_POST['message'],$dohtml,$dosmiley,$doxcode);

by
Quote:
$temp_message = $_POST['message'];
$p_message = $myts->previewTarea($temp_message,$dohtml,$dosmiley,$doxcode);


And it will work :)




TopTop



Login

Who's Online

790 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 790


more...

Donat-O-Meter

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

Latest GitHub Commits