Integrate Podcasts to User Profiles using Garageband.com
Using RTM's Myspace Player Code and a few changes, this is a fast way to get users podcasts on their right hand column in their profile.
See this working here on the right: http://voguefm.co.uk/forums/member.php?u=1 THIS REQUIRES NO DOWNLOADS INSTALLATION Go into your AdminCP. On the left, select: "User Profile Fields". From the drop down, click "Add New User Profile Field" Follow this template and enter the information as required: If a detail isn't listed, use the default or your discretion. Code:
Title: Garageband Username Description: Enter your Garageband Username Default Value: voguefm Single Line Text Box Required: No Editable: Yes Click Save Go back to your "User Profile Field Manager" Find your new Garageband Username (default is the bottom) and look to the right for something that looks like this "FieldX" - The X will be a number. Make a note of it. On the left, now go to: Styles & Templates Select Style Manager and then Edit Templates. Then go into your Member Info Template and select MEMBERINFO Find in MEMBERINFO: Code:
<div id="sidebar_container"> Before Adding, Change the TWO instances of [fieldX] to match your field number you found in the first stages. Eg, [field7] or [field8] etc. If this is your first additional profile edit, it will probably be 6. The Code: Code:
<!--GARAGEBAND !--> <if condition="$userinfo[fieldX]"> <div align="center" id="" class="tborder content_block"> <h4 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">Garageband Podcast</span> </h4> <div class="block_content" id="" style=""> <div class="alt2" align="center"> <body><embed src='http://www.garageband.com/go/gcplayerlg?xmlurl=http://www.garageband.com/user/$userinfo[fieldX]/podcast/main.xml&autoplay=no&repeat=yes&colorChoice=0' type='application/x-shockwave-flash' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' width='240' height='219'></embed></body></div></if><br /> Sorry about not being a plugin, I don't know how to make them. If there are any issues, please feel free to post a reply and I shall endeavour to help out. Download No files for download. |