MyBB Community Forums

Full Version: (c) and (c[i][/i])
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to write (c) in a post, but I have to write

 (c[i][/i]) 

Otherwise it will become ©.

I need (c) more often then ©.

So anyway to stop this auto converting function, but leave a way to have © available?

Thanks
You could add this MyCode:

Regular Expression:
©

Replacement:
(c)

This will still allow © to be included in the post:

[Image: bqHVw.png]
In ./inc/class_parser.php, find:

$standard_mycode['copy']['regex'] = "#\(c\)#i";
$standard_mycode['copy']['replacement'] = "©";

Comment out or remove this code. Then, as Beardy suggests, add a custom MyCode in the ACP.

Remember to make note of the changes you make to core files so that if they are replaced in an upgrade the changes can be made again.