MyBB Central

Full Version: How to change mybb codes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I change My bbcode to vb codes likve[center] [/center]. I am copying content from vb forum. so I need all vb codes in my mybb also. How can i do that.
This can be done easily by adding custom Mycodes.

Go to Acp - configuration - MyCode
Click add new my code, name it as center.

Add this in regular expression.

Code:
\[center](.*?)\[/center\]

Add this in replacement.

Code:
<center>$1</center>
and save the code.

Now center tags should work.