Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

More then 5 tags with standard Tagging plugin

edited March 2011 in Vanilla 2.0 - 2.8
Hello all.

How can I use more then 5 tags for discussions, if I use standard Tagging plugin?

Thanks in advance for your answers.
Tagged:

Comments

  • edited March 2011
    OK, the decision was fairly simple. In the file plugins/Tagging/class.tagging.plugin.php you should find a line:

    $NumTagsMax = C('Plugin.Tagging.Max', 5);

    and change 5 to any other value (for example, 10 would be enough for me).
  • lucluc ✭✭
    edited March 2011
    Nope, that's not the correct way to do it.

    The 5 there, is for a default value in case there is not configured value in the conf file.
    You should add a line:
    $Configuration['Plugins']['Tagging']['Max'] = '10';
    if you want 10.
  • Thank you, Luc.
  • Oh, something is wrong.

    I set the default settings in the file plugins/Tagging/class.tagging.plugin.php and added the line suggested by you in conf/config.php, but I still can not use more then 5 tags for discussions.

    Should I do something else?
  • yu_tangyu_tang New
    edited March 2011
  • Ok, I'll close this one then :-)

    There was an error rendering this rich post.

This discussion has been closed.