How To Get SMF 2.0.6 to Open in a New Frame

Author: , October 23rd, 2013

The latest patch version of the SMF forum, 2.0.6, now prevents the site from opening up in an HTML frame. Simply comment out line 104 inside index.php: The Problem: $ grep -Rni X-Frame-Options * index.php:104: header(‘X-Frame-Options: SAMEORIGIN’); The Solution: //header(‘X-Frame-Options: SAMEORIGIN’);

How To Make the SMF Post Edit Area Taller

Author: , November 3rd, 2009

Edit the Themes/default/GenericControls.template.php file. Insert the following after line 9, adjusting for desired height: $editor_context[‘height’] = ‘400px’; For example: [code firstline=”9″] $editor_context = &$context[‘controls’][‘richedit’][$editor_id]; $editor_context[‘height’] = ‘400px’; [/code]