Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
RTM's MySpace Music Player In Profile(Working)!!! Details »»
RTM's MySpace Music Player In Profile(Working)!!!
Version: 1.00, by RTMdotORG RTMdotORG is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 03-27-2009 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

Hi,
I've recently been searching for a mod to add any MySpace MUSIC Player In Profile To Gain More Views And Clicks.... After Being Unsuccessful, being that the Mod that claims to do this does not work, i've come up with a way to get it to work... I dont know how to make plugins so i apologize on the few edits........

First Things First...

Go into your admincp>>>>user profile fields>>>>add new user profile field

Code:
Title: MySpace plid
Description: Your Myspace plid number.
Single Line Text Box
Required: No
Editable: Yes
Save>>>>>then add new user profile field

Code:
Title: MySpace profid
Description: Your Myspace profid number.
Single Line Text Box
Required: No
Editable: Yes
Save.


Then go into your Member Info Template>>>MEMBERINFO

Find:
Code:
$template_hook[profile_right_first]
Add Above:
Code:
<if condition="$userinfo[fieldX]">
<if condition="$userinfo[fieldX]">
<div align="center" id="" class="tborder content_block">
	<div class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse"><img id="" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">MySpace Music Player</span>
	</div>
	<div class="block_content" id="" style="">

			
<div class="alt2" align="center">
<body><embed type="application/x-shockwave-flash" src="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=3,ap=1,plid=$userinfo[fieldX],profid=$userinfo[fieldX]" style="" id="shell" name="shell" bgcolor="#101010" quality="high" allowscriptaccess="always" wmode="transparent" flashvars="e=http%3A//music.myspace.com/Modules/MusicV2/Pages/PopUpPlayer.aspx%3Fsongid%3D%26artid%3D%26profid%$userinfo[fieldX]%26plid%$userinfo[fieldX]" width="410" height="400"></body></div></if></if><br />
Replace the "X's" with the proper user profile ID's.



If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals.


The way to explain to your members how to add their own or someone elses is...
Once your looking at the music player you want, click the pop up icon on the top right corner of the player, look carefully at the link, and youll see the plid and profid numbers in the link...

Any Questions, Let Me Know...
HOPE THIS HELPS
AND
AGAIN SORRY ABOUT THE EDITS :erm:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 09-17-2009, 05:33 AM
GSeybold GSeybold is offline
 
Join Date: Dec 2007
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great. Thank you!
Reply With Quote
  #33  
Old 09-19-2009, 02:19 AM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not showing up .....

PHP Code:
    <if condition="$userinfo[field6]">
<if 
condition="$userinfo[field7]">
<
div align="center" id="" class="tborder content_block">
    <
div class="thead block_title">
        <
a href="#top" class="collapse_gadget" onclick="return toggle_collapse"><img id="" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <
a name="albums"></a>
        <
span class="block_name">MySpace Music Player</span>
    </
div>
    <
div class="block_content" id="" style="">

            
<
div class="alt2" align="center">
<
body><embed type="application/x-shockwave-flash" src="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=3,ap=1,plid=$userinfo[fieldX],profid=$userinfo[fieldX]style="" id="shell" name="shell" bgcolor="#101010" quality="high" allowscriptaccess="always" wmode="transparent" flashvars="e=http%3A//music.myspace.com/Modules/MusicV2/Pages/PopUpPlayer.aspx%3Fsongid%3D%26artid%3D%26profid%$userinfo[fieldX]%26plid%$userinfo[fieldX]width="410" height="400"></body></div></if></if><br />
$template_hook[profile_right_first
Attached Images
File Type: jpg 2r257qv.jpg (78.7 KB, 0 views)
Reply With Quote
  #34  
Old 09-19-2009, 03:18 AM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s-p0k View Post
not showing up .....

PHP Code:
    <if condition="$userinfo[field6]">
<if 
condition="$userinfo[field7]">
<
div align="center" id="" class="tborder content_block">
    <
div class="thead block_title">
        <
a href="#top" class="collapse_gadget" onclick="return toggle_collapse"><img id="" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <
a name="albums"></a>
        <
span class="block_name">MySpace Music Player</span>
    </
div>
    <
div class="block_content" id="" style="">

            
<
div class="alt2" align="center">
<
body><embed type="application/x-shockwave-flash" src="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=3,ap=1,plid=$userinfo[fieldX],profid=$userinfo[fieldX]style="" id="shell" name="shell" bgcolor="#101010" quality="high" allowscriptaccess="always" wmode="transparent" flashvars="e=http%3A//music.myspace.com/Modules/MusicV2/Pages/PopUpPlayer.aspx%3Fsongid%3D%26artid%3D%26profid%$userinfo[fieldX]%26plid%$userinfo[fieldX]width="410" height="400"></body></div></if></if><br />
$template_hook[profile_right_first
You've missed the bottom profile fields...
Reply With Quote
  #35  
Old 09-19-2009, 06:59 AM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok wat do i have to do?????
Reply With Quote
  #36  
Old 09-19-2009, 10:02 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s-p0k View Post
ok wat do i have to do?????
Change the FieldX to the correct numbers in both places...
Reply With Quote
  #37  
Old 09-20-2009, 07:45 PM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RTMdotORG View Post
Change the FieldX to the correct numbers in both places...
THE CORRECT NUMBER IS 6,7 AS THE PIC

IN THE Description: Your Myspace plid number. DO I PUT THE NUMBER THERE?
Reply With Quote
  #38  
Old 09-22-2009, 12:03 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s-p0k View Post
THE CORRECT NUMBER IS 6,7 AS THE PIC

IN THE Description: Your Myspace plid number. DO I PUT THE NUMBER THERE?
Ok and the code YOU posted is wrong... you forgot to fix fieldX and fieldX twice... if its 6 and 7 then you need to put 6 and 7 in the two seperate places...at the bottom of the code and the top...

then... you need to go to the myspace music player you want...
click the popout box.... then find the profid and plid numbers and enter them into your usercp..
Reply With Quote
  #39  
Old 10-03-2009, 11:31 PM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RTMdotORG View Post
Ok and the code YOU posted is wrong... you forgot to fix fieldX and fieldX twice... if its 6 and 7 then you need to put 6 and 7 in the two seperate places...at the bottom of the code and the top...

then... you need to go to the myspace music player you want...
click the popout box.... then find the profid and plid numbers and enter them into your usercp..
ok got it ty..i need some Glasses
Reply With Quote
  #40  
Old 01-05-2010, 10:52 PM
Chunkerz Chunkerz is offline
 
Join Date: Jan 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this mod but is there anyway to have a set default player play? with use of <if> or <else /> tags?
Reply With Quote
  #41  
Old 01-07-2010, 07:59 PM
Chunkerz Chunkerz is offline
 
Join Date: Jan 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody? I got it showing my default player on profiles with no user field inputs but on the ones with input it shows both players.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06879 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete