phpBB Extension - Parameter Template Variables

Parameter Template Variables extension for phpBP

phpbb, extension, template, variables

Authors of extension

  • martti martti
    Role: Developer
    E-Mail: info (at)

Install Extension

Install in ACP

Use our Install tool to install this Extension. Navigate to "CUSTOMISE - Install extensions" in the ACP of your forum and search for Parameter Template Variables and click the install button.

Manual install

Download the archive of the extension from here and unpack it. Copy then the entire contents of the archive to your phpBB forum to /ext/marttiphpbb/paramtempvars, maybe you need to remove "_master" from the extracted folder. Now go into the admin area of the forum and chose the tab Customize, in the area Manage extensions is you now the extension Parameter Template Variables displayed under the disable extensions. Click behind the extension on the link Enable to activate the extension. After you have confirmed the action the extension is available in your forum.

Read me

PhpBB Extension - marttiphpbb Parameter Template Variables

Topic on

The extension makes all query parameters of the current url available in the template. They are all put under the template variable marttiphpbb_paramtempvars


{%- if SCRIPT_NAME == 'ucp' and marttiphpbb_paramtempvars.i == 'pm' -%}
    This content is only visible in the private messages page in the UCP...
{%- endif -%}

In the previous version (for phpBB 3.1) this extension made the query parameters available in the form of:


This format is still available but depreciated.


  • phpBB 3.2.1+
  • PHP 7+

Quick Install

You can install this on the latest release of phpBB by following the steps below:

  • Create marttiphpbb/paramtempvars in the ext directory.
  • Download and unpack the repository into ext/marttiphpbb/paramtempvars
  • Enable Parameter Template Variables in the ACP at Customise -> Manage extensions.


  • Disable Parameter Template Variables in the ACP at Customise -> Extension Management -> Extensions.
  • To permanently uninstall, click Delete Data





No comments have been posted yet for this extension. Rate the extension now and write the first comment.

Last updated: 29. July 2018 04:12:40

Use this image

You can use this image on your Website to show visitors the rating of your Extension.


Image URL

Image HTML

<a href=""><img src="" alt="Parameter Template Variables"></a>


[![Parameter Template Variables](](

BB Code