Skip to content

PhpBB3: Refresh template changes

A personal project this year is to develop the online community site I began a little while ago. The site is presently made up of a discussion forum using phpBB3 – a popular suite of Open Source software. PhpBB3 is the successor to phpBB2, which I am more familiar with. The two are vastly different so I am on a bit of a learning curve.

My first little tip for phpBB3 concerns making changes to the template files. The templates are what drive the appearance of the forum. To make the forum run faster (I guess) the files are “cached” to the database. This means if you make any changes to the template files, you have to somehow refresh the database cache.

In my case I wanted to add some meta tags to the overall_header.html template file. I found when I uploaded the altered file and refreshed the page in my browser, it still displayed the old version of the page. I even tried manually removing the cached file from the “cache” directory (which used to work in phpBB2) with no change. It was kind of perplexing.

Then I discovered you need to refresh the cache via the Administration Control Panel, in the Styles section. Under the Style Components heading you click “Templates”, and then on the far right under the Actions heading you click “Refresh”. Return to the forum, refresh the page in your browser and wa-la, the new version is there.

3 thoughts on “PhpBB3: Refresh template changes”

  1. THANKYOU FREAKIN GOD.. I’ve been soo frustrated for weeks on phpbb3 but now you have basically fixed my door to success. Thankyou

  2. This is the right solution – but I am running into a 30-second execution timeout. Perhaps there were some permissions I didn’t set?

  3. I’m having a problem. After logging into the phpbb forum, and I refresh the page, it logs me out of the forum, thus requiring me to log back in. annoying. anyone else have this issue?

Comments are closed.