The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by Stiles on October 13th 2013, 2:37 pm

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



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
New Member

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

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

Back to top Go down

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

Post by runawayhorses on October 13th 2013, 4:34 pm

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.

runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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

Post by Stiles on October 14th 2013, 12:32 am

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
New Member

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

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

Back to top Go down

View previous topic View next topic Back to top


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