The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Find a way to link a mp3 file and show it up the avatar

2 posters

Go down

Find a way to link a mp3 file and show it up the avatar Empty Find a way to link a mp3 file and show it up the avatar

Post by Stiles Sun 13 Oct 2013 - 14:37

Hi, first of all my board version is phpbb3

Well, I made a JavaScript code to show a mp3 player right up the avatar like this

Find a way to link a mp3 file and show it up the avatar RA84ASS

the code i'm using is this:

Code:
jQuery('.postprofile dt img').before('<div style="position: absolute; top: 0px; left: 0px; overflow: hidden; z-index: 1;"><object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" width="270" height="15"><param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" /><param name="bgcolor" value="#9090AE" /><param name="FlashVars" value="mp3=<!-- |field_13_1| -->&amp;bgcolor=9090AE&amp;loadingcolor=F56991&amp;buttoncolor=F56991&amp;slidercolor=F56991" /></object></div>');
But my real big problem is that I want that every member can link a mp3 link in their profiles and that song can be played on the player

I wanna know if its possible I create a profile field where they can put the direct link of their songs and that will play in the mp3 player like I put above.

Thanks for your answers <3
Stiles
Stiles
New Member

Posts : 3
Reputation : 1
Language : English,Spanish,French

http://http...........................

Back to top Go down

Find a way to link a mp3 file and show it up the avatar Empty Re: Find a way to link a mp3 file and show it up the avatar

Post by runawayhorses Sun 13 Oct 2013 - 16:34

I don't think its possible at all, you're talking about a lot of complicated coding work to make that happen, and even then I don't think you can do it with forumotion forums. And to make matters worst you're using phpbb3 which doesn't allow template editing. If you ever manage to pull that off I would be very surprised. Sorry but thats what I think will be your inevitable findings.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Find a way to link a mp3 file and show it up the avatar Empty Re: Find a way to link a mp3 file and show it up the avatar

Post by Stiles Mon 14 Oct 2013 - 0:32

Hi, thanks for your answer, I think with javascript is possible, assigning a var to that personalizable field I create, but the problem is that my skills in var arrays in javascript are very limited T.T  I hope someone could help me beu
Stiles
Stiles
New Member

Posts : 3
Reputation : 1
Language : English,Spanish,French

http://http...........................

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum