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.

Profile Songs

View previous topic View next topic Go down

In progress Profile Songs

Post by Eulaliee on June 18th 2014, 8:14 pm

Hello everyone!
Sorry for my english skills, it's not my main language Sad
So i have one problem!^^ i was looking in other (not forumotion) forums and i saw that in the members profiles they got mp3 music (here is an example :http://diamondintherough.b1.jcink.com/index.php?showtopic=2310&st=0&#entry6260 )
and i am wondering, maybe in forumotion forums we could have the same thing? i found this code:
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" width="200" height="15"><param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" /><param name="bgcolor" value="#000000" /><param name="FlashVars" value="mp3=http://k007.kiwi6.com/hotlink/jchgr1op0g/Lana_Del_Rey_-_West_Coast.mp3" /></object>
and it is working, but...
in everyone profiles it is just this one song by lana del rey Sad
and I think, maybe you can help me, maybe there is any field or something, where members could place their song ulr and just this one song would be in their profile. not one song in everyone's profiles :DDD

P.S. i hope you understand what i want to say ^^

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by SLGray on June 19th 2014, 12:34 am

So you want each member to have their own song in their profiles?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Profile Songs

Post by Pizza Boi on June 19th 2014, 7:19 am

Hi Very Happy

Sorry, but I cannot go to AvacWeb atm due to my connection so I can't link you but search BloodBath's tutorial or a name near that because I believe he made a code for profile songs for Forumotion forums.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 19th 2014, 2:59 pm

SLGray, yes.
Pizza Boi, i saw that tutorial, but it's not working for me. And it makes music player in other profile. I want to put music player in this profile, where we see our avatars, main information and other stuff or
<------------------------------just this profile in the left :DDD

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 19th 2014, 11:14 pm

Hello Eulaliee,

If your Profile Field Type is a Text Zone then you can format bbcode and such. A quick example with the Default Comments field :





If you're going to display the field in messages I would recommend resizing the Embedded video by CSS. Ex :

Code below is for PunBB, if you're using another version let me know.
Code:
.user embed {
 width:100%;
 height:100%;
}



You don't have to use the Comments field, you can create a new Text Zone and it will work just the same.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 20th 2014, 1:45 pm

Ange Tuteur, i'm using PunBB2 ^^
this is my testing forum http://shootingstar.lithuanianforum.net/t9-fwa
and here i have mp3 player field, that black one xD
so, if i use that text field, what should i take in this place
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" width="250" height="15"><param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" /><param name="bgcolor" value="#000000" /><param name="FlashVars" value="mp3=HERE" /></object>
if i want, that here would be that "comment" text field information?

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 20th 2014, 10:58 pm

You cannot use HTML in the profile fields, only BBcode. That is why I recommended the use of a Youtube video.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 21st 2014, 3:50 pm

Yes, i know that, but this code is in the templates, viewtopic_body Very Happy it works, but i am thinking, could i place smth in that code place HERE, smth like this {postrow.displayed.POSTER_RPG} when people in fields could place song ulr and then that song could be in their profile :>

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 21st 2014, 6:28 pm

If you want the field to be editable by your Members then it needs to be done by the Profile fields. Only the founder can make modifications in the templates.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 21st 2014, 6:40 pm

ok, but this code
Code:
.user embed {
  width:100%;
  height:100%;
}
didn't work, my forum is phpbb2

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 21st 2014, 9:05 pm

Try adding this to your CSS :
Code:
.postdetails.poster-profile embed {
 height:100px;
 width:150px;
}

Adjust the size if needed.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 21st 2014, 9:52 pm

Oh, it didin't work. in the field i saw just the link of the song, but not the view :<
i think, that in forumotion forums we can't put songs just like i want >.< uh

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 21st 2014, 10:36 pm

Is the profile field a Text Zone ? If so you can use BBcodes such as the youtube tag to embed a music video.

ex :
Code:
[youtube]URL_OF_VIDEO[/youtube]

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee on June 21st 2014, 11:00 pm

yes, i did that, but it didn't work, i don't know why >.<

Eulaliee
New Member

Posts : 7
Reputation : 1
Language : lithuanian, english, deutch.

Back to top Go down

In progress Re: Profile Songs

Post by Ange Tuteur on June 22nd 2014, 10:53 pm

Under Users & Groups > Profiles > Edit your field for videos

It is set as the following ?


Then while editing the field you've done the following ?

Wrapped the youtube tags around a youtube video.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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