Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How to integrate phpbb with main site [like css-tricks] Re: How to integrate phpbb with main site [like css-tricks]

#79335
ewpurdy
Member

I’m having a heck of a time getting this to work. It seems that if your WP header has any php code you need to take some extra steps to make it work. In your phpBB ACP you need to go to the Security link in the General settings left sidebar and then enable the option for PHP in template files. Then you need to wrap all your php calls in tags like this:

<!– PHP –>
echo ("Something");
<!– ENDPHP –>

I cannot get this to work with all the php in my WP header. I see in the video that Chris had some php in his pasted header but did not wrap his php in this way. Did I miss something or is a recent change to phpBB?

Thanks,
Eric