Welcome to .:: AE Community™ ::.

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
[vbresults.com] Custom PHP Pages

Addons XF [vbresults.com] Custom PHP Pages v1.1.7

No permission to download
Phiên bản XF tương thích
2.3
This add-on allows creating any number of custom PHP pages with or without the XF layout.
A custom page has access to the XF engine's functions, including sessions and permissions.

All custom pages are their own PHP script with individual configuration; PHP knowledge is required.
A custom page script can be above, below or within the XF install folder, no restrictions.

You can optionally configure any of the following items on a per-page basis:
  • The custom <head> tag items on top of XenForo's defaults (presumably from an external script)
  • The custom page title
  • The custom page content
  • Whether or not to wrap above content in the XenForo layout
  • Whether or not to include XF's social meta tags for social media content previews
  • Whether or not to show breadcrumbs, and what breadcrumbs to show
Installation Instructions
  1. Install the add-on zip file (this is an add-on package without extra files)
  2. Make a copy of sample.php script and name it whatever you want
  3. Point the script's XF constant value to your XenForo install folder; the default is DIR
  4. Set the $head and/or $content variables
  5. Adjust the \ScriptsPages\Setup::set parameters (below), and installation is complete
Sample (sample.php)
PHP:
You must log in to view
(38 lines)

Parameters
PHP:
You must log in to view
(9 lines)

How to set parameters externally
To set any parameter above from an external script, define the PHP constant SCRIPT_PAGE_{KEY} prior to loading XenForo, i.e.
PHP:
You must log in to view
(1 lines)

Disclosure: This add-on is fully functional and is receiving updates if/when it is broken by a core XF update only; there are otherwise no updates and there is no support.
Author
Meta
Downloads
0
Views
43
First release
Last update

Ratings

Latest updates

  1. v1.1.7

    Fixed a major bug relating to custom page controller.
Similar content Most view View more
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top