ROT13 Encoder/Decoder

WARNING

ROT13 Encoder/Decoder is not being maintained as I have moved onto other projects.  I’d be delighted if you want to take over development.

The ROT13 Encoder/Decoder plugin allows bloggers and commenters to “encrypt” parts of their writing output with the ROT13 cipher in order to conceal content from other readers who don’t wish to read them.

Some cases where you or your site users may want to ROT13 content:

  • Spoilers on a fan website when some visitors may not have caught up to the book/movie/TV episode being discussed.
  • Discussing sensitive topics where a trigger warning may be required.

ROT13 Encoder/Decoder Features:

  • Allow readers to decode by single- or double-clicking the ROT13’d text.
  • Decoded content can be displayed inline or a tooltip-style popup.
  • Visitors can also use ROT13 in their comments: e.g. [rot13]Spoilerific content example[/rot13]
  • Site admins can ROT13 entire comments in one click (Useful for comments that may violate community rules, but you don’t necessarily want to delete).

A TinyMCE menu button is added to the editor to help bloggers select text in their posts to ROT13.

Download

Download from WordPress (Downloaded 1,408 times.)

Installation

Note: XXX refers to the current version release.

Automatic method

  1. Click ‘Add New’ on the ‘Plugins’ page.
  2. Upload rot13-encoderdecoder-XXX.zip using the file uploader on the page

Manual method

  1. Unzip rot13-encoderdecoder-XXX.zip and upload the rot13-encoderdecoder folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

  1. Settings screen for the plugin. Here, the settings show that ROT13'd content will be decoded in place when the user single-clicks on it, and visitors can use the <code>[rot13]</code> shortcode in their comments.

    Settings screen for the plugin. Here, the settings show that ROT13'd content will be decoded in place when the user single-clicks on it, and visitors can use the [rot13] shortcode in their comments.

  2. Blog post with some ROT13'd content decrypted in a pop-up.

    Blog post with some ROT13'd content decrypted in a pop-up.

  3. Editor screen. Use <code>[rot13]</code> and <code>[/rot13]</code> to enclose the content to be ROT13'd, or select your text and click the ROT13 Encoder button.

    Editor screen. Use [rot13] and [/rot13] to enclose the content to be ROT13'd, or select your text and click the ROT13 Encoder button.

  4. If activated, visitors to your blog can also ROT13 their comments.

    If activated, visitors to your blog can also ROT13 their comments.

  5. A comment with some ROT13'd content.

    A comment with some ROT13'd content.

  6. Comments screen when the ROT13 Encoder/Decoder plugin is enabled.

    Comments screen when the ROT13 Encoder/Decoder plugin is enabled.

Changelog

1.8

  • Settings admin page now limited to users with manage_options permission (i.e., admin users only).
  • Administrative ability to ROT13 comments limited to those with manage_comments permission.
  • Fixed Javascript bug on Comments page.

1.7.1

  • Fixed a now-nonexistent reference to a JavaScript object (fixes JS error w/ the WordPress editor)

1.7

  • Removed rot13-encoderdecoder-admin-tinymce.js (No need anymore; required JS variables now hooked directly into editor). Fixes incompatibility with OptimizePress.

1.6

  • Site admins can ROT13 entire comments from the Comments screen.
  • Dashicons support for WP 3.8 + added. Support for old-style icons in Admin/TinyMCE is deprecated.
  • Quicktags support added.

1.5

  • Added some error checking on the color options.
  • New Decoding Trigger: “Hover” will decode the ROT13’d text when the mouse is over the encoded content.
  • New Popup Box Shadow Settings for the ROT13 popup window.

1.4

  • Palettes on Settings color controls are now loaded from colors read from the active Theme’s stylesheet. This
    should help in choosing colors that fit in with the active Theme.
  • Text in pop-ups now take on the same font family as the original encoded text.

1.3

  • Fixed JQuery bugs evident when shortcode is used multiple times on a single post.
  • "click"/"dblclick" events now bound using .on() instead of bind() (allows other plugins to AJAX-load
    content using the [rot13] shortcode without losing the decoding functionality).
  • New popup options “Border Width” and “Border Radius”.
  • No more shilling on the Settings screen. Enjoy!

1.2

  • Color picker on settings screen now uses the built-in Iris jQuery plugin.
  • Use of wp_localize_script means no more passing values to Javascript files via query strings (DOING IT RIGHT!).
  • Allowing commenters the use of ROT13 is now an option instead of automatic.

1.1

  • Fixed some default settings.
  • Improved documentation.

1.0

  • Initial release.

Home of AlienCyborg Consulting