2006-12-16, 06:50 AM
2006-12-16, 01:31 PM
You can't. The only way to have something dynamic in your template is to add a variable like {$var} to your template and let a php file define the variable somewhere before the template where the variable is in is called. I mean, like for example you put {$var} in the template index, then you'll need to add
A complete list off hooks can be found here: http://wiki.mybboard.com/index.php/MyBB_Plugin_Hooks on the MyBB Wiki
$var = "whatever you want here";
in the index.php file before this line eval("\$index = \"".$templates->get("index")."\";");
If you don't want to use file edits, you can make your own plugin and use this hook index_endA complete list off hooks can be found here: http://wiki.mybboard.com/index.php/MyBB_Plugin_Hooks on the MyBB Wiki
2006-12-17, 01:54 AM
that works for me, i was just used to vBulletin where you can do that.