vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - RTM's MySpace Music Player In Profile(Working)!!! (https://vborg.vbsupport.ru/showthread.php?t=209652)

RTMdotORG 03-27-2009 10:00 PM

RTM's MySpace Music Player In Profile(Working)!!!
 
1 Attachment(s)
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...:D
HOPE THIS HELPS
AND
AGAIN SORRY ABOUT THE EDITS :erm:

RTMdotORG 03-27-2009 11:50 PM

DEMO: http://ripthemic.org/forums/member.php?u=1

RTMdotORG 03-28-2009 04:12 AM

I thought this mod would be more popular being that there isnt one for this....

ArnyVee 03-28-2009 12:14 PM

Very cool. I like the look and feel of your profiles RTM! Might have to try this one when I redo my profiles. :)

thesab 03-28-2009 01:06 PM

Whats do you mean by "Replace the "X's" with the proper profile id. If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals" whats x's? lol

ahmed-samara 03-28-2009 02:17 PM

great ... but how to add MySpace Music Player in profile :)

ahmed-samara 03-28-2009 02:18 PM

Quote:

Originally Posted by thesab (Post 1778934)
Whats do you mean by "Replace the "X's" with the proper profile id. If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals" whats x's? lol

x is the number of the fields you created befor :)

ArnyVee 03-28-2009 02:28 PM

Quote:

Originally Posted by thesab (Post 1778934)
Whats do you mean by "Replace the "X's" with the proper profile id. If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals" whats x's? lol

When you create a profile field, it will give you a profile ID #. That number is what you place instead of the "x" within your code. Then, if your user (or you when you're testing it) places the "plid" and "profid" numbers in the appropriate fields, you'll see the mod active.

Quote:

Originally Posted by ahmed-samara (Post 1778958)
great ... but how to add MySpace Music Player in profile :)

Based on his instructions.....

Quote:

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.

RTMdotORG 03-28-2009 02:34 PM

Quote:

Originally Posted by ArnyVee (Post 1778907)
Very cool. I like the look and feel of your profiles RTM! Might have to try this one when I redo my profiles. :)

Quote:

Originally Posted by thesab (Post 1778934)
Whats do you mean by "Replace the "X's" with the proper profile id. If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals" whats x's? lol

Quote:

Originally Posted by ArnyVee (Post 1778963)
When you create a profile field, it will give you a profile ID #. That number is what you place instead of the "x" within your code. Then, if your user (or you when you're testing it) places the "plid" and "profid" numbers in the appropriate fields, you'll see the mod active.



Based on his instructions.....


Thanks for explaining.... is this working for someone else so i can see?

thesab 03-28-2009 02:35 PM

Quote:

Originally Posted by ArnyVee (Post 1778963)
When you create a profile field, it will give you a profile ID #. That number is what you place instead of the "x" within your code. Then, if your user (or you when you're testing it) places the "plid" and "profid" numbers in the appropriate fields, you'll see the mod active.



Based on his instructions.....

Thanks mate makes sense now :up:


All times are GMT. The time now is 12:53 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.01710 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (8)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
  • (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