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.

Profile Songs

4 posters

Go down

In progress Profile Songs

Post by Eulaliee 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 ^^
avatar
Eulaliee
New Member

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

Back to top Go down

In progress Re: Profile Songs

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

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


profile music - Profile Songs Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Profile Songs

Post by Pizza Boi 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
Pizza Boi
Hyperactive

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

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee 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
avatar
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 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 :

profile music - Profile Songs Captur16

profile music - Profile Songs Captur17

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%;
}

profile music - Profile Songs Captur18

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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee 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?
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee 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 :>
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

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

ok, but this code
Code:
.user embed {
  width:100%;
  height:100%;
}
didn't work, my forum is phpbb2
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

Post by Eulaliee 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
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Profile Songs

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

yes, i did that, but it didn't work, i don't know why >.<
avatar
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 June 22nd 2014, 10:53 pm

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

It is set as the following ?
profile music - Profile Songs Captur22

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

Wrapped the youtube tags around a youtube video.
profile music - Profile Songs Captur23
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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