• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Stop autolinking of own bbcodes

#1
How can i stop the autolinker for own tags which i've created?
I've included in XenForo_BbCode_Formatter_BbCode_AutoLink includes

PHP:
protected $_disableAutoLink = array('url', 'email', 'img', 'code', 'php', 'html', 'plain', 'playstore', 'itunes', 'winshop');
my tags, but they're still changed so instead of

[playstore]https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en[/playstore]

i'm getting
[playstore][url]https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en[/url][/playstore]

Which is breaking the whole forum because url shouldn't be there.
 

cclaerhout

Well-known member
#2
How can i stop the autolinker for own tags which i've created?
I've included in XenForo_BbCode_Formatter_BbCode_AutoLink includes

PHP:
protected $_disableAutoLink = array('url', 'email', 'img', 'code', 'php', 'html', 'plain', 'playstore', 'itunes', 'winshop');
my tags, but they're still changed so instead of

[playstore]https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en[/playstore]

i'm getting
[playstore][url]https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en[/url][/playstore]

Which is breaking the whole forum because url shouldn't be there.
Easiest solution, use the BBCM (> v1.3.5).
Otherwise, read this.