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


All times are GMT. The time now is 09:14 AM.

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.01252 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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