PDA

View Full Version : How to include php in forumhome?


S!p
08-10-2010, 08:13 AM
Hi!
I try to add new plug-in to include php file but it not work.
ob_start();
include("index_status.php");
$serweryas = ob_get_contents();
ob_end_clean();

in forumhome:
{vb:raw serweryas} or {vb:raw $serweryas}

What is wrong?
In attachment code of script.

Please help.

ragtek
08-14-2010, 06:10 AM
you have to register $serveryas to the forumhome template!

Check the article section, there is a article how the vB4 template engine is working

--------------- Added 1281769890 at 1281769890 ---------------

https://vborg.vbsupport.ru/showthread.php?t=228078