▄▄             ▄▄▄  ▄▄▄ Power
█  █ ▄▄▄▄ ▄▄▄▄▄ █  █ █  █
█▄▄█ █▄▄▄ █ █ █ █▀▀▄ █▀▀▄
█  █ ▄▄▄█ █ █ █ █▄▄▀ █▄▄▀

Login
Register
/ aa about.it ad amd64 and.who api asm asmbb asmbb.features authentication bbcode best bugs bulma cares chat common debian decentralization deck design dll docker email embed fast feature files fossil fresh.ide friendly gamedev heap help hiawatha high.cpu i18n ideas image.board incredible interop learning libfresh limit links linux mailing.list meme meta.http-equiv minimag money mysql neo nginx numbers orly os outage pass password post-by-email programmers programming proile read-by-email resources safety script.alert.xss secret seo skins sodom source sourcecode stress.test subdirectory subforum suggestion support tags templates test test123 theme type very.ugly video work xss игнат котики парола русский тест уеб.програмиране хабр.наполеон
Categories Threads

Categories? RSS

I can't find anywhere to add categories.

logicfish

I can't find anywhere to add categories.

The categories are a special kind of tags, that have a description assigned. The users/admins define this type of tags, by simply using the syntax tag:description when specifying new tags in the threads.

Every tag with description becomes "a category".

Also, the tags have a hidden parameter named "importance" that must be >= 0 for the categories. The tags with importance < 0 will not be displayed as a category.

The order in which the categories are sorted on the category list is according to the Importance value. More "important" categories are listed first.

Every new tag has importance = 0;

The administrator can change the importance and the descriptions of the tags from the SQLite console:

update tags set Importance = IMPORTANCE where tag='MYTAG'; update tags set Description = 'NEW-DESCRIPTION-FOR-THE-TAG-MYTAG' where tag='MYTAG';

So, in order to create a new category, simply create a thread with this new tag and define the tag with description. In order to have tags with description, but not show them in the categories, set the "importance" field to less than 0.

In order to simply remove the description from the tag use:

update tags set Description = NULL where tag='MYTAG';

All these complications are with purpose. The idea is to avoid the over-administration of the forum and to give the users ability to influence the structure of the forum and the priority of the themes.

It is planned to implement later some way for the users to change the "Importance" values of the categories by voting up/down or according to the category use...

Thanks for the in-depth explanation John.

AsmBB v2.7 (check-in: b1b34acbf71dada0); SQLite v3.30.0 (check-in: c20a353364320254);

©2016..2018 John Found; Licensed under EUPL.
Powered by Assembly language
Created with Fresh IDE

Icons are made by Egor Rumyantsev, vaadin and icomoon from www.flaticon.com