Spoiler Tags!

I usually try to use the

<!–more–>

tag before spoilers, but sometimes that breaks things up in unnecessary ways. Thanks to Hung, Sea Slugs! is now using a plugin that allows for simpler spoiler-hiding. I did a few experiments, and I believe it does work in comments. So please enclose serious spoilers within

<spoiler>

and

</spoiler>

tags, and we’ll try to do the same in our posts.

However, for the purposes of writing posts, I am still going to talk about what happened in the episode. After all, if you are reading the post, surely you have seen the episode or want to know what happened in it. This is mostly for those season-changing spoilers, and also for letting manga readers gab on in comments without disturbing everyone else.

Update:

Many thanks to Omni for providing a little tech help with this plugin. Here’s what he suggests:

By default, Wordpress only allows certain HTML tags to be used in the comments. It only commits those allowed tags to the database, so even if you write a non-allowed tag in, it won’t show because it’s not parsed in. For instance, by default, Wordpress does not allow you to use target tags in your links. (target=”_blank” inside of an a href). What I had to do to enable that, and spoiler tags, for comments is to:

1. Go into your wp-includes folder and find kses.php.
2. You’ll see an if block that says
if (!CUSTOM_TAGS) {

}
3. Inside this block, there should be all of the allowed HTML tags for your comments. Use the same syntax as them and write in all of the tags that you would like, including the spoiler ones.

Specifically, I have the line

’spoiler’ => array(),

included. I’m not sure if the list has to be in alphabetical order, but I kept it that way.

I had suspected this was the case, but didn’t know where the exceptions were stored. Not sure I did it right, anyone want to test it out?

Related posts:

  1. Changes to Spoiler Tags
  2. WP 2.3 RC1
  3. Who Are Your Top Commenters

This entry was posted in Blogging Tips, Site News. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

12 Comments

  1. (Power Level: 67)
    Posted February 24, 2006 at 2:33 am | Permalink

    Oooh, I hope I’m the first one to try this:

    Mai Otome spoilers: – read if you dare
    Show ▼

    That’s really nifty. I’ve been trying to do something similar but unfortunately Moveable Type doesn’t have that kind of plugin.

  2. (Power Level: 67)
    Posted February 24, 2006 at 2:35 am | Permalink

    Ack! It doesn’t work. I did put the spoiler tags -> this should not be seen. For what it’s worth, I don’t think such scenario will happen in Mai Otome anime. Anyway, feel free to delete the post above if you want.

  3. Chris
    (Power Level: 630)
    Posted February 24, 2006 at 6:58 am | Permalink

    Jason already told us that much, but

    Show ▼

  4. Chris
    (Power Level: 630)
    Posted February 24, 2006 at 6:59 am | Permalink

    Hmm, that Tag doesn’t work either.

  5. (Power Level: 2351)
    Posted February 24, 2006 at 7:24 am | Permalink

    I edited the comments and it seems to work…. I also did a test comment with the tags and that worked… not sure why it didn’t work for everyone else… Hung suggested it might have to do with updating to the newest version of WP, so I might do an update this weekend (hopefully getting away with changing as few files as possible).

  6. (Power Level: 3)
    Posted February 24, 2006 at 7:32 am | Permalink

    Show ▼

  7. (Power Level: 3)
    Posted February 24, 2006 at 7:33 am | Permalink

    hrm, my spoiler tags and formatting got removed from above… clicking the above linked could ruin your experience of the mai otome anime forever. Though after me saying that, you probably really want to click that.

  8. Chris
    (Power Level: 630)
    Posted February 24, 2006 at 9:44 am | Permalink

    Another spoiler, another try, but remember use the tag or die! Here it goes, some spoilerific screenshot from Hellsing Ultimate:

    http://www.northarc.com/images/sazan/3×3_01_1024.jpg

  9. Chris
    (Power Level: 630)
    Posted February 24, 2006 at 9:45 am | Permalink

    Me thinks, problem is this: You as owner can use tags, me as user gets hit by a tag filter.

  10. Ender
    (Power Level: 422)
    Posted February 24, 2006 at 12:08 pm | Permalink

    Looks like tags are working, at least from my POV.

  11. Wyk72
    (Power Level: 142)
    Posted February 24, 2006 at 6:14 pm | Permalink

    (test)

    I believe Sakura in Fate/Stay Night will

    Show ▼

    (/test)

  12. (Power Level: 2351)
    Posted February 24, 2006 at 9:16 pm | Permalink

    YESSSSS success!

One Trackback

  1. By Sea Slugs! Anime Blog » Changes to Spoiler Tags on September 22, 2007 at 10:11 pm

    [...] major hack in the core files right now (most current hacks are to the WP Content folder) is the kses.php change to enable the Simple Spoiler [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
:blank: :blush: :cool: :cry: :eek: :grin: :hmm: :lol: :love: :mad: :| ;P :( :o :) ;)

Subscribe without commenting

  • Recent Comments

  • Series Watched

  • Search

  • Abridged Blogroll

  • Useful Links

  • Buttons

  • Meta