MyBB Community Forums

Full Version: Links within BBcode not parsing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For example, a sponsor has posted
[color=#000000][size=medium]https://www.aliexpress.com/store/product/Vkworld-Mix-5-5-Full-Screen-3500mAh-2GB-RAM-16GB-Android7-0-Smartphone-MTK6737-Quad-Core/2224076_32846108491.html[/size][/color]

But it just shows as plain text. Unclickable and untruncated. Remove the BBcode and it parses fine.

Any ideas?
Maybe you can post link on your forum o we can see that?
It is an issue with mybb in all boards:
https://www.aliexpress.com/store/product...08491.html

The problem is that there aren't spaces between brackets
https://www.aliexpress.com/store/product...08491.html

Add URL mycode and it will work.

[color=#000000][size=medium][url=https://www.aliexpress.com/store/product/Vkworld-Mix-5-5-Full-Screen-3500mAh-2GB-RAM-16GB-Android7-0-Smartphone-MTK6737-Quad-Core/2224076_32846108491.html]https://www.aliexpress.com/store/product/Vkworld-Mix-5-5-Full-Screen-3500mAh-2GB-RAM-16GB-Android7-0-Smartphone-MTK6737-Quad-Core/2224076_32846108491.html[/url][/size][/color]
[color=#000000][size=medium][url=https://www.aliexpress.com/store/product/Vkworld-Mix-5-5-Full-Screen-3500mAh-2GB-RAM-16GB-Android7-0-Smartphone-MTK6737-Quad-Core/2224076_32846108491.html[/url][/size][/color]

Gotta say, the old 1.6x editor was much better. This one is very buggy.
Is there a MyCode which adds a space between the brackets or puts the link in URL BBcode?
If someone can add the size and color mycode then why can't you just have them also do the URL?

Is this something you need sitewide as it's common for members to create colored and sized links? I'm sure they can figure out to use the URL mycode. If anything it's better since they can tag it properly.

The Link

You should have members that understand how the mycode system works and not expect you to make alterations to suit their individual needs. There is a way for it to work. That's all they need.
In other words, you don't know the admin MyCode to parse links in an example like this. Or it's not possible?
Quote:In other words, you don't know the admin MyCode to parse links in an example like this. Or it's not possible?

So you want to add mycode in admincp so you can avoid adding mycode in posts?

Just user the URL mycode that's part of MyBB.

That's how it works. It does work. Just use it as it is.
(2018-01-07, 11:01 PM)labrocca Wrote: [ -> ]
Quote:In other words, you don't know the admin MyCode to parse links in an example like this. Or it's not possible?

So you want to add mycode in admincp so you can avoid adding mycode in posts?

No, I want to add MyCode in Admin CP once, so I don't have to bother with it again.