Log in

View Full Version : Profile Enhancements - Awesome Flash Music Player For Members Profile


socialteenz
05-22-2011, 10:00 PM
Lets get it started :D

WHAT DOES THIS DO?

This will add a music player to your members profile.


Go into your Admin CP->>>>user profile fields->>>>Add new user profile field

Profile Field Type: Single line text box
Title: Flash Music Player
Description:This will add a music player to your members profile.

Field Required: No
Field Editable by User Yes
Then Style Manager>>>Your Style>>>Edit Templates>>>Member Info Templates>>>MEMBER INFO

Find:


{vb:raw blocks.stats_mini}

Below add:

<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">My Profile Song</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
</vb:if>
<!---Flash Music Player--->Replace the field x with your field number


You can disable the Auto play option by changing this line.

so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldx}&volume=100&autostart=false');
*********************
INSTALLATION INSTRUCTIONS
***********************
1 - Upload the folder embed to the forum root
2 - Edit the Member Info Template
3 - Go to Edit profile & Input your profile music in the field which you created.
You can use this song to check the player :)
http://k003.kiwi6.com/hotlink/k53i57h815/t_pain_feat_akon_u_got_me.mp3Preview:
https://vborg.vbsupport.ru/external/2011/05/20.jpg


3.x.x version here (https://vborg.vbsupport.ru/showthread.php?p=2199399)

provided by Eminemtalk.com (http://eminemtalk.com/)


Please click Mark as Installed if you are using this hack. Feel free to click on the Support Developer link and donate any amount you feel is appropriate.

socialteenz
05-23-2011, 03:42 PM
Reserved **************

Special Pages
05-23-2011, 05:09 PM
Haha Nice job. :D

socialteenz
05-24-2011, 09:51 AM
:) Please click Mark as Installed if are using this modification :)

koraykose
05-24-2011, 06:37 PM
my music player can not play song, please have a look at http://www.xn--ibu-sza.com/

socialteenz
05-25-2011, 01:56 AM
my music player can not play song, please have a look at http://www.xn--ibu-sza.com/

No support will be provided for people who dint mark as installed. Next time provide more informations, like the profile where you added mp3.

koraykose
05-25-2011, 03:33 PM
I've marked as installed, Thank You For Everything.

However I don't have any opinion where to put .mp3 (in swf or fla or admincp)
the file located on ftp "/mp3/lisa.mp3" Chris Botti - Lisa

Thanks for further support!!

socialteenz
05-25-2011, 04:34 PM
I've marked as installed, Thank You For Everything.

However I don't have any opinion where to put .mp3 (in swf or fla or admincp)
the file located on ftp "/mp3/lisa.mp3" Chris Botti - Lisa

Thanks for further support!!

:) well, you have to create a new user profile field. I have explained how to create a new user profile field in my first post of this modification. Please go through it once again. Also don't forget to replace the fieldx with your custom profile field number.

Last_Zero
05-28-2011, 03:52 PM
Thanks Mate

socialteenz
05-29-2011, 01:58 AM
Thanks Mate

:) ///

lyalybagdad
05-29-2011, 09:11 AM
Thanx
Live Demo : http://www.lyalybagdad.com/member.php?1

Mohammed

socialteenz
05-29-2011, 11:56 AM
Thanx
Live Demo : http://www.lyalybagdad.com/member.php?1

Mohammed

:) You can provide me with the translation? i will add it my first post.

socialteenz
05-29-2011, 11:59 AM
I've marked as installed, Thank You For Everything.

However I don't have any opinion where to put .mp3 (in swf or fla or admincp)
the file located on ftp "/mp3/lisa.mp3" Chris Botti - Lisa

Thanks for further support!!

Was Your problem fixed? If you still have problems. Do let me know.

www.ch-joy.com
05-31-2011, 06:56 PM
thank you

frbmjb
05-31-2011, 08:48 PM
hi
no working
http://www.iroonionline.com/member.php/1-ADMIN

