Link to Mod (http://mods.simplemachines.org/index.php?mod=52)
This mod removes excess blank lines in messages. It works with messages posted after the mod was installed, be it new or an old one modified.
Copyright 2004 by Cristian Lavaque. http://anguz.net
Here's a couple of screenshots. A message with a lot of excess blank lines, I highlighted it to show the trailing spaces too. The second one is after applying the mod.
A couple more things:
- If you really need to have more blank lines than what the mod leaves, you can use the br tag effectively.
- Also, I thought I'd comment cause it's important, this mod doesn't affect the parts of the message enclosed by code tags.
Will you be updating this for 1.0.3 anytime soon?
Thanks.
Yes.
Quote from: Anguz on April 24, 2005, 06:23:05 PM
Yes.
Great. I have this one
jerk I mean member that continues to post blank lines. lol!
Hey, this might be old, but does it work with RC3. Kinda getting so many blank lines at the bottom of my post(s).
Would definitely like to see this for 1.1!
Any update on this?
Updated to 1.1.1 :)
To edit how many lines will be scrunched to 1:
After installing mod, open Sub-Post.php, found in your "Sources" folder.
Find:
Quote$parts[$i] = preg_replace('~(?:\s*\n)(?:\s*\n)+~', "\n\n", $parts[$i]);
Notice "\n\n",
Add/remove a "\n" (Known as a "linebreak") after the previous, to edit how many blank lines will be merged.
Thanks to Angunz for letting me update his mod :)
Run this mod on 1.1.5?
Thks!
ExcessBlankLines102.tar.gz appears to be an empty package...
Please update this mod to work on SMF 1.1.x and 2.0 RC4.
That would be really nice - the DL for the latest Version is broken
Any update for 1.1.13 ??
Some news for this mod with 2.0?