Forumlar / Cotonti / Support / question about bbcode

HarryRag
#1 2010-03-05 21:37
Loa all,

Got a small problem with the bbcode for posting images which link to a specific url

[url=http://www.gametracker.com/server_info/213.163.68.246:19567][img]http://cache.www.gametracker.com/server_info/213.163.68.246:19567/b_560x95.png[/img][/url]

[url=http://www.pbbans.com/sig-allbans-ab1630.html][img]http://www.pbbans.com/sigs/1630a.png[/img][/url]


[img]http://cache.www.gametracker.com/server_info/213.163.68.246:19567/b_560x95.png[/img]



As you can see, the 1st doesn't work, but the 2nd works perfect and both are .png files
Don't when the change started, it worked in the past, just tested this today with announcing a new server on our site.

Any idea how to fix this instead of using the html code of gametracker?
[center][url=<a href="">http://www.true-gamers.nl]True</a> &amp; Honest Gamers[/url][/center]
pieter
#2 2010-03-05 23:26
It is not the bbcode.
It is the code you have put in.

[url=http://www.gametracker.com/server_info/213.163.68.246:19567][img]http://cache.www.gametracker.com/server_info/213.163.68.246:19567/b_560x95.png[/img][/url]
[url=http://www.pbbans.com/sig-allbans-ab1630.html][img]http://www.pbbans.com/sigs/1630a.png[/img][/url]

First URL is not recognized because of the samy colon ":"
First IMg url has the same ":"
It is because it is the port it is using.

If you change it, deleting the : and portnumber, it works.





Added 41 seconds later:

Maybe someone can help you to change the bbcode config to support portnumbers or ":"

Added 15 hours 22 minutes later:

Goto: admin.php?m=bbcode

Search foir URL and IMG. There are 2 for each.

\[img\]((?:http://|https://|ftp://)?[^"\';:\?\[]+\.(?:jpg|jpeg|gif|png))\[/img\]

Delete the : in
^"\';:\?\[
Do it also in the other IMG and in both URL

I don't know if this has a security consequence. But it works.
... can we help you ...
Bu gönderi pieter tarafından düzenlendi (2010-03-06 14:54, 15 yıllar önce)
HarryRag
#3 2010-03-06 18:20
Thnx gonna try it

Posted a few secs later

That works great, thanx Pieter
[center][url=<a href="">http://www.true-gamers.nl]True</a> &amp; Honest Gamers[/url][/center]
Bu gönderi HarryRag tarafından düzenlendi (2010-03-06 18:35, 15 yıllar önce)