Loading...
Changes Saved.
Error Occurred!

Enabling HTML in posts

How to Enable HTML in posts

It is possible to allow raw HTML to be posted in your forum. Here is how to do it. To enable HTML in posts, you need to allow your user group to post it as well as allow it to be posted in the forum you want to put it.

Step 1: Allowing a User Group to post HTML

ACP -> Users and Groups -> Manage User Groups

Now click on "Edit Group" next to the user group you want to be able to post raw HTML. "Admin" is the default name for your own user group.

Then scroll down to "Can use [doHTML] tag?". Set this to "Yes" and click on "Complete Edit".

Step 2: Changing a forums settings

ACP -> Forum Control -> Manage Forums -> Settings (on the forum you want allowed user groups to post raw HTML

Find "Allow use of the [doHTML] tag?". Set this option to "Yes". Click "Edit this forum".

Caution!

Although the damage is limited by the filtration of the script tag, damage can still be done. Be careful about who you allow to post raw HTML. It is great for guidelines and important posts by the administrator and most things can be worked around.

Rememer to post valid HTML if you are using it, to ensure that it works as it should.

If you want to post flash, use the flash BBCode which is described here. If you want to post videos, you can upload them to Filehive or Photobucket.

 

[doHTML] button

You can also add a doHTML button to your reply box if you want to.

Go to Admin CP -> Skins & Templates -> HTML Templates -> Manage HTML -> Post Screen Sections -> Post: Code Buttons & Post Text area (function postbox_buttons) -> Edit Single.

find this code:

Quote:
<input type='button' accesskey='q' value=' QUOTE ' onclick='simpletag("QUOTE")' class='codebuttons' name='QUOTE' onmouseover="hstat('quote')" />

and add below:

Quote:
<script type="text/javascript">
var doHTML_open = 0;
</script>

<input type='button' accesskey='d' value=' doHTML' onclick='simpletag("doHTML")' class='codebuttons' name='doHTML' />

Click on "Update templates" and you're done.




1

Add Comment

Please also verify yourself by typing the text in the following image into the box below it.

Related Articles