Page 1 of 1
Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 11:24 am
by Barbie
How can I disable the automatically link creation for any text starting with "www"?
Example:
is rendered as a link:
www.nowhere
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 11:37 am
by Buggie
when your
www.nowhere
then nothing wrong with that.
Code: Select all
[inlinecode]www.nowhere[/inlinecode]
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 12:04 pm
by Barbie
Thanks for answer, but that changes the display from
rendering as link to
rendering as code.
I tried also the
numerical encoding for "w" (w) but that does not work as you see.
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 12:16 pm
by Buggie
Try crazy unicode dot.
www․nowhere
․
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 12:52 pm
by Barbie
Buggie wrote: ↑Thu Sep 08, 2022 12:16 pm
․
Haha, nice workaround, thanks.
@Shade: Something like
[noBBCode]…[/noBBCode]
would of course be a cleaner solution.
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 9:29 pm
by Shade
Barbie wrote: ↑Thu Sep 08, 2022 12:52 pm
@Shade: Something like
[noBBCode]…[/noBBCode]
would of course be a cleaner solution.
I tried finding an extension for that but couldn't find any. But maybe I didn't use the right terms for the search.
Maybe you have some luck:
https://www.phpbb.com/customise/db/extensions-36
Btw, if you don't use any BBCode in your post at all, you can still check the box "Disable BBCode" for that post.
Re: Disable auto link for any text starting with "www"
Posted: Thu Sep 08, 2022 9:32 pm
by Buggie
www.test
[hr][/hr][autm][/autm]
Post above with disabled bbcode. Link replacement it is not part of bbcode.[hr][/hr][autm][/autm]Also it is bug. Posts merged when bbcode disabled and not. So it goes to hell[hr][/hr][autm][/autm]"Do not automatically parse URLs" do the job.
Re: Disable auto link for any text starting with "www"
Posted: Fri Sep 09, 2022 10:11 am
by Barbie
Buggie wrote: ↑Thu Sep 08, 2022 9:35 pm
"Do not automatically parse URLs" do the job.
That's what I needed. Thanks. IMO it should be enabled by default.
Re: Disable auto link for any text starting with "www"
Posted: Fri Sep 09, 2022 10:47 am
by Shade
Oh wow, I was blind. I never use these checkboxes. But glad that the option already exists.