phpBB Extension - Parameter Template Variables

Parameter Template Variables extension for phpBP

phpbb, extension, template, variables
https://github.com/marttiphpbb/phpbb-ext-paramtempvars

Authors of extension

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

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 phpBB.com

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

I.e:

{%- if SCRIPT_NAME == 'ucp' and marttiphpbb_paramtempvars.i == 'pm' -%}
    This content is only visible in the private messages page in the UCP...
    Url: https://your-domain.org/ucp.php?i=pm
{%- endif -%}

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

PARAMTEMPVARS_<parameter_name_uppercase>

This format is still available but depreciated.

Requirements

  • 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.

Uninstall

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

Support

License

GPL-2.0

Comments


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.

Rating

Image URL

https://phpbb-extensions.ga/marttiphpbb/paramtempvars.png

Image HTML

<a href="https://phpbb-extensions.ga/marttiphpbb/paramtempvars"><img src="https://phpbb-extensions.ga/marttiphpbb/paramtempvars.png" alt="Parameter Template Variables"></a>

Markdown

[![Parameter Template Variables](https://phpbb-extensions.ga/marttiphpbb/paramtempvars.png)](https://phpbb-extensions.ga/marttiphpbb/paramtempvars)

BB Code

[url=https://phpbb-extensions.ga/marttiphpbb/paramtempvars][img]https://phpbb-extensions.ga/marttiphpbb/paramtempvars.png[/img][/url]