vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Awesome Flash Music Player For Members Profile (https://vborg.vbsupport.ru/showthread.php?t=264078)

socialteenz 05-22-2011 10:00 PM

Awesome Flash Music Player For Members Profile
 
1 Attachment(s)
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

Code:

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:


Code:

{vb:raw blocks.stats_mini}


Below add:

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

Replace the field x with your field number


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

Code:

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 :)

Code:

http://k003.kiwi6.com/hotlink/k53i57h815/t_pain_feat_akon_u_got_me.mp3
Preview:
https://vborg.vbsupport.ru/external/2011/05/20.jpg


3.x.x version here

provided by 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

Quote:

Originally Posted by koraykose (Post 2199540)
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

Quote:

Originally Posted by koraykose (Post 2199827)
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

Quote:

Originally Posted by Last_Zero (Post 2200920)
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

Quote:

Originally Posted by lyalybagdad (Post 2201195)
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

Quote:

Originally Posted by koraykose (Post 2199827)
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

Quote:

Originally Posted by frbmjb (Post 2202218)

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/m6l94q..._The_Heart.Mp3

frbmjb 06-02-2011 09:29 AM

working
tnx a lot

socialteenz 06-02-2011 12:55 PM

Quote:

Originally Posted by frbmjb (Post 2202623)
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.

Code:

{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

1 Attachment(s)
Nice idea. Installed.

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

<!---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

Quote:

Originally Posted by Gemma (Post 2217327)
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

Quote:

Originally Posted by d19rnyxx (Post 2219117)
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 :)
Code:

<!---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

1 Attachment(s)
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!:

Attachment 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

Quote:

Originally Posted by socialteenz (Post 2225128)
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

Quote:

Originally Posted by tidus78 (Post 2225466)
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

Quote:

Originally Posted by EvilAkuma (Post 2227008)
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

Code:

{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

Quote:

Originally Posted by bosanci28 (Post 2228527)
works fine for me ,in 4.1.5
thanks for this mod.:)

Glad you got it working :)


All times are GMT. The time now is 04:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01450 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete