Quote:
Originally Posted by BrightStar
Could someone help me with the code please? My flags directory is located in /forums/images/buttons/flags/image.GIF and everytime I've to upload the directory into the style directory as that's where the script tries to look for.
Is it possible to define a custom location of the directory rather than looking into the style's directory?
Cheers
|
This is what I did.
Code:
<div align="center">
<vb:if condition="$post['field5']">
<img src="/flags/{vb:raw post.field5}.GIF" alt="Users Flag!" border="" />
</vb:if></div>
That way I am not uploading the flags to each style. One flag folder to rule them all!
The path can be suited anyway you like. In my example my flag folder is uploaded outside my forum content - example -
http://www.youraddress.com/flags/Canada.Gif
Hope it helps!