PDA

View Full Version : making the [IMG] tag work?


WA007
04-20-2005, 12:06 PM
hi, how can I make this actually work as an image?

http://mkbot.bounceme.net/*C9EQ_taPS|Lw85R5.w|dVriVk@C/classic/status.png

or this

http://mkbot.net/d3s5hik_Z7V0xYocCrA*p5z-|ptl/msn_topbar/status.png

because people want to use this in their signature (it will show your messenger name and status), its probably somewhere in function handle_bbcode_img?

Xenon
04-20-2005, 01:38 PM
nope, thats a vbulletin setting in your ACP

it's called allow dynamical urls in img tags
it's a security issue, that's why it's deactivated normally

WA007
04-20-2005, 02:53 PM
thanks for your answer, I think I already have that activated because of one of the hacks I have installed (upload signature if I am not mistaken)

Allow Dynamic URL for Tags
With this option set to 'no', the [IMG] tag will not be displayed if the path to the image contains dynamic characters such as ? and &. This can prevent malicious use of the [IMG] tag.

the strange thing is that some work and some don't.. even here! watch:

[img]http://mkbot.net/bjNknC_iWZ.H5NByh-|hda/large/status.png

the link for this image is: http://mkbot.net/bjNknC_iWZ.H5NByh-|hda/large/status.png

http://mkbot.bounceme.net/K6NOi_1A288pcjrV-ERJ/large/status.png

the link for this image is: http://mkbot.bounceme.net/K6NOi_1A288pcjrV-ERJ/large/status.png

so how come this works? I want all of them to work on our board

Xenon
04-20-2005, 04:35 PM
a | is a character which is regarded to be dynamic i think.

on vb.org we don't allow dynamic urls :)

WA007
04-20-2005, 06:20 PM
a | is a character which is regarded to be dynamic i think.

on vb.org we don't allow dynamic urls :)

one of the working links here has | so it can't be that one, it might be * and @ but it is still not working no matter if I allow dynamic url on our board.

Thanks for your efforts trying to help but I think it is in the reghex in functions_bbcodeparse.php.. cause it sounds unlikeley the allow dynamic url option is put in just for the show right.

Xenon
04-22-2005, 01:29 PM
hmm, i don't see images, so o thought you used it as an example of not working images, my fault.

but we haven't changed the regex in the bbcodeparser file, so the default version works as you see here, did you change something on your board maybe?