Back to vBulletin 3.8 Template Modifications

Integrate Podcasts to User Profiles using Garageband.com
Mod Version: 1.00, by MrRem

vB Version: 3.8.2 Rating: (0 vote - 0 average) Installs: 2
Released: 15 Jul 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code External Content  

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
(I have included a Default Value of "voguefm" just as a test. Remove it if you have a test account on Garageband to test).

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">
Add After:

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 />
If your member has nothing for those spaces, it will not show up in the profile at all due to conditionals.

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.


vblts.ru supports vBulletin®, 2022-2024