Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Matthew K. on August 14, 2009, 07:21:07 AM

Title: ROT13 BBcode
Post by: Matthew K. on August 14, 2009, 07:21:07 AM
ROT13 BBcode





Written by: Arantor (http://www.simplemachines.org/community/index.php?action=profile;u=53626) (my other mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=53626))   Current version: 1.1
Updates: Arantor's Developments (http://ara.ixos.org/)
Suitable for: 1.1.10, 2.0 RC1.2, 2.0 RC2Supported languages: (http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2066) | Mod support topic (http://www.simplemachines.org/community/index.php?topic=330859.0) | Mod bugtracker (http://ara.ixos.org/index.php?project=11) | Donate (https://www.paypal.com/cgi-bin/webscr&cmd=_s-xclick&hosted_button_id=7164850)





Summary

Adds a [rot13] BBcode to encode content using the rot13 rotation, where A becomes N, B becomes O and so on. Content coded with rot13 becomes readable when re-coded with rot13. It also includes a button that is integrated into the editor.

E.g. [rot13]hello[/rot13] becomes 'uryyb'.

Thanks to http://www.famfamfam.com/lab/icons/silk/ for use of an icon image.

Installation

Package Manager should work in most cases. If you need to make any edits, the full list can be obtained from the Parse function on the right.

Useful links
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Support

Questions should be address to the mod support topic (http://www.simplemachines.org/community/index.php?topic=330859.0). Anything that is a bug or feature request can additionally be reported to the mod bugtracker (http://ara.ixos.org/index.php?project=11).

Updating

If you have version 1.0, you do not need to upgrade to 1.1 unless you use RC2. Then it is best to uninstall, delete the old package, then update with the new package.

Changelog

1.1 - 22 October 2009
Update for 2.0 RC2 compatibility

1.0 - 14 August 2009
First release

Files modified by ROT13 BBcode

Sources/Subs.php
Themes/yourtheme/Post.template.php (1.1 only)
Sources/Subs-Editor.php (2.0 only)

Also adds a .gif file into Themes/yourtheme/images/bbc
Title: Re: ROT13 BBcode
Post by: SoLoGHoST on August 14, 2009, 09:22:16 AM
Nice Mod Arantor :)

FYI:  If you need any images, we do them all.  Please feel free to make a request over at graphicsmayhem.com, quality graphics from some of the best graphic designers on the internet, IMO.

Cheers :)
Title: Re: ROT13 BBcode
Post by: Marcus Forsberg on August 14, 2009, 09:24:54 AM
Tbqb wbo, Nenagbe! ;)
Title: Re: ROT13 BBcode
Post by: Arantor on August 14, 2009, 11:08:22 AM
SoLoGHoST: thanks for the offer. I might do that for my next mod that needs icons :)
Title: Re: ROT13 BBcode
Post by: SoLoGHoST on August 14, 2009, 11:37:28 AM
Sure thing, we all consider it an honor! :)
Title: Re: ROT13 BBcode
Post by: Arantor on October 21, 2009, 10:09:34 PM
Updated for RC2 compatibility.
Title: Re: ROT13 BBcode
Post by: Liam. on October 30, 2009, 08:41:17 AM
Arantor has just handed this modification over to me. I will now be updating and supporting this modification.
Title: Re: ROT13 BBcode
Post by: Red G. Brown on November 10, 2009, 08:19:25 PM
what is this mod useful for?
Title: Re: ROT13 BBcode
Post by: Arantor on November 10, 2009, 08:24:14 PM
There are some forums that do use this as a slight form of spoiler (though of course, ones where posting and quoting are disabled) perhaps for hints for things.

At least, that's what the person who asked me for it wanted it for.
Title: Re: ROT13 BBcode
Post by: Apllicmz on October 29, 2010, 12:38:06 AM
When make update
dont forget portuguese