Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suryatanjung/yourls-limit-custom-keyword-length
This plugin limits the min and max number of characters for custom keyword
https://github.com/suryatanjung/yourls-limit-custom-keyword-length
List: yourls-limit-custom-keyword-length
awesome awesome-list yourls yourls-api yourls-client yourls-extension yourls-plugin
Last synced: 14 days ago
JSON representation
This plugin limits the min and max number of characters for custom keyword
- Host: GitHub
- URL: https://github.com/suryatanjung/yourls-limit-custom-keyword-length
- Owner: suryatanjung
- License: other
- Created: 2024-01-25T12:06:00.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-01-28T13:47:39.000Z (10 months ago)
- Last Synced: 2024-05-21T13:15:54.147Z (6 months ago)
- Topics: awesome, awesome-list, yourls, yourls-api, yourls-client, yourls-extension, yourls-plugin
- Language: PHP
- Homepage: https://github.com/suryatanjung/yourls-limit-custom-keyword-length
- Size: 35.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Limit Custom Keyword Length (Min & Max Characters) - This plugin limits the minimum and maximum number of characters for custom keyword. (Plugins / L)
README
# Plugin for YOURLS : Limit Custom Keyword Length
[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome)
> Works on YOURLS 1.9.2
## What for
This plugin limits the minimum and maximum number of characters for custom keyword
By default, custom keyword length limit on this plugin is:
* MIN = 4 characters
* MAX = 15 characters## How to
* In `/user/plugins`, create a new folder named `limit-custom-keyword-length`
* Drop these files in that directory
* Open the plugin.php and edit the value of $max_length and $min_length to suit. You can also customize your error messages
* Go to the Plugins administration page ( eg `https://sho.rt/admin/plugins.php` ) and activate the plugin
* Have fun!## Tips
**`BTC (ERC20): 0xc96f5273bdd688aa421633c199401af407352d18`**
## License
Limit Custom Keyword Length (YOURLS Plugin) is free software
This code is released under:
* [MIT License](https://github.com/suryatanjung/yourls-limit-custom-keyword-length/blob/main/LICENSE): *Copyright (c) 2024 [Surya Tanjung](https://jung.bz/) [[email protected]](mailto:[email protected])*
* [YOURLS License](https://github.com/YOURLS/YOURLS): *Do whatever the hell you want with it. :)*
* **Credits: Thanks to [YOURLS Awesome Team](https://github.com/YOURLS/YOURLS/graphs/contributors)**## Example usage
* *[Sor.bz | Best URL Shortener, Simple, Easy, and Free!](https://sor.bz)*