Question about stopping excessive spacing

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Ideas Centre
Post Reply
BigBoosting
Registered User
Posts: 13
Joined: Wed Jul 05, 2017 2:14 pm

Question about stopping excessive spacing

Post by BigBoosting »

Hey all, I'm brand new to phpBB so please excuse me if this is a dumb question.
I'm wondering if there is a way to stop excessive pressing of the enter key in between text. For example:

I'm an annoying spammer

























I'm an annoying spammer

And this continues over and over throughout the whole post with the goal being to make it as long as possible so others have a hard time reading/scrolling the thread. Is there a way to stop this or limit the amount of enters in between text?

Thanks,
Erica

User avatar
Toxyy
Registered User
Posts: 702
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: Question about stopping excessive spacing

Post by Toxyy »

Would it be possible to add, say, type 5 enter characters in their html format into the word censor and replace it with something else?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics

User avatar
AmigoJack
Registered User
Posts: 5681
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Question about stopping excessive spacing

Post by AmigoJack »

Toxyy wrote:
Wed Jul 05, 2017 6:05 pm
type 5 enter characters in their html format into the word censor
"enter characters" do not exist, you most supposely mean newlines and bytes for those vary. Additionally the word censor doesn't accept raw HTML either. However, doing this manually with an SQL query might work. But keep in mind that word censors affect almost everything, not only post texts.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
Ger
Recognised Extension Developer
Posts: 1913
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Question about stopping excessive spacing

Post by Ger »

Most simple solution would be to add a simple CSS rule:

Code: Select all

.post br + br + br + br {
	display: none;
}
This simply hides 4 sibling breaks within a post. It doesn't affect anything else besides post content.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69559
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Question about stopping excessive spacing

Post by KevC »

Are these actual spam accounts or just normal people on the board having a 'game' of making the posts longer?

If it's the former, you're better off stopping the spam before it even happens.
If it's the latter, it's your board, make rules and enforce them. If people can't be sensible start putting them on moderation queues or ban them for a bit until they learn.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

BigBoosting
Registered User
Posts: 13
Joined: Wed Jul 05, 2017 2:14 pm

Re: Question about stopping excessive spacing

Post by BigBoosting »

Ger wrote:
Thu Jul 06, 2017 8:52 am
Most simple solution would be to add a simple CSS rule:

Code: Select all

.post br + br + br + br {
	display: none;
}
This simply hides 4 sibling breaks within a post. It doesn't affect anything else besides post content.
I'll try that, thanks!

BigBoosting
Registered User
Posts: 13
Joined: Wed Jul 05, 2017 2:14 pm

Re: Question about stopping excessive spacing

Post by BigBoosting »

KevC wrote:
Thu Jul 06, 2017 8:55 am
Are these actual spam accounts or just normal people on the board having a 'game' of making the posts longer?

If it's the former, you're better off stopping the spam before it even happens.
If it's the latter, it's your board, make rules and enforce them. If people can't be sensible start putting them on moderation queues or ban them for a bit until they learn.
I have a forum that allows Guests to post. Some don't like the main topic of discussion so they spam with long blank posts just to be disruptive. I ban IPs, but it would be nice to have something automated to not even have to worry with it

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50990
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Question about stopping excessive spacing

Post by stevemaury »

Banning IPs is a waste of time and resources. If you allow Guest posting, you will have issues.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “phpBB Discussion”