Hi, it's me again :p,
I've discovered another problem. It's about the [ url ] tag and the setting "Convert URLs to links". When I post:
[ url = [url=http://website.com/]http://website.com/[/url] ] Click me ! [ / url ] (but without the spaces)
...in a comment, the function makeClickableLinks($text) will start and convert the url itself to a link, then the bbcode-relpace-array will replace it to a link, which will create double links. And that's of course not intended :p. Any idea how to fix it? And I still want to convert just urls to links :p.
I've discovered another problem. It's about the [ url ] tag and the setting "Convert URLs to links". When I post:
[ url = [url=http://website.com/]http://website.com/[/url] ] Click me ! [ / url ] (but without the spaces)
...in a comment, the function makeClickableLinks($text) will start and convert the url itself to a link, then the bbcode-relpace-array will replace it to a link, which will create double links. And that's of course not intended :p. Any idea how to fix it? And I still want to convert just urls to links :p.
Hi Lkark,
yes, I know about this bug, the only way to fix it is to disable the "Convert URLs to links" option for now, I will fix all ChronoComments issues soon and add new features as well!
Regards,
Max
yes, I know about this bug, the only way to fix it is to disable the "Convert URLs to links" option for now, I will fix all ChronoComments issues soon and add new features as well!
Regards,
Max
Hi Max & Lkark,
Sounds like the same problem I had.
Try this:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=17&t=11488&p=16932#p16446 (disregard the comments below the code)
The 3 files to edit are:
/components/com_chronocomments/chronocomments.php
/plugins/content/ChronoComments.php
/modules/mod_chronomments/helper.php (if you're also using the module)
Works for me with Convert URLs on.
Aloha,
warriorgov79
Sounds like the same problem I had.
Try this:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=17&t=11488&p=16932#p16446 (disregard the comments below the code)
The 3 files to edit are:
/components/com_chronocomments/chronocomments.php
/plugins/content/ChronoComments.php
/modules/mod_chronomments/helper.php (if you're also using the module)
Works for me with Convert URLs on.
Aloha,
warriorgov79
Thanks for posting the link!🙂
Max
Max
This topic is locked and no more replies can be posted.
