MyBB Community Forums

Full Version: (R) and (C)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where is the code that replaces ( R ) with ®?
You can make a custom mybb code:
Regular expression:\(r)
Replacement:®
Actually, the replacement already happens and I want to prevent it... thanks.
Try inc/class_parser.php
make replacement blank? Toungue
Open inc/class_parser.php
Find following lines and delete them:
$standard_mycode['copy']['regex'] = "#\(c\)#i";
$standard_mycode['copy']['replacement'] = "©";

$standard_mycode['tm']['regex'] = "#\(tm\)#i";
$standard_mycode['tm']['replacement'] = "™";

$standard_mycode['reg']['regex'] = "#\(r\)#i";
$standard_mycode['reg']['replacement'] = "®";
Ah ha! Thanks DF.
No problem.