AsmBB

Power
Login Register

Categories?
0

#15988 (ツ) logicfish
Created 05.12.2019, read: 3079 times

I can't find anywhere to add categories.

#15989 (ツ) johnfound
Last edited: 05.12.2019 by johnfound, read: 3076 times
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...

#15990 (ツ) logicfish
Created 08.12.2019, read: 3057 times

Thanks for the in-depth explanation John.

Categories?
0

AsmBB v3.0 (check-in: a316dab8b98d07d9); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2023 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE