Skip to content

suryatanjung/yourls-limit-custom-keyword-length

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Plugin for YOURLS : Limit Custom Keyword Length

Awesome Listed in Awesome YOURLS!

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 = 3 characters
  • MAX = 30 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:

Example usage