MyBB Community Forums
Code tag how to just have inside text and Not parse link - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Code tag how to just have inside text and Not parse link (/thread-239599.html)



Code tag how to just have inside text and Not parse link - Jano564 - 2023-11-24

..
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


RE: Code tag how to just have inside text and Not parse link - Omar G. - 2023-11-25

[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.


RE: Code tag how to just have inside text and Not parse link - Jano564 - 2023-11-25

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 ?


RE: Code tag how to just have inside text and Not parse link - Al Jones - 2023-11-25

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.


RE: Code tag how to just have inside text and Not parse link - HLFadmin - 2023-11-25

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.


RE: Code tag how to just have inside text and Not parse link - lkop - 2023-11-25

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]


RE: Code tag how to just have inside text and Not parse link - Omar G. - 2023-11-25

(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.


RE: Code tag how to just have inside text and Not parse link - Jano564 - 2023-11-26

thank you problem solved - is my fault if before i have the problem with code