Popup BBCode

Mod BBCode Database
BBCodes that need some file editing or extra files

Re: Popup BBCode

Post by wide »

This one we can see,
http://www.harley-heaven.com/forum/images/backblack.png

This one is in the same directory,and isn't visible....
http://www.harley-heaven.com/forum/images/play.gif

Re: Popup BBCode

Post by Stoker »

Okay, found the error.
Find this in the html part of the bbcode:

Code: Select all

src="/images/play.gif"
and change it to:

Code: Select all

src="./images/play.gif"

Re: Popup BBCode

Post by wide »

That does the trick!
Thank you for your support.
One more question:
I saw more than 100 people downloaded this code.
Why is it,this seems to be the first time someone is "reporting" a bug?
Is it because the other downloaders don't care,or am I just stupid,and did the other downloaders find the error themselves?

Re: Popup BBCode

Post by Stoker »

It works with tho bug for me because I have the forum directly in the domain root.
You have placed yours in a folder called forum. That is the difference.

Re: Popup BBCode

Post by wide »

Ok,clear.
But why did the png work,and the gif not?
They are in the same directory.

Re: Popup BBCode

Post by Stoker »

That is what the missing dot does. It changes the path.

Re: Popup BBCode

Post by wide »

Ok,
had the png the dot?

Re: Popup BBCode

Post by Stoker »

I am referring to this post: viewtopic.php?f=4&p=532#p527

Re: Popup BBCode

Post by wide »

Ok,thank you.