Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
Integrate Podcasts to User Profiles using Garageband.com Details »»
Integrate Podcasts to User Profiles using Garageband.com
Version: 1.00, by MrRem MrRem is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.2 Rating:
Released: 07-14-2009 Last Update: Never Installs: 2
Template Edits
Re-useable Code  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
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 08:08 PM.


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.06642 seconds
  • Memory Usage 2,204KB
  • Queries Executed 15 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)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_onlinestatus
  • (1)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete