Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YouTube in Profile Details »»
YouTube in Profile
Version: 1.00, by BlizzardHQ BlizzardHQ is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-20-2007 Last Update: Never Installs: 47
Template Edits
 
No support by the author.

This will allow you to stream a YouTube video in your profile.

Demo: http://www.blizzardhq.com/forums/member.php?u=2

Please click install

Show Your Support

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

Comments
  #52  
Old 02-06-2008, 02:20 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$post will only work in postbit. Replace it with $userinfo...You'll have to do it several times. Also refer post #45 again, you missed one edit.

You can add the Table elements in MEMBERINFO template:

Code:
<div id="sidebar_container">

Because stangger5 implemented YouTube in the right column first I don't want to release mine. Just in case he's planning on releasing it as a mod.
Reply With Quote
  #53  
Old 02-06-2008, 03:37 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im so confused now.

can you just pm me your edits?
Reply With Quote
  #54  
Old 02-06-2008, 04:25 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz View Post
Hey, stangger5. Nice. :up:

I'm curious...Did you use plugins or did you edit the PHP files? When I did the Mini_YouTube I used PHP edits .

My efforts to reproduce what you did are in attachment:


*The one difference is that the title "My YouTube Video" is using a Custom Profile Block. Users can choose their own title.
I made a plug-in...I added the option for users to choose their own title...
I should have it ready to post by tonight..
Reply With Quote
  #55  
Old 02-06-2008, 10:00 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet. I'll check it out soon.
Reply With Quote
  #56  
Old 02-07-2008, 07:37 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice.
Reply With Quote
  #57  
Old 02-23-2008, 12:47 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
I made a plug-in...I added the option for users to choose their own title...
I should have it ready to post by tonight..
hows that going ?
Reply With Quote
  #58  
Old 05-09-2008, 02:17 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me must have this please release a working version
Reply With Quote
  #59  
Old 05-09-2008, 03:19 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Pieces of this and pieces of that and i got this working !!


PHP Code:
Create a New User Profile Field Single-Line Text Box
Title 
-    YouTube Video In Your Profile 
Description 
-     You can give your YouTube a title here
Hidden 
Yes
Searchable 
NO
Memberlist 
NO

[B]Note the Field Number not the order number [/B]

Mine was field 12 

Edit This code with your field number 
(Replace all the 12's)

<if condition="$userinfo[field12]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>    
    <td class="tcat">$userinfo[username]'
s Video <if condition="$post[field12]">&nbsp;-&nbsp;$userinfo[field12]</if></td>
</
tr>
</
table>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
<
td class="alt2" style="border-bottom:0px solid $stylevar[tborder_bgcolor]width="200" colspan="2">
<
center>    
<
object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$userinfo[field12]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$userinfo[field12]type="application/x-shockwave-flash" wmode="transparent" width="230" height="230"></embed></object>
</
center></td></tr></table></if>
<
br>

Then
Put it in Member Info Template Between 
<!-- sidebar -->
and
<!-- / 
sidebar -->

Like so : (I moved the Friends Down )
    <!-- 
sidebar -->
    
$template_hook[profile_right_first]
    
$blocks[stats_mini]
    
$template_hook[profile_right_mini]
<if 
condition="$userinfo[field12]">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>    
    <
td class="tcat">$userinfo[username]'s Video <if condition="$post[field12]">&nbsp;-&nbsp;$userinfo[field12]</if></td>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="border-bottom:0px solid $stylevar[tborder_bgcolor]" width="200" colspan="2">
<center>    
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$userinfo[field12]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$userinfo[field12]" type="application/x-shockwave-flash" wmode="transparent" width="230" height="230"></embed></object>
</center></td></tr></table></if>
<br>
    $blocks[albums]
    $template_hook[profile_right_album]
$blocks[friends_mini]
    $blocks[groups]
    $blocks[visitors]
    $template_hook[profile_right_last]
    <!-- / sidebar -->


Adjust your size with 

width="230" height="230"

(the last bit of code) 
Reply With Quote
  #60  
Old 05-23-2008, 01:19 PM
murdoc murdoc is offline
 
Join Date: Jan 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there

i have a little prob mine is not showing, i dont know what to do

take a look

http://gamerswastelands.co.za/member.php?u=1
Reply With Quote
  #61  
Old 07-02-2008, 10:31 AM
chennairam's Avatar
chennairam chennairam is offline
 
Join Date: Aug 2007
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i ask sir ?
where can i put this code ?

save and replace $post[field1] with the field (like $post[field8]

Sorry im new in forum
Reply With Quote
Reply


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 11:13 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.04996 seconds
  • Memory Usage 2,332KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete