Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
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 .
 



 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
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  
 



 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron