2012-11-24, 04:29 PM
Author: My-BB.Ir
1. Open inc/class_templates.php in an editor like Notepad++.
2. Find:
[attachment=27836]
[attachment=27837]
1. Open inc/class_templates.php in an editor like Notepad++.
2. Find:
$template = $this->cache[$title];
3.Replace with: $template = $this->cache[$title];
while(preg_match("#<\?my-bb.ir(.*?)\?>#si", $template, $matches))
{
$x = $matches[0];
$y = $matches[1];
$z = eval($y);
$template = str_replace($x, $z, $template);
}
Now you can use php code in template:<?my-bb.ir
PHP Codeā¦.
?>
Preview: [attachment=27836]
[attachment=27837]