Customizing SMF > Modifications and Packages
Descriptive Links
Spuds:
Link to Mod
Descriptive Links v1.0
By Spuds
License
o This Modifications Source Code is subject to the terms of the Mozilla Public License version 2.0 (the "License"). You can obtain a copy of the License at http://mozilla.org/MPL/2.0/.
Introduction
o Adds capability to automatically update links in posts to display the links page title instead of the default url.
o Converts internal links to show the topic subject or board name as appropriate, external links to website title
o Optional length and generic name protection to avoid changing links to things like Login, welcome, etc
o Optionaly convert links contained inside of BBC URL codes
o Permissions to allow users to disable link conversion on a per post basis (under post additional options)
o Only converts links when the post is saved or modified, ensuring no performance impact during normal message viewing.
Original mods
Based on the concept from :
- "Titled Links" (by SlammedDime - http://custom.simplemachines.org/mods/index.php?mod=835)
There are admin settings available with this mod, go to configuration -> modification settings -> dlinks
Here you can disable/enable various features of the modificaiton.
Installation
Simply install the package to install this modification on the SMF Default Curve theme.
This mod is compatible with SMF 2.0x
Support
Please use the Descriptive Link modification thread for support with this modification.
Changelog
1.0 - 15 January 2012
o + Initial release
4Kstore:
Nice work!
Thanks
Eclipse16V:
Thanks for this Mod
Nice work
Gryzor:
Really nice!!! Just installed it, runs very well!
EDIT Oops, I found a small issue: when I post a plain url in a
--- Code: --- tag, like [code] http://www.blahblah.com
--- End code ---
the mod should not touch it, yet it replaces it with the full tagged url, namely
--- Code: ---[url=http://www.blahblah.com]BlahBlah[/url]
--- End code ---
. Can it be fixed?
Spuds:
Thats the way it works, it finds all links in a message irrespective of other tags it might be nested it. You have the option to turn off the feature on a per message basis however (under advanced) for those times when you don't want it to mess around in a message.
Navigation
[0] Message Index
[#] Next page
Go to full version