Maybe I'll try again.
What I was having trouble with was getting my mp3 tag to work. In this addon, they make a new img.file tag. I was looking at it and trying to make a mp3.file tag but it would not work.
Here is the addons img.file tag:
ImgTags(8,1,1) = "[img.file]"
ImgTags(8,2,1) = "[/img.file]"
ImgTags(8,1,2) = "<img src=""getfile.asp?view=img&FName="
ImgTags(8,2,2) = """ id=""left"" border=""0"" style='cursor:default' onClick='doimage(this,event)'>"
Here is the section of my mp3 tag that I think needs to be revised:
CodeTags(1,1,1) = "[mp3]"
CodeTags(1,2,1) = "[/mp3]"
CodeTags(1,1,2) = "<div class=""media""><script language=""javascript"">EmbedMP3("""
CodeTags(1,2,2) = """,290,300,false)</script></div><div class=""break""></div>"
I've tried this:
CodeTags(2,1,1) = "[mp3.file]"
CodeTags(2,2,1) = "[/mp3.file]"
CodeTags(2,1,2) = "<div class=""media""><script language=""javascript"">EmbedMP3("""
CodeTags(2,2,2) = """,290,300,false)</script></div><div class=""break""></div>"
But I don't know how to get it to find the file with the getfile.asp page like the image one can. Any ideas?