SMF Mod Site

Mod Name:
Titled Links
Created By:
First Created:
May 29, 2007, 06:50:40 AM
Last Modified:
September 04, 2020, 04:49:00 PM
Latest Version:
Compatible With:
Total Downloads:

Download this mod

convert_urls.php (16kB) [1758] (4kB) [10]
Manual Install Instructions for SMF


Titled Links

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

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:
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.

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

For best support, please visit

Code: [Select]
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