After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)


Subject: After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)
You can see the error here: http://i30.tinypic.com/2q8ak47.png
When quick response in some forums. But if you reload the page it works.

Any idea what's happening?

Thanks in advance :) .

Subject: Re: After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)
It happens all time you try to post an answer, using quick response or just response... And with all styles.

I have "fixed" the problem (badly, but the forum doesn't show the error)

in includes/bbcode.php

remplace
Code: [Download] [Hide]
  1. function plain_message($text, $id)  
  2. {  
  3. // This function will strip from a message some BBCodes,  
  4. // all BBCodes $uid, and some other formattings.  
  5. // The result will be suitable for email sendings.  
  6. $text = $this->bbcode_killer($text, $id);  
  7. //$text = preg_replace("/\r\n/", "<br />", $text);  
  8. $text = preg_replace("/\r\n/", "\n", $text);  
  9. $text = str_replace('<br />', "\n", $text);  
  10.  
  11. return $text;  
  12. }  
  13.  


by
Code: [Download] [Hide]
  1. function plain_message($text)  
  2. {  
  3. // This function will strip from a message some BBCodes,  
  4. // all BBCodes $uid, and some other formattings.  
  5. // The result will be suitable for email sendings.  
  6. //$text = $this->bbcode_killer($text, $id);  
  7. //$text = preg_replace("/\r\n/", "<br />", $text);  
  8. $text = preg_replace("/\r\n/", "\n", $text);  
  9. $text = str_replace('<br />', "\n", $text);  
  10.  
  11. return $text;  
  12. }  
  13.  


I know that's quit a function, but I cannot arrive into any other solution :(


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.2009s (PHP: -73% SQL: 173%)
SQL queries: 29 - Debug On - GZIP Enabled