socialteenz
06-01-2011, 04:34 PM
hi
no working
http://www.iroonionline.com/member.php/1-ADMIN

Hi you haven't added the song url in the user profile field.

To add the song URL, go to edit profile & then enter the url of your song.

you can try with this one:

http://k002.kiwi6.com/hotlink/m6l94q152m/Total_Eclipse_Of_The_Heart.Mp3

frbmjb
06-02-2011, 09:29 AM
working
tnx a lot

socialteenz
06-02-2011, 12:55 PM
working
tnx a lot

Glad you liked it. Rate & nominate it FOR MOTM :P

socialteenz
07-04-2011, 02:42 PM
Change log:

Vb4.1.4 users should add the code below.

{vb:raw blocks.stats_mini}

gamerzhut
07-05-2011, 03:26 AM
Thanks for pointing it out :)

socialteenz
07-06-2011, 07:43 AM
No problem, if you are using this please mark as installed :)

Gemma
07-06-2011, 08:30 AM
Nice idea. Installed.

Only thing I did was changed the template so the sideblock followed the same formatting as the other blocks.

<!---Flash Music Player--->
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">Your Title</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<if condition="$userinfo['fieldXX']"><td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldXX}&volume=100&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
<!---Flash Music Player--->

socialteenz
07-06-2011, 09:05 AM
Nice idea. Installed.

Only thing I did was changed the template so the sideblock followed the same formatting as the other blocks.
[/CODE]

Thank you :)

I have updated my first post with your modified code.

d19rnyxx
07-10-2011, 11:44 PM
This is a nice mod, I thought it would be simple to use, but for some reason it's not working, I believe I have done everything right

http://www.fivestargamerz.com/members/d19rny/

socialteenz
07-11-2011, 10:42 AM
This is a nice mod, I thought it would be simple to use, but for some reason it's not working, I believe I have done everything right

http://www.fivestargamerz.com/members/d19rny/

Seems like you have not edited the memberinfo template.

Gemma
07-24-2011, 01:04 PM
I changed the code slightly (again) so that an empty player doesn't appear if no song link is inserted :)

<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">My Proflie Song</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
</vb:if>
<!---Flash Music Player--->

socialteenz
07-24-2011, 02:37 PM
Thank you once again Gemma :)

victorvu
07-24-2011, 08:51 PM
Hi socialteenz:

Thank you for the flash player. I installed with excellent, but could not figure it out the following:

<if condition="$userinfo['fieldXX']"><td class="alt1" style="font-family: Verdana; font-size: 10pt">


... "fieldXX" .... I found it!

What do you mean by that?

I also tried to paste the code provided, as follow to ??? Do not know the location to post that code!:

131378

Where can I post this code? I found the answer!

Greatly appreciated for this flash player. Thank you.

Victor

socialteenz
07-25-2011, 05:52 AM
K, glad that you got it fixed :)

If you need any help, send me a pm.

Stanley

G0F0RBR0KE
07-26-2011, 05:07 AM
Is there another way to add this? When I add it. The whole member page goes wacko. I don't know if it's the skin.

socialteenz
07-26-2011, 10:34 AM
You might not have inserted ht code properly. Pm me your site, i will look in to this.

Also, mark as installed.

tidus78
07-27-2011, 07:36 AM
Yes it works on my forum http://www.console-planet.it/member.php?u=1

Is there a song's list "legal" in web?

G0F0RBR0KE
07-30-2011, 09:31 PM
You might not have inserted ht code properly. Pm me your site, i will look in to this.

Also, mark as installed.

Well, it isn't my site. I was doing it for my friend since he's a newbish to adding stuff to the forum.

I'm not even at 4.x for my community. I'll talk to him to provide me more information for a login for you to use.

socialteenz
07-31-2011, 09:58 AM
Yes it works on my forum http://www.console-planet.it/member.php?u=1

Is there a song's list "legal" in web?

Glad you got it working :)

socialteenz
07-31-2011, 10:06 AM
Well, it isn't my site. I was doing it for my friend since he's a newbish to adding stuff to the forum.

I'm not even at 4.x for my community. I'll talk to him to provide me more information for a login for you to use.

Pm the log in details if he needs help.
Cheers :)

LA-Aquarium
08-01-2011, 05:06 PM
will the 4.1.5 upgrade mess with this mod? I plan on upgrading like next week.. but I would like to install mod now.

socialteenz
08-01-2011, 05:18 PM
It doesn't mess up.

For vb 4.1.4 & above..

You have to add the code below

{vb:raw blocks.stats_mini}

It's there on the first post though.

If you are using this mod, MARK AS INSTALLED.

Thanks

bosanci28
08-03-2011, 04:28 AM
works fine for me ,in 4.1.5
thanks for this mod.:)

fxwoody
08-03-2011, 11:20 AM
cool addon socialteenz! Will try it out to see the response from members ;)

Installed

socialteenz
08-03-2011, 11:49 AM
works fine for me ,in 4.1.5
thanks for this mod.:)

Glad you got it working :)

socialteenz
08-03-2011, 11:50 AM
cool addon socialteenz! Will try it out to see the response from members ;)

Installed

Thank you & good luck :)

fxwoody
08-03-2011, 01:27 PM
Ok, it works fine in 4.1.3, tho, i have a good question for you!
Is there a way that we could setup this option but with a multiple choice of songs that us, admin, upload or hotlink, for our members to choose from?!? Instead of having the single selection menu, using like the radio button with the title beside it?!?

I think it would make it easier on certain less experienced users to choose from the list ;)
I tried to find some info on how to code this but.......i'm stuck lollll

That would be awesome socialteenz if i could add it this way :)

Tks friend

socialteenz
08-03-2011, 01:41 PM
I will see what i can do :)

fxwoody
08-03-2011, 01:45 PM
cool! tks socialteenz! will see what you can come up with ;)

tele955848
08-03-2011, 02:30 PM
Hallo,

my music player can not play song
Firefox oder Chrome not work.

klick Player Start or Stop -without functional
www.1sta.de

4.0.6 Version Vb4

http://www.1sta.de/forum/member.php?138-gast
Login Daten per PM?

socialteenz
08-03-2011, 04:03 PM
Hallo,

my music player can not play song
Firefox oder Chrome not work.

klick Player Start or Stop -without functional
www.1sta.de

4.0.6 Version Vb4

http://www.1sta.de/forum/member.php?138-gast
Login Daten per PM?

Problem is not with the browser, you have not edited the profile field number properly in memberinfo template. I have replied you pm :)

tele955848
08-04-2011, 07:22 AM
Thank you for your help.
Works fine - Thanks

Vote for MOTM :)

socialteenz
08-04-2011, 07:28 AM
You are welcome, cheers :)

Spectre_Aidan
08-09-2011, 04:31 AM
where do i get more songs from ?

socialteenz
08-09-2011, 06:27 AM
where do i get more songs from ?

No support will be provided for people who dint mark this as INSTALLED

Spectre_Aidan
08-09-2011, 09:06 AM
fair enough i got it anyway

socialteenz
08-09-2011, 09:16 AM
fair enough i got it anyway

If you are not in a position to mark this as INSTALLED, don't use it. Just my 0.02 cent

Fready
08-09-2011, 01:10 PM
Before i install it, can a user upload their own song?

socialteenz
08-09-2011, 03:34 PM
Before i install it, can a user upload their own song?

Yeah, your users can upload their own song on this site & use it on your forum.

http://k002.kiwi6.com/

conchemimare
08-10-2011, 12:11 AM
Awesome mate! thanks works fit!

Fready
08-10-2011, 02:36 AM
I installed it but no player shows using the Chromium browser
It did however show on FF, but nothing would play.

So i un-installed it.

