Auto [iurl] For Internal Links And "nofollow" For External Links
(For SMF 2.0.x)
Mod by xPandax | Other Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=158159) by xPandax
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3767) | Support Thread for this Mod (http://www.simplemachines.org/community/index.php?topic=519432.0)
FeaturesThis mod differentiates the internal links from external links and
- automatically adds "iurl" tag for internal links, so that internal links are opened in the same window
- automatically adds "nofollow" only for external links
How-To-Check if this Mod Actually Works in your ForumGo to a thread that has both internal & external links. Right click -> view page source and then search for the internal & external links.
Before installing this mod, the links will appear like
<a href="INTERNAL_LINK" class="bbc_link" target="_blank">INTERNAL LINK</a>
<a href="EXTERNAL_LINK" class="bbc_link" target="_blank">EXTERNAL LINK</a>
After installing the mod, the links will appear like
<a href="INTERNAL_LINK" class="bbc_link">INTERNAL LINK</a>
<a href="EXTERNAL_LINK" class="bbc_link" target="_blank" rel="nofollow">EXTERNAL LINK</a>
Supported ThemesWorks on all the themes without any custom edits!
Supported SMF VersionsTested on fresh installation of 2.0.4.
Supported LanguagesNA.
SupportIf you need support with this mod, please use the Support Thread for this Mod (http://www.simplemachines.org/community/index.php?topic=519432.0).
Changelogv1.0 - Initial release.
WarningIf you are using
v1.0 of Simple Youtube Video Embedder/BBC (http://custom.simplemachines.org/mods/index.php?mod=3751), then please upgrade to
v1.1 or later before installing this mod to prevent error while mod install/uninstall operations.
License
This is free and unencumbered mod released into the public domain. For more information, see http://unlicense.org/ (http://unlicense.org/) or the accompanying UNLICENSE file.