![]() |
hooligans !!
hi all,
in my forum many hooligans user , they are prees "Enter" button in keyboard and they make big blank area after post . like this : :( is there way for disable this ? |
I would like this...
Disable more than 2 Line breaks before text... Satan |
thank you hellsatan but i'm not understand what you mean :(
more detail please . |
In admin/functions.php search for:
Code:
$bbcode=nl2br($bbcode); Code:
$bbcode=preg_replace("/\n{3,}/","\n\n",$bbcode); It's untested, if there is a bug let me know. |
thank you Issvar,
now it is canceled all lines ! :) when i wrote like this : AAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCC DDDDDDDDDDD after post : AAAAAAAAAAABBBBBBBBBBBCCCCCCCCCCCDDDDDDDDDDD :) no problem for 1 or 2 or 3 blank lines .. i want to replace 5 lines or more with 2 lines . any idea ? thank you again and sory for my bad english . |
up
|
All times are GMT. The time now is 01:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|