Quote:
Originally Posted by beebi
just tel me the line NO.
I'm so so tired to think :tired:
|
Im not sure what you mean?
I don't know how to change it so it doesn't give the whole url to the file.
Ill give you an example.
Ive created a new BBCode entry. (called IMG2)
<a href="http://www.domain.com/forum/uploaded/{param}" target="_blank"><img class="tborder" src="http://www.domain.com/forum/uploaded/{param}" width="640" border="1" />
With your hack, once a file has been uploaded it provides the whole URL to the file, so IMG]http://www.domain.com/uploaded/1/image.jpg /IMG] I would like to remove the "http://www.domain.com/uploaded" part, presenting only IMG]1/image.jpg/IMG]
This in conjunction with my BBCode, would mean they could only ever use the new IMG tag (or the attachment feature) i created that contains my domain name, and prevent them from abusing the BBCode to link to external sites. (we have had alot of articles written by people 3 years ago using IMG tags. Since they have left the site, they have also cleaned up their file storage area, meaning the IMG tags linking to that file no longer work, and thus make he article worthless..)
that make sense?