cotonti.com : Links are not working correct https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sun, 01 Feb 2026 14:15:51 -0000 foxhound Thanks for that I did read the topic earlier today and checked my code, all was fine there ;)]]> Za, 14 Aug 2010 23:13:41 -0000 pieter
A lot of them have pictures with stats. And in there are also :
If you delete them there do, these can be shown too.
See here]]>
Za, 14 Aug 2010 21:52:07 -0000
foxhound You know, probably this is again due to my stupidity but i always thought that list was the "allow" list :O

Thanks, that immediatly fixed all my link issues!]]>
Za, 14 Aug 2010 21:49:12 -0000
pieter
\[url=((?:http://|https://|ftp://)?[^\s"':\[]+)\](.+?)\[/url\]

delete de : in de part after second ?

Like this:
\[url=((?:http://|https://|ftp://)?[^\s"'\[]+)\](.+?)\[/url\]
]]>
Za, 14 Aug 2010 20:41:18 -0000
foxhound
Anyway, changing the bbcode like that does not fix it, cause the first bbcode does not even work on my site neither. This
- Animation list 3
- [url]http://community.bistudio.com/wiki/ArmA2:_Moves[/url]

Displays as
- [url=http://community.bistudio.com/wiki/ArmA2:_Moves]Animation list 3[/url]
- [url]http://community.bistudio.com/wiki/ArmA2:_Moves[/url]

Here on the Cotonti site its working (that first link, the second is neither), so I am wondering whats wrong with my bbcode in the admin panel.
If you want to see an example i can show you on the site.]]>
Za, 14 Aug 2010 20:09:32 -0000
ez
[^\s"':\[]+)\](.+?)

is different from:

[^\s"':]+)

so the second one will detect less url's.

This is just a quick look at it, do not kill me if it is wrong..

But try to replace [^\s"':]+) with [^\s"':\[]+)\](.+?)

OW, when you change BBCodes, try it in a NEW post, or save an existing one.

greetings,

EZ

(ps. Check the shoutbox I sent :) )]]>
Di, 13 Jul 2010 20:11:52 -0000
foxhound I checked it on this site and here it is working just fine as you can see below.
The problem is with links like these:
http://community.bistudio.com/wiki/ArmA2:_Moves
The ":" makes the bbcode being unable to paste the link correctly. If you use bbcodes the output looks like this:
- [url=http://community.bistudio.com/wiki/ArmA2:_Moves]Animation list 3[/url]
- [url]http://community.bistudio.com/wiki/ArmA2:_Moves[/url]
While if I post these links here they are pasted correctly:
- Animation list 3
- [url]http://community.bistudio.com/wiki/ArmA2:_Moves[/url] <----hmmm, seems not to work here neither?

You can have a look for yourself how it looks in the forums:
http://www.armaholic.com/forums.php?m=posts&q=6751


This is my bbcode:
\[url=((?:http://|https://|ftp://)?[^\s"':\[]+)\](.+?)\[/url\]
with html:
<a href=https://www.cotonti.com/"$1" target="_blank">$2</a>

And here is the other bbcode:
\[url\]((?:http://|https://|ftp://)?[^\s"':]+)\[/url\]
with html:
<a href=https://www.cotonti.com/"$1" target="_blank">$1</a>

Anyone able to see what is wrong?]]>
Di, 13 Jul 2010 19:43:52 -0000