PDA

View Full Version : No Outside Image Tags in Sigs


JKeats
05-13-2004, 12:54 PM
It would be awesome if in signatures, the only url's that would function would be ones that included the page url.

So, for example, here on vbulletin.org, if someone put something like

www.vbulletin.org/image1.jpg

inside of image tags it would work in their signature, however if they tried putting in something like

www.google.com/image1.jpg

inside of image tags, it would NOT work in their signature because it is to an image outside of the page.

might something like this be possible?

ralphuk100
08-16-2004, 08:04 AM
It would be awesome if in signatures, the only url's that would function would be ones that included the page url.

So, for example, here on vbulletin.org, if someone put something like

www.vbulletin.org/image1.jpg

inside of image tags it would work in their signature, however if they tried putting in something like

www.google.com/image1.jpg

inside of image tags, it would NOT work in their signature because it is to an image outside of the page.

might something like this be possible?
yes - the quickest way would be a bit of php - using server variables to check the domain....

if ($_SERVER['HTTP_HOST'] == "www.yoursite.com") {

//load image

}
else {

//dont load image

}

Not sure how you would put raw php into vb templates though...