Thread: Profile Enhancements - Mp3 Player For User Profiles
View Single Post
  #21  
Old 01-09-2009, 05:47 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pein87 View Post
Yes add a div after the first to. Next add an id to it called mp3.

copy and replace with the original template:

<!-- Mp3 player -->
<if condition="$userinfo[field15]">
<div id="snapvine" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('music')"><img id="collapseimg_music" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">Mp3 player</span>
</h4>
<div class="block_content" id="collapseobj_music" style="">
<div class="alt2 block_row block_footer">
<div id="mp3">
<center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/$userinfo[field16]" height="311" width="230" style="width:230px;height:311px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/$userinfo[field16]" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="l" /><param name="wmode" value="transparent"/><param name="flashvars" value="$userinfo[field15]"/></object></center>
</div>

</div>
</div>
</if>
<!-- / Mp3 player -->

Next go to the skins you added it to in styles manager and select all style options. Go near the bottom and find additional css rules add this.

#mp3 {
text-align: center;
}

if this is not working try playing with the size of the mp3 its self in the memberinfo_block_music Thats how i originally made mine. Your very welcome glad you like it the video mo should be out in the next few days lol i`m on vacation lol.
I'm looking over this again & I didn't add this: "Yes add a div after the first to. Next add an id to it called mp3." I simply copied & replaced everything between here:
<!-- Mp3 player --> & here: <!-- / Mp3 player --> plus added the additional css. Could you please show me an example of what you mean? What do I add & where do I add it? It might be the thing that fixes this centering issue?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01656 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete