Page 1 of 1
[Request] shorten long link
Posted: Mon May 06, 2002 6:28 am
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
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!
Posted: Tue May 07, 2002 3:51 am
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
Amen. It's amazing the length of some URL's.
Posted: Tue Jun 11, 2002 7:31 pm
just wondering if anyone has come up with a solution for this yet.
Brute Force Solution
Posted: Wed Jun 12, 2002 4:58 pm
Well, this doesn't fix it in phpbb but you could try
to train users to take this approach when posting monster links:
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
Posted: Sun Dec 21, 2003 7:46 am
Title: No Thread Stretch
Author: Thoul firstname.lastname@example.org http://darkmods.sourceforge.net
Description: Prevents page stretching by long images and text.