No link without BBcode

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26546
Joined: Fri Aug 29, 2008 9:49 am

Re: No link without BBcode

Post by Mick »

Hervé wrote: Mon Jun 05, 2023 2:41 pmAll that remains is to find where the default value of DISABLE_MAGIC_URL is defined.
ssl wrote: Mon Jun 05, 2023 12:38 pmTo do this, he must apply for an extension
But, I’ve moved this to custom coding.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: No link without BBcode

Post by Hervé »

I don't want to custom code !
Changing the DISABLE_MAGIC_URL default value is perhaps possible in the ACP ?
User avatar
ssl
Registered User
Posts: 1654
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert
Contact:

Re: No link without BBcode

Post by ssl »

Hervé wrote: Mon Jun 05, 2023 3:07 pm I don't want to custom code !
No choice because this parameter is not in the ACP
Sorry for my English ... I do my best!

phpBB: 3.3.11 | PHP: 8.2.16
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: No link without BBcode

Post by Hervé »

For information, I've found the solution in another phpBB board :
I have copied posting_editor.html from styles/prosilver/template/ to my own style styles\LeForumRecifal\template
and in that file replaced

Code: Select all

<input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} />
by

Code: Select all

<input type="checkbox" name="disable_magic_url" id="disable_magic_url" checked />
I don't find how to set this subject as solved.
Last edited by P_I on Tue Jun 06, 2023 12:25 pm, edited 1 time in total.
Reason: Change to code tags for readability
Post Reply

Return to “phpBB Custom Coding”