Icy Phoenix

     
 

After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)

After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)

Article
Reply with quote    Download Post  
Post 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 .



 
tiolalu - View user's profile Send private message  
tiolalu [ Mon 07 Sep, 2009 01:09 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)

Comments
Reply with quote    Download Post  
Post 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  



 
tiolalu - View user's profile Send private message  
tiolalu [ Tue 08 Sep, 2009 17:10 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron