How to limit minimum font size tag in post

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
user0
Registered User
Posts: 5
Joined: Thu Apr 03, 2025 9:26 am

How to limit minimum font size tag in post

Post by user0 »

There are spam bots posting links inside size tag =1 making it "invisible", eg

Code: Select all

[url=SPAM][color=#FFFFFF][size=1]SPAM[/size][/color][/url]

ACP > Post settings has only setting to limit:
Maximum font size per post: 200

Is there any way to limit "Minimum font size per post" (to reasonable 50) other than:
- modifying in bbcode_size in includes/message_parser.php
- creating extension
?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53645
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: How to limit minimum font size tag in post

Post by Brf »

Surely anyone using size=1 is a spambot. It is better to let them post like that as a simple way to identify them.
user0
Registered User
Posts: 5
Joined: Thu Apr 03, 2025 9:26 am

Re: How to limit minimum font size tag in post

Post by user0 »

Well, this is one way to approach this issue
What is the best/easiest way to automate finding such posts for further moderation/automatic deletion?

On the other hand, it could be handy to have "Minimum font size per post" setting in ACP.
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: How to limit minimum font size tag in post

Post by Gumboots »

I made a bug report for this a while back: viewtopic.php?p=15940861#p15940861
That post contains a CSS kludge that will nail the issue until a proper back end fix is implemented. It also deals with the associated bug of nested font-size tags allowing compounding huge text.

Yes, it is on the bug tracker too: https://tracker.phpbb.com/browse/PHPBB3-17119
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
user0
Registered User
Posts: 5
Joined: Thu Apr 03, 2025 9:26 am

Re: How to limit minimum font size tag in post

Post by user0 »

OMFG
it was reported 2 years ago.. and still here we are
ReJigged
Registered User
Posts: 9
Joined: Fri May 30, 2008 11:49 am

Re: How to limit minimum font size tag in post

Post by ReJigged »

+1 vote on this.

My board is getting a little over-run with this kind of spam. It appears to be a way of getting backlinks.

I need a way of preventing posts that have or in the post.

Just a way of disabling just these bbcodes would be a step in the right direction but that kind of granular control is not available. Unless someone knows of an extension that will do this?

The ideal rule would be "if (post contains '') then reject"

Return to “[3.3.x] Support Forum”