Hidden Tags - an idea

Printer-friendly version

Forums: 

Taxonomy upgrade extras: 

Hi, there was a blogpost from Erin somewhere about user tags. I agreed that that wouldn't be a good idea, but I got a similar one. I used the category browser and realized I can't find stories that the author didn't gave the right tags because s/he feared plotspoilers.
Is it possible to add hidden tags for the author? I mean tags that can be used by the category browser search, but that are not displayed on the front of the story.
That would enable someone to search for the story who is interested in the particular elements, while preventing spoilers for everyone else.

Might be possible

erin's picture

I'll look into it but it will probably require hacking the theme to hide the invisible tags. If you don't hear anything in a couple of weeks, ask me again.

Hugs,
Erin

= Give everyone the benefit of the doubt because certainty is a fragile thing that can be shattered by one overlooked fact.

I had done something similar

So it is possible . Basically we changed the Drupal system to not display "incognito" tags (tags starting with {incog}) and made a posting field for incognito tags that auto appended "{incog}" to .

The code for the story header menu is changed to something like:

$tcount=0;
for (i=0;i< count($tags);i++)
{
if (!preg_match ("/{incog}*/",$tags[i]))
{
$newtags[$tcount]=tags[i];
$tcount++;
}
}

And then use tcount as the array to of tags to create the headers link.

The Tag links will still display them as they are told to search for both TAGNAME and {incog}TAGNAME.

I might be able to help but it would take time ( I haven't touched drupal in ages and I need to catch up)

Lily.

I've thought about that

I was concerned that I would mess with my story, possibly even ruin the effect that I was going for. I don't know how hidden tags would work, but maybe it's an idea?

Wren

The idea is that the tag

The idea is that the tag isn't displayed on top of the story, but will be associated to the story by the search engine.

Imagine I've written a good story with identity death. I know most readers hate identity death, but it totally makes sense, is actually a major plotpoint of the story and not just a copout. I don't want to reveil that plotpoint or repulse potential readers, but on the other side I'd like my story appear in the searchlist for identity death so that a reader who wants to read an ID death story will be able to read it, but I don't scare away everyone else.

Ain't gonna happen soon

erin's picture

I tried four different modules, none of them work as advertised and one of them requires that I disable other modules so it can work.

HOWEVER, with the new SOLR search module, text and author notes at the end of a story can be searched for, giving a similar result without cluttering up the code. Gonna have to do for now.

Hugs,
Erin

= Give everyone the benefit of the doubt because certainty is a fragile thing that can be shattered by one overlooked fact.