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: about 13 hours ago
JSON representation

This plugin limits the min and max number of characters for custom keyword

Lists

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)*