View Thread
Private Stock » Administrative and Housekeeping » Site Notes
 Print Thread
Edited media_bbcode_include.php
Songiuno
In order to make the embedded media larger, I edited the media_bbcode_include.php file in the /includes folder:

From

if (!defined("IN_FUSION")) { die("Access Denied"); }

$text = preg_replace('#\[media\](.*?)\.(mp3|f4a|m4a|aac)\[/media\]#si', '', $text);
$text = preg_replace('#\[media\](.*?)\[/media\]#si', '', $text);
$text = preg_replace('#\[media=(.*?)\.(jpg|jpeg|png|gif)\](.*?)\[/media\]#si', '', $text);


to


if (!defined("IN_FUSION")) { die("Access Denied"); }

$text = preg_replace('#\[media\](.*?)\.(mp3|f4a|m4a|aac)\[/media\]#si', '', $text);
$text = preg_replace('#\[media\](.*?)\[/media\]#si', '', $text);
$text = preg_replace('#\[media=(.*?)\.(jpg|jpeg|png|gif)\](.*?)\[/media\]#si', '', $text);


The original file is still in the folder as media_bbcode_include.php-orrig.
 
Jump to Forum