Fready
08-10-2011, 03:01 AM
I got it to work in FF, I had entered the wrong field number.
However I never really use FF, as I always use the Chromium browser.

Any ideas how to get it to work?
I marked as installed.

Spectre_Aidan
08-10-2011, 03:20 AM
If you are not in a position to mark this as INSTALLED, don't use it. Just my 0.02 cent

dude just calm down i forgot to hit installed so what

Fready
08-10-2011, 03:26 AM
hi
no working
http://www.iroonionline.com/member.php/1-ADMIN

Strange, I follow this link using my same Chromium browser and the player shows and works on that site.
But not on mine:confused:

socialteenz
08-10-2011, 06:02 AM
I'm on mobile, will look in to this when i am on pc.

Fready
08-10-2011, 07:34 AM
ok
i pmd you with the url to the site

socialteenz
08-10-2011, 12:07 PM
dude just calm down i forgot to hit installed so what

Still you have not done it :D it's not you have forgotten, you have done it on purpose :P

socialteenz
08-10-2011, 01:33 PM
Strange, I follow this link using my same Chromium browser and the player shows and works on that site.
But not on mine:confused:

Try with this code.

<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">My Profile Song</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
</vb:if>
<!---Flash Music Player--->

Fready
08-11-2011, 02:44 AM
no still not showing or working
yet that site i linked on the last page works fine witth the same browser open on another tab,

socialteenz
08-11-2011, 03:19 AM
no still not showing or working
yet that site i linked on the last page works fine witth the same browser open on another tab,

Are you sure you added the code properly? The same code works fine for me. Try to upload the files again!

mjfan227
08-11-2011, 11:12 PM
Great, I love it! Working perfectly.

socialteenz
08-12-2011, 07:52 AM
Great, I love it! Working perfectly.

Thanks, glad you like them :)

fxwoody
08-12-2011, 02:37 PM
hi socialteenz, did you had the time to look at my request???

members like that a lot hehehe

Cheers

lobo0sw
08-12-2011, 08:46 PM
Thanks ! :) Very nice mods. :)

socialteenz
08-12-2011, 08:53 PM
hi socialteenz, did you had the time to look at my request???

members like that a lot hehehe

Cheers

Really sorry, i forgot that. Will check & get back to you soon.

socialteenz
08-12-2011, 08:54 PM
Thanks ! :) Very nice mods. :)

Glad you like it :) Mark this as installed if you are using :)

skygunz
08-28-2011, 06:53 AM
i don't get it what do yo mean by "fieldxx" ? im new to this xD sorry

socialteenz
08-28-2011, 09:39 AM
i don't get it what do yo mean by "fieldxx" ? im new to this xD sorry

No support will be provided for people who dint mark this as INSTALLED

skygunz
08-28-2011, 03:35 PM
sorry like i sed im new im not familiar with things but i did now. so can you help me with the "fieldxx" ?

socialteenz
08-28-2011, 03:57 PM
sorry like i sed im new im not familiar with things but i did now. so can you help me with the "fieldxx" ?

You have to create a new user profile field. If you don't know, i can do it for you, pm me your admincp details. I don't have time to type.

skygunz
08-28-2011, 04:31 PM
Thank you for all your help xD you where a big help and i also love your program hope to see more of your programs xD but i have one more thing how do i change the song?

socialteenz
08-28-2011, 05:22 PM
Thank you for all your help xD you where a big help and i also love your program hope to see more of your programs xD but i have one more thing how do i change the song?

You are welcome, the profile field number is 6, if you want to use in any other theme.

skygunz
08-28-2011, 05:22 PM
NVM i found it xD thanks and once a gen awesome program

socialteenz
08-28-2011, 05:34 PM
NVM i found it xD thanks and once a gen awesome program

Cheers

Papa Bear
09-19-2011, 07:15 PM
Installed..works great in 4.1.5 thanks

socialteenz
09-20-2011, 04:41 PM
Installed..works great in 4.1.5 thanks

