HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Hide Tags From Sidebar
Ewap
New
using vanilla 2.3.1 and i want to remove the tags of each topic from the side bar of each page on the forum.
What can I add or remove to the conf.php
0
Comments
As far as I know there is no way to configure that in your config. You have two possibilities: one is writing a plugin which will remove the module from the panel (those are the terms used in Vanilla for those "widgets" and "sidebar" like things) and the other option would be to hide them via css. The CSSEdit plugin is a great way to apply small style tweaks to your forum.
thanks @R_J !
you can edit "toString" method in "class.tagmodule.php" which placed in tagging plugin.
copy the original before that.
@salamj : Editing core files is the worst approach to change Vanillas behavior. Vanilla is extensible and that's one of its biggest advantages. Please don't give such an advise especially to Vanilla beginners.
@R_J , I agree but tagging is plugin you may take copy of it and enable it after editing and save cope of original without enabling.
The same is true for Vanilla. You can make a copy and work with that, trying to implement all the plugins functionalities directly in the core files. But on the next update, you will be lost.
Yes, tagging is only a plugin and therefore it is not comparable to changing Vanillas core files, you might say. But look at this this commit: the way tagging is integrated into Vanilla will change drastically. Everybody who has changed parts of the tagging plugin will soon find outthat they have wasted their time.
Since you never know if you are only doing a small and unimportant "fix" to the code or if you are changing something which is doomed to be lost when you do the next update, I can only stress that changing Vanillas behavior should be done in the safest way possible. This is the ranking that I would suggest: