Skip to content

YOURLS Limit Custom Keyword Length

Latest
Compare
Choose a tag to compare
@suryatanjung suryatanjung released this 25 Jan 15:18
b7d3a6d

Plugin for YOURLS : Limit Custom Keyword Length

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 = 20 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