Cheers :)

CoffeeLovesYou
09-26-2011, 08:45 PM
Can anyone help me try to make a profile field? I would like to make a profile field to toggle Autostart. For example;
It would be Radio Buttons Yes or No. If you select Yes, it will set autostart music to true. If you select No, it will not autostart music. How would I do this vB 4.1.x? Thanks.

socialteenz
09-26-2011, 09:03 PM
Can anyone help me try to make a profile field? I would like to make a profile field to toggle Autostart. For example;
It would be Radio Buttons Yes or No. If you select Yes, it will set autostart music to true. If you select No, it will not autostart music. How would I do this vB 4.1.x? Thanks.

why make it complicated?

You can disable the Auto play option by changing this line

so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldx}&volume=100&autostart=false');

Please mark as Installed, if you are using this mod.

Kraxell
09-27-2011, 12:15 PM
2 questions:
-Possible to link youtube-url?
-Get the song load (traffic) when i click the button or when i load the hole page?

socialteenz
09-27-2011, 04:11 PM
-Possible to link youtube-url?
Nope

-Get the song load (traffic) when i click the button or when i load the hole page?

The song gets loaded after the page loads. You can disable the auto play option.

93Corvette
09-28-2011, 12:57 PM
I haven't downloaded this yet since I'm still trying to understand it...

I am running 4.1.5, and a couple times in this area the below was said, but it never tells you where to put the code. Do I edit a template or something? Please remember, I'm a total noob....

Change log:

Vb4.1.4 users should add the code below.

Code:
{vb:raw blocks.stats_mini}

socialteenz
09-28-2011, 02:09 PM
I haven't downloaded this yet since I'm still trying to understand it...

I am running 4.1.5, and a couple times in this area the below was said, but it never tells you where to put the code. Do I edit a template or something? Please remember, I'm a total noob....

Change log:

Vb4.1.4 users should add the code below.

Code:
{vb:raw blocks.stats_mini}


Yes, you need to edit the templates.

Then Style Manager>>>Your Style>>>Edit Templates>>>Member Info Templates>>>MEMBER INFO

Find:

taavipost
09-29-2011, 02:17 PM
Gonna try it soon.

socialteenz
09-29-2011, 02:45 PM
Gonna try it soon.

Let me know how it goes!!

Good luck.

Laurvick
10-02-2011, 11:43 PM
Is there any way, I can set this up as Auto Play, but with half volume?

socialteenz
10-03-2011, 07:26 PM
Is there any way, I can set this up as Auto Play, but with half volume?


Here you go, don't forget to mark it as INSTALLED!!
<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">My Profile Song</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=50&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>

fxwoody
10-04-2011, 12:30 PM
socialteenz, did you had time to look for the song list to add in your hack like i asked before?

Members don't seem to find the way to go on KIWI, upload and paste into their page!! I know, lazyness....lollll

So if we, admin could upload a few songs and add them in some choice window, it would probably make this easier on them ?!?!

Tks anyway, i like my page, it rocks ;)

socialteenz
10-04-2011, 02:19 PM
socialteenz, did you had time to look for the song list to add in your hack like i asked before?

Members don't seem to find the way to go on KIWI, upload and paste into their page!! I know, lazyness....lollll

So if we, admin could upload a few songs and add them in some choice window, it would probably make this easier on them ?!?!

Tks anyway, i like my page, it rocks ;)

Hey, sorry for the wait!! I looked but didn't have enough time to find a solution!! My college life drives me NUT!! It's TERRIBLE. I am sorry, i am running out of ideas. I hope some one can look in to this!!

Thanks :)

fxwoody
10-06-2011, 11:01 AM
ok no prob! i will try to help out if i can ;)

socialteenz
10-10-2011, 01:03 PM
ok no prob! i will try to help out if i can ;)

Thanks for your understanding.

chrissyplum79
10-10-2011, 06:07 PM
Thank you very much for the mod and help with the setup! :)

