Popup BBCode

Mod BBCode Database
BBCodes that need some file editing or extra files
There is no support here! Only Read Access!
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

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
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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"
Board rules! No PM support
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

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?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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.
Board rules! No PM support
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: Popup BBCode

Post by wide »

Ok,clear.
But why did the png work,and the gif not?
They are in the same directory.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Popup BBCode

Post by Stoker »

That is what the missing dot does. It changes the path.
Board rules! No PM support
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: Popup BBCode

Post by wide »

Ok,
had the png the dot?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Popup BBCode

Post by Stoker »

I am referring to this post: viewtopic.php?f=4&p=532#p527
Board rules! No PM support
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: Popup BBCode

Post by wide »

Ok,thank you.
Locked