vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - YouTube in Profile (https://vborg.vbsupport.ru/showthread.php?t=165771)

EvErDrEaMs 02-04-2008 11:52 AM

tryed everything no go.

seangworld 02-04-2008 11:13 PM

demo link doesnt work.

Bilderback 02-05-2008 01:42 AM

not working for me in beta 4
Does $post have to be changed to $prepared?

seangworld 02-05-2008 06:14 AM

i want to have my members be able to add youtube to their profiles but i require a demo to make sure it looks good and it works right.

none of you are providing a link to even your own sites as a demo.

Freesteyelz 02-05-2008 08:55 AM

I checked the codes. The reason why it's not working is there are missing elements in it. To fix it do the following:

Find (2 times):

Code:

src="http://www.youtube.com/v/$post[field1]"

Replace it (2 times) with:


Code:

src="http://www.youtube.com/v/$userinfo[fieldx]&rel=1"

Replace "x" with the Custom Profile Field ID.


I basically had the same idea as BlizzardHQ but did it on my own. For my profile I used the 3.7 codes so the look will adjust according to how I customize it. I would show the profile but you need to be logged in. The attachments should suffice. :)

stangger5 02-05-2008 03:01 PM

I made a right side YouTube box in member profile..It uses the 3.7 code for the look also..

You can have a look at my profile,,,you dont need to register..thefulcrumpoint.org

seangworld 02-05-2008 03:35 PM

wow very nice stangger. im hoping you used this same code in this thread!
and i wasnt aware ipbarcade was working for 3.7, i was waiting for that too....

you've been a huge help, thanks man.

i just bookmarked your site as well for other hacks you got...

Alfa1 02-05-2008 07:17 PM

Quote:

Originally Posted by stangger5 (Post 1436779)
I made a right side YouTube box in member profile..It uses the 3.7 code for the look also..

You can have a look at my profile,,,you dont need to register..thefulcrumpoint.org

How did you do that?

Freesteyelz 02-05-2008 08:30 PM

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. :)

seangworld 02-06-2008 12:39 AM

im not getting it to work.

Quote:

<if condition="$post[field5]">
<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

[field2]">&nbsp;-&nbsp;$post[field6]</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/$post[field5]"></param><param name="wmode"

value="transparent"></param><embed src="http://www.youtube.com/v/$userinfo[field6]&rel=1"

type="application/x-shockwave-flash" wmode="transparent" width="425"

height="350"></embed></object>
</center></td></tr></table></if>
and how would i properly place it so it shows up on my side bar under the stats?


All times are GMT. The time now is 06:26 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.01059 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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