Omniverse
10-14-2011, 11:24 AM
Firstly thank you so much for this mod. I've nominated for mod of the month about 5 minutes into the future... This is where you could upgrade:

Firstly, as usual, a coder assumes the user knows certain things. And I don't fault you for that, it's very hard to understand cluelessness from an informed/knowledgeable PoV. Being a clueless person about VB code etc myself, Ttis is what you could change in your OP:

instead of saying change field x to your field number, which could mean a lot of different things, specify how to do that Exactly. This is where I got screwed up.

Firstly, you put TWO x's, and said change field x. So that confused me. "Do I change one x or two?" The red color helped in that area but I did ponder that when finding it not work right.

Secondly, you put replace field x with a space. I was trying to read between the lines a bit. I put "Field 5", and that did not work.

Also, if you want to make this mod more user friendly to install, please include a small description of what a field is and how to get the field number. you get the field number by going to your field editor and it shows you the field number for all of them. This is how I figured out the right code, which was NOT Field 5 or Field5x or simply 5 (you did say replace field x with your field number, so naturally i replaced both field and the x's with my field number) ,....

it was field5 (5 was just the field i added it in to users installing this mod so yours may be like 3 or 7 etc).

So just trying to help your mod reach more people, if you integrate these into your hack description, it will help out the ease of installing for people like me who use only logic and no experience with a vb forum(which btw i LOVE).

Next, I need to do this: Center the "My Profile Song" to be centered above the song. Not a big deal, but it's aesthetically pleasing to me and is a small upgrade. I could assume it's just a simple center code of html, but Im a pretty big noob at coding etc and something that simple could screw everything up in VB code in my clueless logic, so I figure I will ask how (plz), and also suggest you implement this into your OP coding.

Another suggestion to implement into your coding, is this modification I made(and i really do recommend it because most users have no clue what to do to the profile option, so this would help ease of use):

Change the description to: "To add a more personalization to your profile, you may add a song. To do this, enter the full URL of the song in this field. We do not host the song for you, so you will have to upload it somewhere yourself." Or you can word it however you like, but that is what I put it on my forum. Many users will not know what to do with that blank text space. So this is a bar none upgrade to your instructions. I hope you do not take this as you being flawed !! Pretty much everything can be upgraded :) And I whole heartedly am thankful for this mod.

Peace
-Omni

socialteenz
10-14-2011, 12:15 PM
Firstly thank you so much for this mod. I've nominated for mod of the month about 5 minutes into the future... This is where you could upgrade:

Firstly, as usual, a coder assumes the user knows certain things. And I don't fault you for that, it's very hard to understand cluelessness from an informed/knowledgeable PoV. Being a clueless person about VB code etc myself, Ttis is what you could change in your OP:

instead of saying change field x to your field number, which could mean a lot of different things, specify how to do that Exactly. This is where I got screwed up.

Firstly, you put TWO x's, and said change field x. So that confused me. "Do I change one x or two?" The red color helped in that area but I did ponder that when finding it not work right.

Secondly, you put replace field x with a space. I was trying to read between the lines a bit. I put "Field 5", and that did not work.

Also, if you want to make this mod more user friendly to install, please include a small description of what a field is and how to get the field number. you get the field number by going to your field editor and it shows you the field number for all of them. This is how I figured out the right code, which was NOT Field 5 or Field5x or simply 5 (you did say replace field x with your field number, so naturally i replaced both field and the x's with my field number) ,....

it was field5 (5 was just the field i added it in to users installing this mod so yours may be like 3 or 7 etc).

So just trying to help your mod reach more people, if you integrate these into your hack description, it will help out the ease of installing for people like me who use only logic and no experience with a vb forum(which btw i LOVE).

Next, I need to do this: Center the "My Profile Song" to be centered above the song. Not a big deal, but it's aesthetically pleasing to me and is a small upgrade. I could assume it's just a simple center code of html, but Im a pretty big noob at coding etc and something that simple could screw everything up in VB code in my clueless logic, so I figure I will ask how (plz), and also suggest you implement this into your OP coding.

Another suggestion to implement into your coding, is this modification I made(and i really do recommend it because most users have no clue what to do to the profile option, so this would help ease of use):

Change the description to: "To add a more personalization to your profile, you may add a song. To do this, enter the full URL of the song in this field. We do not host the song for you, so you will have to upload it somewhere yourself." Or you can word it however you like, but that is what I put it on my forum. Many users will not know what to do with that blank text space. So this is a bar none upgrade to your instructions. I hope you do not take this as you being flawed !! Pretty much everything can be upgraded :) And I whole heartedly am thankful for this mod.

Peace
-Omni
Thank you :)
By default it should be centered!
I tried my best to make it sample, if you still have problems pm me, I will install this on your site!!

Omniverse
10-14-2011, 07:26 PM
Thanks for the offer, but I don't feel comfortable giving someone access to my forum's admin panel without knowing them a good bit or a scenario you probably wouldn't believe so I'll censor myself :P. I will just leave it how it is.

Here is a display of my profile if you want to look at how it's working. I will change profiles to not be viewable by guests in a few days(or somewhere around there). Perhaps you can suggest something? My intuition tells me you would not do something to my site, and it would be fine. Regardless, I have to be careful given the company that lurks around me and the importance(to me anyway) of what I have on my site.....

http://www.omniverse101.com/forum/member.php?1-Omniverse

socialteenz
10-14-2011, 07:40 PM
Thanks for the offer, but I don't feel comfortable giving someone access to my forum's admin panel without knowing them a good bit or a scenario you probably wouldn't believe so I'll censor myself :P. I will just leave it how it is.

Here is a display of my profile if you want to look at how it's working. I will change profiles to not be viewable by guests in a few days(or somewhere around there). Perhaps you can suggest something? My intuition tells me you would not do something to my site, and it would be fine. Regardless, I have to be careful given the company that lurks around me and the importance(to me anyway) of what I have on my site.....

http://www.omniverse101.com/forum/member.php?1-Omniverse

It's centered already!! Yeah, no problem, i have installed this modification on 6 sites already :p

Omniverse
10-14-2011, 08:02 PM
It's centered already!! Yeah, no problem, i have installed this modification on 6 sites already :p

On both Safari and Firefox it's on the left side, not centered for my view. Really not a big deal.

Thanks again for the mod, it's great :)

iSins
10-17-2011, 09:38 AM
Question, is it possible to block usergroups from using the player?

bada_bing
10-17-2011, 04:45 PM
I have added this nice feature but I wanted to see how I can allow my members to choose auto start or not auto start within the usercp when added the URI of the song?

socialteenz
10-17-2011, 05:02 PM
Question, is it possible to block usergroups from using the player?


You can grant access only to specific user groups by adding this code!!


<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Music Player code Goes here </vb:if>

Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

socialteenz
10-17-2011, 05:10 PM
I have added this nice feature but I wanted to see how I can allow my members to choose auto start or not auto start within the usercp when added the URI of the song?


I don't think i can help you in this!! Can be done by changing the code for sure!!

iSins
10-17-2011, 08:45 PM
You can grant access only to specific user groups by adding this code!!


<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Music Player code Goes here </vb:if>

Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

Not working =/ where exactly do i add the code?

ofir24
10-18-2011, 02:51 PM
"Replace the field x with your field number"

userinfo['fieldxx']">

what is my field number?

iSins
10-18-2011, 06:34 PM
"Replace the field x with your field number"

userinfo['fieldxx']">

what is my field number?

Under User Profile Fields/User Profile Field Manager, You will see the music player part you added it will have a field number in it, for instance mine says field7

socialteenz
10-20-2011, 07:46 PM
Not working =/ where exactly do i add the code?

In the Member Info Template, replace the current code with this!


