Introduction This simple mod fixes all internal SMF urls in posts/pms etc to open in the same window rather than a new window.
Alot of people either just post straight links (which get autoconverted to bbcode), don't know about [iurl][/iurl], can't be bothered or forget to use it when posting links to other smf pages on your site. So that sometimes results in having many new tabs/windows opening for internal links when really opening in the same window is preferrable.
Features o Makes local links (to local smf pages) open in same window (It detects $scripturl at the beginning of the link) o Makes adjustment if using queryless urls. o Works for both www. and non www. links
Installation Any previous versions of this mod need to be uninstalled prior to installing this version.
Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files.
There are NO theme edits required and there are NO language strings to translate.
Donate Has this modification helped you? Support the developer by Donating
Support Please use the modification thread for support with this modification. (Please don't ask me to do the edits for you)
Changelog 1.0 - 9th October 2007 o Initial release per request 1.1 - 16th October 2007 o Fixed bug with dots (.) not escaped o Added /u modifier for when using UTF-8 1.2 - 13th February 2008 o Checked 2.0 compatible (no changes necessary) o Improved/optimized regex pattern o Added adjustment to use boardurl instead of scripturl if using queryless urls o Fixed to work for www. and non www. versions o Updated readme
You have to register or login to be able to leave a review
There are currently no reviews on this customization