url how to change

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
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

url how to change

Post by BF79 »

yytt.jpg
hello guys .. when I click.. gives just [url] link[/url.]

how can I edit and change it or even add new bbcode [url=link] [/url.]

thank you
You do not have the required permissions to view the files attached to this post.
Last edited by Mick on Sun Mar 03, 2024 11:33 am, edited 2 times in total.
Reason: Solved.
User avatar
Sniper_E
Registered User
Posts: 1196
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: url how to change

Post by Sniper_E »

When you click the url bbcode it inserts [url][/url] If you link to your image you would post it as...
[url]download/file.php?id=278929&t=1[/url]
download/file.php?id=278929&t=1 (showing the url of your image in the link)
Or as you highlighted in your image you would post it as...
[url=download/file.php?id=278929&t=1]My posted image[/url]
My posted image (showing text in the link to your image)
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: url how to change

Post by BF79 »

for my old phpbb 3.1 when I click to link I have popup to put link and text
055.jpg
I dont want the same but something to add link and description or link as photo..
You do not have the required permissions to view the files attached to this post.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6341
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: url how to change

Post by thecoalman »

That's from an extension, I don't know which one .

https://www.phpbb.com/customise/db/extensions-36
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: url how to change

Post by BF79 »

thecoalman wrote: Sun Mar 03, 2024 12:04 am That's from an extension, I don't know which one.

https://www.phpbb.com/customise/db/extensions-36
thank you .. i dont want ext.. just how and where edit my already bbcode comes with phpbb .. when i click i get [url=] [/url.] over the original [url] [/url.]
User avatar
ssl
Registered User
Posts: 1987
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: url how to change

Post by ssl »

The extension that does what you are looking for is this: https://www.phpbb.com/customise/db/exte ... bcode_box/
It's up to you to dissect its code to modify your forum if you don't want to use an extension
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6341
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: url how to change

Post by thecoalman »

This is untested but open /styles/prosilver/template/posting_buttons.html

On line 6 inline find:

Code: Select all

[url]
Replace with:

Code: Select all

[url=]

On line 72 inline find:

Code: Select all

value="URL"
Replace with:

Code: Select all

value="URL="
After you save and upload purge phpBB's cache, anytime you make template edits you need to purge phpBB's cache.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
BF79
Registered User
Posts: 522
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: url how to change

Post by BF79 »

THANK YOU GUYS!!!!!!!!! :)

Return to “phpBB Custom Coding”