Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
BUG: Display following dollar sign ($) (1 viewing) (1) Guest
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: BUG: Display following dollar sign ($)
#41068
Re:BUG: Display following dollar sign ($) 1 Year, 3 Months ago  
Cancel my last post. It doesn't fix the bug. Does anyone know how to convert the preg_replace function to a str_replace function?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Leo (Visitor)

Logged Logged  
 
Reply Quote  
#41252
Re:BUG: Display following dollar sign ($) 1 Year, 3 Months ago  
I fixed this a few days ago and I'm posting in case it helps someone else.

Inside plugins/content/typography.php, find this code:
Code:

$a = preg_quote($match);
$a = str_replace("'", "'", $a);



Right above that, add this:
Code:

$code = str_replace("$","\$",$code);


That should it.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Leo (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply