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: 41
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: 2425
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: 68081
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: 41
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: 68081
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: 41
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: 68081
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: 5239
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: 49234
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: 41
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: 5239
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: 41
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.

MattisBLN
Registered User
Posts: 20
Joined: Thu Jan 09, 2014 12:30 pm
Location: Berlin, Germany
Name: Matthias Henkel
Contact:

Re: How to disble clickable links, especially spam?

Post by MattisBLN » Fri May 04, 2018 5:19 pm

Hello,

I just have the same problem. I don't want any clickable links in my forum that I did not set myself. This is not about spam but about the content of linked pages for which I do not want to be held responsible for.

I have set ACP -> Post -> Allow links in Post to NO. This should disable the URL-BBCode an stop the forum to convert links automatically to clickable links.

The Editor shows "BBCode URL is turned off", so I think the option should be disabled as I set it.

Posting a new post with links like http://www.phpbb.de are correctly displayed without a clickable link in the first place. Later on the link is converted to a clickable link with the URL-Tag, as I can see looking at the post directly at the database a day later.
deepkar wrote:
Sun Dec 10, 2017 8:57 am
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?
AmigoJack wrote:
Mon Dec 11, 2017 8:40 am
No.
I think in fact there is a mechanism that reparses unparsed posts from time to time. This is called cron-jobs. The cron-jobs are triggered each time the forum is hit by a user and under defined circumstances those jobs will run or will not run (the text-reparser e.g. normally only runs every 3600 seconds).

So what I don't understand is why apparently the cron-job seems to add the URL-Tags even if I set links in post to "NO". Is this a bug or a feature?

Thanks for any help.

EDIT: I just noticed that URLs inlcluding amazon are parsed to

Code: Select all

<AMAZON>
. Is that a core feature of phpbb?
EDIT 2: I found out that parsing amazon and youtube to embeded links is part of the media embed feature. As I understand you have to either install the media embed extension or ABBC3.
Still I don't understand why using ABBC3 activates that feature and URL-parsing even if I turn of link detection for posts.

Sincerely Matthias

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49234
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 » Sat May 05, 2018 12:55 pm

Please start your own topic.
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.

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: janus_zonstraal, poi0 and 26 guests