13.01.2013, 14:10
Dann probiere es zunächst evtl. mal so
und setze {$shoutbox} im gewünschten Template ein.
PHP-Code:
// Set up some of the default templates
eval("\$headerinclude = \"".$templates->get("headerinclude")."\";");
eval("\$gobutton = \"".$templates->get("gobutton")."\";");
eval("\$htmldoctype = \"".$templates->get("htmldoctype", 1, 0)."\";");
if($mybb->usergroup['gid'] != '1') {
$shoutbox = "<iframe name=\"speechbox\" width=\"170\" height=\"500\" allowTransparency=\"true\" frameborder=\"0\" src=\"http://37200.speechbox.de\"></iframe><br /><a href=\"http://www.speechbox.de\" title=\"Kostenlose Shoutbox\">Shoutbox</a><br />";
}
else{
$shoutbox = "";
}
eval("\$header = \"".$templates->get("header")."\";");