How to disble clickable links, especially spam?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
deepkar
Registered User
Posts: 40
Joined: Thu Nov 30, 2006 3:47 am

How to disble clickable links, especially spam?

Post by deepkar » Mon Dec 04, 2017 6:44 am

Hi,
Not sure if this had been a feature from earlier. I just noticed all links in the posts (ver. 3.2.1) are clickable. Can someone please clarify what makes the links clickable?

Looks like this function: "make_clickable" does that. However, isn't there a way in the admin UI to prevent hyperlinks?
Appreciate comments.

janus_zonstraal
Registered User
Posts: 2226
Joined: Sat Aug 30, 2014 1:30 pm

Re: How to disble clickable links, especially spam?

Post by janus_zonstraal » Mon Dec 04, 2017 7:43 am

Why do you want that?

If it only for the spam messages, prevent them to post on your board.
Sorry! My English is bat ;) !!!

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

Re: How to disble clickable links, especially spam?

Post by KevC » Mon Dec 04, 2017 8:56 am

Links have always been clickable. They wouldn't be a lot of use if they weren't.
If you're worried about spam it's simpler to stop it getting in in the first place than inconveniencing your entire board membership.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

deepkar
Registered User
Posts: 40
Joined: Thu Nov 30, 2006 3:47 am

Re: How to disble clickable links, especially spam?

Post by deepkar » Mon Dec 04, 2017 9:36 am

Thanks both! I understand, but..
KevC wrote:
Mon Dec 04, 2017 8:56 am
Links have always been clickable. They wouldn't be a lot of use if they weren't.
If you're worried about spam it's simpler to stop it getting in in the first place than inconveniencing your entire board membership.
My modified question is, if I see clickable links in the posts, does that mean URL bbcode was used while posting them? I'm clueless how these became URLs as I had "Allow links.." turned OFF. Probably it was ON intermittently and posts were made during that window?

Regarding the SPAM, most of them are manual and difficult to handle. I just removed all URL tags after exporting the table and doing some regex edit.

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

Re: How to disble clickable links, especially spam?

Post by KevC » Mon Dec 04, 2017 9:44 am

http://www.bbc.co.uk - no bbcode
This is standard.

There is no standard permission for 'allow links'.

You shouldn't get spam at all visible on the board if you have the right set up.

Automated registrations can be stopped with good non-searchable Q&A. Any that get through that can be stopped with the newly registered users group set on a post limit of 1 meaning the fist post of every new user goes in to a moderation queue.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

deepkar
Registered User
Posts: 40
Joined: Thu Nov 30, 2006 3:47 am

Re: How to disble clickable links, especially spam?

Post by deepkar » Mon Dec 04, 2017 9:59 am

KevC wrote:
Mon Dec 04, 2017 9:44 am
There is no standard permission for 'allow links'.
I thought this option in Post Settings is supposed to stop links:

Code: Select all

Allow links in posts/private messages:
If disallowed the [URL] BBCode tag and automatic/magic URLs are disabled.
Yes, I'm now looking into ways to stop (apply moderation on) posters with links.

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

Re: How to disble clickable links, especially spam?

Post by KevC » Mon Dec 04, 2017 10:05 am

Oh so there is. I've never used it. Didn't see the point.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

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

Re: How to disble clickable links, especially spam?

Post by AmigoJack » Mon Dec 04, 2017 12:09 pm

ACP > General > Board configuration > Post settings > General options > Allow links in posts/private messages > Yes just works as expected: neither of these turn into clickables

Code: Select all

www.google.com
http://google.com
nor am I allowed to use this BBCode

Code: Select all

[url]www.google.com[/url]
[url]http://google.com[/url]
Keep in mind that this setting does not alter existing posts - it only applies to posts created/edited after changing this setting.
The worst thing about censorship is ███████████

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

Re: How to disble clickable links, especially spam?

Post by stevemaury » Mon Dec 04, 2017 4:36 pm

The internet is all about links. If you have spam, deal with that - it is easy to eliminate as KevC has pointed out. You are throwing the baby out with the bath water.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

deepkar
Registered User
Posts: 40
Joined: Thu Nov 30, 2006 3:47 am

Re: How to disble clickable links, especially spam?

Post by deepkar » Sun Dec 10, 2017 8:57 am

AmigoJack wrote:
Mon Dec 04, 2017 12:09 pm
Keep in mind that this setting does not alter existing posts - it only applies to posts created/edited after changing this setting.
A possibly related question:
I went ahead and removed URL tags (from around the links) from certain posts in the database. After a while I see URL tags back there in the same post, around the links.
Is there a mechanism in PHPBB that goes though existing posts and tries to "fix" them?

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

Re: How to disble clickable links, especially spam?

Post by AmigoJack » Mon Dec 11, 2017 8:40 am

No.
The worst thing about censorship is ███████████

deepkar
Registered User
Posts: 40
Joined: Thu Nov 30, 2006 3:47 am

Re: How to disble clickable links, especially spam?

Post by deepkar » Wed Dec 13, 2017 1:05 pm

AmigoJack wrote:
Mon Dec 11, 2017 8:40 am
No.
My apologies then, probably I made changes in a local version of the forum and did not replicate the same in the live site.

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: 3Di, lavalamp213, Lumpy Burgertushie and 13 guests