phpBB3 is more secure than the previous version (phpBB2). It doesn't allow you use HTML in forum description and posts. So if you would like to use HTML in forum description and posts, you have to save it as a BBCode.
NOTICE: For '
forum description', i mean for the description of each forum of your board, it's not board/site description. phpBB3 only allow plain text in site/board description, don't try to use HTML, you will get no result.
Follow instructions below to do it:
[LIST=1]
- First, you have to know how to add/edit a BBCode.
- Then, add a BBCode with these info: BBCode usage: [yourcode]{TEXT}[/yourcode], HTML replacement: Your HTML code, Help line: Text of the BBCode when your mouse is over, Settings: check on 'Display on posting page' if you would like to show it next to 'Font Colour' button on posting page so other users can use it.
{TEXT}: must be in uppercase, it won't work if {text} in uppercase.
- Now you can embed your new BBCode in posts or forum description.
Now, let practice a bit, try it on your forum to see how it works.
[LIST=1]
- Log into your fourm as Administrator -> Click on 'Administration Control Panel' at the bottom of any pages -> Verify your administrator permission again.
- Click on 'POSTING' tab -> click on 'BBCodes' under 'Messages' -> press on 'Add a new BBCode' button
- For 'BBCode usage', enter:
[mycode1]{TEXT}[/mycode1]
{TEXT}: must be in uppercase.
- For 'HTML replacement', enter:
- For 'Help line', enter:
test html code as bbcode
- For 'Settings', check on 'Display on posting page' if you would like to have a clickable button on posting page so your users can use, if not you have to remember to use it.
- Click on 'Submit' to add your BBCode.
- Post this in your posts or forum description:
[mycode1][COLOR="Red]sometext[/COLOR][/mycode1]
sometext: some text, whatever to make it valid to show your HTML code.
- Check the result. Wow! it works fine.
Hope this helps.
Feel free to post here if you have any questions, we and other members can help you.
Thank you.