Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Creating a Tag System[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Jul 2, 2018 01:43 PM UTC:

While checking the error logs this morning, I came across errors in index/tagsinfo.php. It is accessing both the TagDetails table and the Tags table. The Tags table is something I recently started, and the TagDetails table is something that someone else (Ben?) had started previously. I notice it was last updated today. So, someone is still working on this. In the database backup, there are some old tables called TaggedItems and Tags. It looks like maybe I renamed Tags to TagDetails, got rid of TaggedItems, and started a completely new tagging system with a new Tags table. The current Tags table is unrelated to the old one, and it has no connection with TagDetails. The current Tags table is a many-to-many table of user-created tags, and each tag is just a string, not something with a description or an ID. This implements an open-ended system for allowing users to add any tag they wish to any page.

It looks like the original tables for tags were trying to implement a closed system of select tags. I'm not sure if they were meant only for editors to add or for anyone to add, since the code never got that far.

I have been thinking of using tagging to better organize the pages, but this may involve making tags less open than they are right now. Any thoughts on how this could be done?

Anyway, when someone else is coding something here, I need to be updated on what is going on. This will help keep things coordinated.