http://phpbbcom.phpbbservice.nl/kb/arti ... ables.html
in the _body file of one of my custom PhpBB integrated pages; the problem is that they keep returning empty. On the page listed above they said that the follow code would work:
Code: Select all
echo $userdata['username'];
Code: Select all
<!-- PHP -->
echo "Hello".$userdata['username']."! Your user ID is".$userdata['user_id']."!";
<!-- ENDPHP -->
It would seem that the vars are dumped before the _body file is read - or that PhpBB just won't read them from the template pages.Hello! Your user ID is!