php forum
php mysql forum
php mysql smarty
 
Topic Options
#202155 - 02/01/04 01:23 PM [6.7] [beta] Automatic Long URL Truncater
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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: http://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.
_________________________
Code monkey like Fritos

Top
#202156 - 02/01/04 05:52 PM Re: [6.7] [beta] Automatic Long URL Truncater
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5092
Loc: Portland, OR, USA
Good job al, it makes those long url's look mucho better...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202157 - 02/02/04 11:07 AM Re: [6.7] [beta] Automatic Long URL Truncater
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
cool thanks laugh
_________________________
- Allen wavey
- What Drives You?

Top
#202158 - 02/13/04 03:54 PM Re: [6.7] [beta] Automatic Long URL Truncater
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5092
Loc: Portland, OR, USA
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
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202159 - 02/13/04 04:10 PM Re: [6.7] [beta] Automatic Long URL Truncater
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
updated
_________________________
Code monkey like Fritos

Top
#202160 - 02/20/04 03:13 PM Re: [6.7] [beta] Automatic Long URL Truncater
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5092
Loc: Portland, OR, USA
I AM THE BUG GOD! lol... My fav one:



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
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202161 - 07/22/04 12:41 AM Re: [6.7] [beta] Automatic Long URL Truncater
Paul@xbox365.com Offline
Member

Registered: 03/19/01
Posts: 67
Did the fix for images in sigs get applied?

Top
#202162 - 07/22/04 01:36 AM Re: [6.7] [beta] Automatic Long URL Truncater
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5092
Loc: Portland, OR, USA
I believe so as it states that ian updated it wink ...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202163 - 07/22/04 01:55 PM Re: [6.7] [beta] Automatic Long URL Truncater
Paul@xbox365.com Offline
Member

Registered: 03/19/01
Posts: 67
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

Top
#202164 - 05/21/06 06:45 AM Re: [6.7] [beta] Automatic Long URL Truncater
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Is it just me or does it not like to truncate UBB forum urls?

Top
#202165 - 05/22/06 01:08 PM Re: [6.7] [beta] Automatic Long URL Truncater
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Nevermind... works great thumbsup tipsy

Top


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 83
Gizmo 27
sirdude 24
Zarzal 23
blaaskaak 11
swebs 6
willing 5
Who's Online
0 Registered (), 29 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Nice Ajax Chat
by Thelockman
Yesterday at 09:07 AM
[7.x] UBB.Post Templates v0.1
by sirdude
07/05/08 12:48 PM
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
Changing currency for subscriptions?
by AllenAyres
07/03/08 01:15 PM
Protect users emails
by AllenAyres
07/03/08 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks