Page 1 of 1

[Request] shorten long link

Posted: Mon May 06, 2002 6:28 am
by AL
if someone posts a really long url it breaks the tables. how about a mod that gets/sets a max value, then if the url is longer than max value it copies up to max value, then puts in ...
this is similar to the last topic title on index mod.

i figure it should be pretty simple, but can't figure out where to start.

Posted: Mon May 06, 2002 7:55 am
by AbelaJohnB
Hey.


I have two different methods to acomplish this, however, I can't figure out how to get either of them to work.


I think what I'll do is drop a PM to Nathan C. and see if he can whip this up for us! I'd really like to see this too!


Later.

Posted: Tue May 07, 2002 3:51 am
by sccr410
I could really use something like this. My forum is strictly set to a certain width, and long strings of text mess it up.

Posted: Tue May 07, 2002 8:11 am
by namaah
Amen. It's amazing the length of some URL's.

Posted: Tue Jun 11, 2002 7:31 pm
by AL
just wondering if anyone has come up with a solution for this yet.

Brute Force Solution

Posted: Wed Jun 12, 2002 4:58 pm
by bradl
Well, this doesn't fix it in phpbb but you could try to train users to take this approach when posting monster links:
http://www.makeashorterlink.com/

Mods/admins with edit privs can also band-aid problem links after the fact by substituting the shorter links in posts that break the page.

Posted: Sun Dec 21, 2003 6:49 am
by cotdagoo
oops

Posted: Sun Dec 21, 2003 7:46 am
by NTwebsite
Title: No Thread Stretch
Author: Thoul thoul@users.sourceforge.net http://darkmods.sourceforge.net
Description: Prevents page stretching by long images and text.
Version: 1.2.0