Additional Info
Type
Package ID
airridetalk:titled_links
First Created
May 29, 2007, 06:50:40 AM
Last Updated
September 04, 2020, 04:49:00 PM

Titled Links v1.5

Turns untitled links in posts to titled links
Compatible With 2.0.17
Latest version v1.5
Downloads 37,566
Reviews 0
Rating 0/5
Subscribers 28
License (View License)
Author(s)
Titled Links


Created By: SlammedDime
Taken Over: JBlaze
Updated By: JBlaze
Taken Over: idesignSMF
Updated By: idesignSMF
Compatible: SMF 2.0




Introduction
Using this mod will give URLs posted in your topics an automatic title.  I saw this on another forum I visit and thought it to be pretty nifty, so I coded this up for SMF.

If a user posts a link outside of  bbcode tags, this mod will find them, look up the webpage, get the title, and replace the link with a bbcoded url with the webpages title... similar to below:

http://www.mysitehere.com
  
will be transformed into

My Website Title

If the page or title cannot be found, the URL in the post is not changed.

This change is made when the post is made or edited, it is not done on the fly, as that may cause lags in load time.

There are also options in the admin interface for Posts so you can turn this feature on or off, and also limit the number of URLs to convert.

convert_urls.php is a tool that can be used to convert all urls in existing messages to titled urls.  I have tested this on a message table with 12,000 messages and it worked as it should, but I cannot promise that it will always work.  Any errors should be reported to the topic for this mod.

Installation
1. Download from the SimpleMachines.org Mod Site.
2. Upload to your forum using the built-in Package Manager.
3. Install using the built-in Package Manager.

Support
For best support, please visit http://www.jblaze.net/forum.

Changelog

1.5 Updated to SMF 2.0.17
1.2: Taken over by JBlaze, updated for RC3/1.1.11
1.1b: Same bug, typo...
1.1a: Bug with URLs that had regex characters in them.
1.1: No code changes, just updated installer for 1.1.3.
1.1: Added settings to 'Posts And Topics'.  Removed XSS vulnerability.
1.0: Initial Release
convert_urls.php
16.08 KB
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: