MyBB Community Forums

Full Version: Code tag how to just have inside text and Not parse link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
..
Hi i want to in my forum use code tag but when i use it and add a link inside is parse the link as url to click i just want to all inside the code tag was texte to copy only. How i can disabled inside tag code everything who is a link because inside code https:.... link do This in blue test is short the link and offer to click on but like explained i just want to all be text only.

How ? thank
[quote="Jano564" pid='1389766' dateline='1700864997']
Hi i want to in my forum use code tag but when i use it and add a link inside is parse the link as url to click i just want to all inside the code tag was texte to copy only. How i can disabled inside tag code everything who is a link because inside code https:.... link do This in blue [url=test]test[/url] is short the link and offer to click on but like explained i just want to all be text only.

How ? thank
[/quote]

https://community.mybb.com/thread-239599-post-1389766.html#pid1389766

I'm unsure what you mean.
when i use the code tag in forum - if i share a link inside the code tag is parse the url as link to click i see the link in blue and i can click on it , i will like to ALL text or link i add inside code tag parse it as Text only how i can doing this ?
I think that what he's asking is how to disable any links found within the [ code ] block ... to make the URL's just more text.
testing the question.
Click here for URL.
https://example.com/whatisit.html

This is the text, exactly as you see it, contained within [ code ] tags.
if i am not wrong you cannot do that inside [ code ] tag, because this is the feature of [ code ] tag.
however you can do that use mycode, using different style. like exactly [code ] style but inside links.

[linkcode] [/linkcode]
(2023-11-25, 04:00 PM)Al Jones Wrote: [ -> ]I think that what he's asking is how to disable any links found within the [ code ] block ... to make the URL's just more text.

That is exactly what is being provided proof for here. That is how it works. I'm still confused by the question.

@Jano564 please add a link or screenshots for the issue you are having, as your wording is either confusing or your forum is probably not working as intended.
thank you problem solved - is my fault if before i have the problem with code