<commit_before>Custom Pages Extended
============

Allows admins to add custom pages (html, **php**, or markdown) or external links to various navigations (e.g. top navigation, account menu).

__Status:__ Alpha v0.1.2
__Module website:__ <https://github.com/WASasquatch/humhub-modules-custom-pages>
__Author:__ <NAME>, Luke
__Author website:__ [<NAME> @ HumHub](http://community.humhub.org)

### New Features in Extended Version

- **PHP** Pages for Inline-Module Creation!
- **Active User Model** data passed for Inline-Module creation, or other software, such as use for chat nicknames.
- **More Soon** ...

### Installation

- Simply drop the module as "custom_pages" into your /protected/modules/ folder
- Activate, and configure the module.

### PHP Page Usage

- The PHP pages run off the eval() functioning, meaning all supplied input needs to be already in PHP Mode. Do not start, or end with `<?php ... ?>`, instead write as if already in PHP Mode. 
- You can use the object var `$user` to access user information such as the user display name `$user->displayName`

For more  information visit parent module:
<https://github.com/humhub/humhub-modules-custom-pages><commit_msg>Added example link to README.md<commit_after>Custom Pages Extended
============

Allows admins to add custom pages (html, **php**, or markdown) or external links to various navigations (e.g. top navigation, account menu).

__Status:__ Alpha v0.1.2
__Module website:__ <https://github.com/WASasquatch/humhub-modules-custom-pages>
__Author:__ <NAME>, Luke
__Author website:__ [<NAME> @ HumHub](http://community.humhub.org)

### New Features in Extended Version

- **PHP** Pages for Inline-Module Creation!
- **Active User Model** data passed for Inline-Module creation, or other software, such as use for chat nicknames.
- **More Soon** ...

### Installation

- Simply drop the module as "custom_pages" into your /protected/modules/ folder
- Activate, and configure the module.

### PHP Page Usage

- The PHP pages run off the eval() functioning, meaning all supplied input needs to be already in PHP Mode. Do not start, or end with `<?php ... ?>`, instead write as if already in PHP Mode. 
- You can use the object var `$user` to access user information such as the user display name `$user->displayName`
- [Example HStats Inline-Module](docs/example.md)

For more  information visit parent module:
<https://github.com/humhub/humhub-modules-custom-pages>
{'fraction_non_alphanumeric': 0.11936013125512715, 'fraction_numerical': 0.002461033634126333, 'mean_word_length': 4.444196428571429, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2418271', 'n_tokens_mistral': 698, 'n_tokens_neox': 681, 'n_words': 294}