Editing Global Settings Part 3: Content Formatting
Written by Stephanie Brown Saturday, 11 August 2012
Read Part 2 here!
This article will focus on editing your site’s Content Formatting settings. These settings include choosing a WYSIWYG text editor, allowing HTML, resizing images and embedded video, and more.
First you want to log into your phpFox Admincp. Once there, select Settings, then Manage Settings from the menu.
You should now see the following screen. This screen shows a list of all the settings categories that your site has. Under the Global Settings heading, select Content Formatting.
There are a number of fields to edit in the Content Formatting settings. The following is the list on a default installation. A short description of each field will follow after the screenshot.
WYSIWYG Editor – you have 2 options: default and tiny_mce. Default doesn’t offer much except a very basic editor, tiny_mce offers your members a fair selection of options for formatting their text when they post on your site.
Allow HTML – set to true to allow your members to post with html formatting tags.
Allowed HTML Tags – you can set which tags that your members can use when posting. The basic tags that are listed by default should not allow security issues and should not allow your members to accidently mess up the look of your website. You can add and remove any tags you wish.
XHTML Valid – setting this to true will allow the script to attempt to clean up the content your members post. This will use extra resources. I don’t suggest setting this to true on a shared server.
Replace URL with Links – set this to true if you want any urls your members post to be turned into clickable links.
Allow iFrame from Youtube – iFrames are disabled by default in the script, which means your members can’t iFrame another webpage into your site. This is done for security purposes. If you want to allow your members to post iFrame codes from YouTube, you can set this to True.
Shorten Parsed URL Links – the numerical value here is how many characters you want to allow for a url before the script shortens it. If you do not want the script to shorten a url, set this value to 0.
Resize Images – if you allow HTML on your site, and your members add images, you can enable this to set a default width and height for the images in certain areas. This will use extra resources, so I don’t suggest using this on shared hosting.
Resize Embedded Videos – This features uses extra resources, and it is still in experimental stages, I don’t suggest using this on shared hosting. Setting this to true will allow the script to resize embedded videos similar to the option to resize images above.
Allow HTML in Activity Feed – enabling this will allow your members to use HTML in their activity feeds and comments in the feed.
After filling out these fields, select Submit to save your information. You have finished editing your Content Formatting settings!