<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">
<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
<div class="visitors">
<h5 class="blocksubhead smaller">My Profile Song</h5>
<div class="blockbody">
<div class="blockrow">
<div class="meta">
<li>
<center><tbody><tr>
<td class="alt1" style="font-family: Verdana; font-size: 10pt">



<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
so.write('player');
</script>

</td>
</tr>
</tbody></center>
</div>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
</vb:if>
<!---Flash Music Player--->
</vb:if>

Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

socialteenz
10-20-2011, 07:47 PM
Under User Profile Fields/User Profile Field Manager, You will see the music player part you added it will have a field number in it, for instance mine says field7


Yes exactly, i might post a screen shot of this later!!

kylek
11-16-2011, 08:28 AM
Works great, just did a fresh install on 4.1.8. Thanks for this!!

Marked installed, rated, and nominated.

socialteenz
11-16-2011, 04:18 PM
Works great, just did a fresh install on 4.1.8. Thanks for this!!

Marked installed, rated, and nominated.


Thank you :)

durruti
02-01-2012, 01:19 AM
Hi, doesn't work for me.
When tried, it says: You have entered an invalid birthday.

I think I've followed everything.

2 - Edit the Member Info Template

If this mean adding the code and the field, yes, I already did it.
Since my forum is in public_html, I didn't edit the link.

socialteenz
02-01-2012, 05:35 AM
Hi, doesn't work for me.
When tried, it says: You have entered an invalid birthday.

I think I've followed everything.

2 - Edit the Member Info Template

If this mean adding the code and the field, yes, I already did it.
Since my forum is in public_html, I didn't edit the link.

This means that you have not edited the birthday field in your profile, it has nothing to do with my mod. If you need any personal help, send me a pm here.

durruti
02-01-2012, 08:25 AM
Hi, works now - thanks.
Question though, what's that full screen button suppose to function?
And is there a way to make the autoplay repeat itself continuously (unless the stop button is pressed)?

socialteenz
02-07-2012, 02:35 PM
Hi, works now - thanks.
Question though, what's that full screen button suppose to function?

It is of no use, you can remove this line from the code
so.addParam('allowfullscreen','true');

And is there a way to make the autoplay repeat itself continuously (unless the stop button is pressed)?

Try changing this line
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
to
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autoRepeat=true');

The code i had given is not tested.

whoareyou82605
04-13-2013, 02:19 PM
installed, the block shows up in profile but does not show the player -

socialteenz
04-13-2013, 04:25 PM
installed, the block shows up in profile but does not show the player -

Pm me your site url.

whoareyou82605
04-14-2013, 02:28 PM
Fixed issue.. Thanks for the fast replys

n00bl3t
06-13-2013, 07:40 PM
installed, the block shows up in profile but does not show the player -

Getting same issue.

socialteenz
06-13-2013, 07:46 PM
Getting same issue.
His problem was fixed. You gotta be using the wrong values for profile field no. Cross check them.

n00bl3t
06-13-2013, 10:12 PM
His problem was fixed. You gotta be using the wrong values for profile field no. Cross check them.

Got it working. :)

socialteenz
06-14-2013, 06:26 AM
Got it working. :)
Great, mark as installed if you find it useful :)

Bubble #5
09-21-2013, 01:33 AM
4.2.1 not working. Used the demo song in the first post. Does anyone know if it's still valid and working? How do we search for new music?

socialteenz
09-21-2013, 01:57 AM
4.2.1 not working. Used the demo song in the first post. Does anyone know if it's still valid and working? How do we search for new music?

Yes, the host is not supporting online streaming.

You need to find a different one or use your own server.

Bubble #5
09-21-2013, 02:04 AM
Yes, the host is not supporting online streaming.

You need to find a different one or use your own server.
What do we search for? We've never used these types of files before.

socialteenz
09-23-2013, 08:48 AM
What do we search for? We've never used these types of files before.

Google for mp3 direct link hosting & update us with the working host.