Can anyone help, need to add more than 5 tags
please @charrondev @R_J guys reply, need to add more than 5 tags in discussion, there is a limit of 5 tags.
There is a setting for that! 😃
Add $Configuration['Vanilla']['Tagging']['Max'] = 50; to your /conf/config.php in order to increase the maximum number from 5 (default) to 50.
$Configuration['Vanilla']['Tagging']['Max'] = 50;
When opening tagging.js and looking for keywords as "limit" or "max" you find
var maxTags = gdn.definition('MaxTagsAllowed', false);
hintText: gdn.definition("TagHint", "Start to type..."),
searchingText: '', // search text gives flickery ux, don't like
Even if you are not fluent in any programming language its easy to see that "maxTags" and "MaxTagsAllowed" are important here. And now, if you search all through Vanillas source for "maxtags" you find it in several places like that:
$sender->addDefinition('MaxTagsAllowed', c('Vanilla.Tagging.Max', 5));
$maxTags = c('Vanilla.Tagging.Max', 5);
$Sender->addDefinition('MaxTagsAllowed', c('Vanilla.Tagging.Max', 5));
Now everything you need to know is that Vanillas settings are stored as $Configurations and accessed as "1.2.3" in the code.