UBB.Dev
Posted By: Ian Spence [6.7] [beta] Automatic Long URL Truncater - 02/01/2004 9:23 PM
Modification Name: Automatic Long URL Truncater

Author(s): Weird Al

Description: Takes any url over 50 characters and shortens it, thus preventing a long url from altering the page layout

Demo: http://www.alforadmin.com/cgi-bin/ultimatebb.cgi?/topic/3/8/5.html#000072

Requirements: 6.7 Beta Release or higher

Download Link: https://www.ubbdev.com/ubb/upload/00020028/AutomaticLongURLTruncater6.7.txt

Credits: LK for help, Charles Capps for building in elipsurl

Please take note that the first step should only be done if you run a Beta Release of UBB 6.7. The full version will have this step already done.
Posted By: Gizmo Re: [6.7] [beta] Automatic Long URL Truncater - 02/02/2004 1:52 AM
Good job al, it makes those long url's look mucho better...
cool thanks laugh
Posted By: Gizmo Re: [6.7] [beta] Automatic Long URL Truncater - 02/13/2004 11:54 PM
I did however find one bug...

http://www.undergroundnews.com/cgi-bin/ubbcgi/ultimatebb.cgi?/topic/17/29.html

When you enter a URL without the http:// it'll append a / to the www. See the demo
updated
Posted By: Gizmo Re: [6.7] [beta] Automatic Long URL Truncater - 02/20/2004 11:13 PM
I AM THE BUG GOD! lol... My fav one:

[Linked Image]

images in URL's won't work with this mod.

Fix:
Quote
Originally posted by Ian Spence:
ok, have the fix, Gizzy, restore your &urlize sub to it's original state, I'll update the install tonight
Did the fix for images in sigs get applied?
Posted By: Gizmo Re: [6.7] [beta] Automatic Long URL Truncater - 07/22/2004 8:36 AM
I believe so as it states that ian updated it wink ...
Well it is still truncating the [img] bit of [url] sections.

Also the section that it says not to do in 6.7 because its allready done, does not match 6.7.1's code - both the before (obvious) and after sections are diferent from 6.7.1.

Thanks
Is it just me or does it not like to truncate UBB forum urls?
Nevermind... works great thumbsup tipsy
© UBB.Developers