vb.org Archive

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

Eggie 12-04-2006 10:00 PM

Embed YouTube in Profile
 
This will allow you to embed a YouTube video into a profile.

Demo: http://www.MMO-Space.com/Eggie


enjoy!

chorton 12-05-2006 01:14 PM

Installing now

Eggie 12-05-2006 01:23 PM

Quote:

Originally Posted by chorton (Post 1132408)
Installing now

Don't forget to click install :alien:

DannyMilner 12-05-2006 02:41 PM

Nice one, I made something like this and was going to share. Anyway nice work

ImzadiNN 12-05-2006 03:56 PM

Very neat Idea!

Most excellent.

abramelin 12-05-2006 04:18 PM

YOU ARE THE MANNNNNNNNNNNN!!! I was looking for a mod like this! Thank you very much!

abramelin 12-05-2006 05:29 PM

if the user does not set a video his profile is messing up . the table width is enlarging. why?

Eggie 12-05-2006 05:42 PM

Quote:

Originally Posted by abramelin (Post 1132578)
if the user does not set a video his profile is messing up . the table width is enlarging. why?


Make sure at the start you have
Code:

<if condition="$post[field1]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

and you close with
Code:

</table></if>
This will only set up the table if they enter something in their profile.

abramelin 12-05-2006 05:59 PM

yes its like that. its still enlargeing and missing up the tables in the users who dont have video in profiles

Iain M 12-05-2006 07:28 PM

You need to make sure you are using the correct field ID, i.e in $post[field1] change 1 to the ID of the field that was added.

You can see the field ID in:

Admin CP -> User Profile Fields -> User Profile Field Manager


Note: I haven't installed this, it's just general knowledge :)

abramelin 12-05-2006 07:37 PM

i am using the correct ones. the profiles which have video setted is working great. but the profiles which doesnt have videos are enlarging. try this mod in a fixed style and you can understand what i mean.

Iain M 12-05-2006 07:59 PM

I think I know what you mean, as I said I'm not using this hack, the only width which is set at a specific size is
Code:

style="border-bottom:0px solid $stylevar[tborder_bgcolor]" width="200" colspan="2">
and
Code:

<object width="425"
but that code should be ignored if there is no value in the YouTube video profile field :\

I'm not sue then since you're using the correct fields...

abramelin 12-05-2006 08:10 PM

i am using the correct fields. if not the profiles which have videos should not work too :)

abramelin 12-05-2006 08:40 PM

i have found the bug. its the second if that causes this problem. i have removed it and the problem gone :)

abramelin 12-06-2006 10:48 AM

here is another bug;
in the "extra profile field" section it displays the field name and it content as a text like "Youtube video:XNFSDFS_3"

Qwest 12-06-2006 02:32 PM

Eggie, what profile hack are you using in that profile to display friends etc: http://www.mmo-space.com/Eggie

abramelin 12-06-2006 02:49 PM

vs-Interactive profiles. its a payed hack
www.visionscripts.com

pcoskat 12-07-2006 02:09 PM

Quote:

Originally Posted by Qwest (Post 1133218)
Eggie, what profile hack are you using in that profile to display friends etc: http://www.mmo-space.com/Eggie

hehe, I was JUST about to ask ^that^.

Nice hack, this one!

Bounce 12-07-2006 09:07 PM

nice one .. installed :cool:

Murty 12-13-2006 07:00 AM

is this possible to edit so you can put google video in as well?

TheBlackPoet 12-15-2006 05:06 PM

excellent!

graysqwrl 12-15-2006 08:37 PM

sorry...I'm a newbie:

Where do I find:
save and replace $post[field2] with the field (like $post[field9]

I'm assuming it's in a template, but which one?

Thanks

Keyser S?ze 12-15-2006 08:37 PM

neat hack thanks can anyone help me on the templates? id like to replace this "group membership" with the youtube section

but im unsure as to what to take out and where to place the code, thanks

----------

i figured it out if anyone wants the code let me know

http://www.emuasylum.com/forums/member.php?u=2230

Skedoozy 12-15-2006 10:09 PM

Awsome! Thanks, man!

Keyser S?ze 12-16-2006 04:13 AM

Quote:

Originally Posted by graysqwrl (Post 1139366)
sorry...I'm a newbie:

Where do I find:
save and replace $post[field2] with the field (like $post[field9]

I'm assuming it's in a template, but which one?

Thanks

in the txt where it says this
Quote:

In MEMBERINFO Template paste where you would like it
in that code section ull find field1 or field2, like this for example - <if condition="$post[field1]">

after YOU add your custom profile fields u need to look and see what number each one is, and add it, like for me my numbers were 14 and 15, so i made field1 field14 , and went from there

hope that helps

napukjon 12-19-2006 12:41 PM

Is it possible to get a copy of the code please Keyser? Would love to change my profiles into that. :)

Thanks

jerrygad 12-19-2006 04:31 PM

Thank you eggie. *Installed* :)
Quote:

Originally Posted by Keyser S?ze (Post 1139368)
i figured it out if anyone wants the code let me know

http://www.emuasylum.com/forums/member.php?u=2230

Yay! I figured it out at last. http://webmasters-talk.org/member.php?u=1

Keyser S?ze 12-23-2006 02:23 AM

Quote:

Originally Posted by napukjon (Post 1141564)
Is it possible to get a copy of the code please Keyser? Would love to change my profiles into that. :)

Thanks

here u go i went ahead and put it in the template mods

https://vborg.vbsupport.ru/showthrea...90#post1143790

trd167 12-24-2006 08:54 PM

installed.........but is there anyway i could put the youtube video into where "GROUP MEMBERSHIPS" is?

mine looks like this

http://www.whiteplusyellow.com/forum/member.php?u=1

Keyser S?ze 12-26-2006 03:04 AM

Quote:

Originally Posted by trd167 (Post 1144635)
installed.........but is there anyway i could put the youtube video into where "GROUP MEMBERSHIPS" is?

mine looks like this

http://www.whiteplusyellow.com/forum/member.php?u=1

see below
Quote:

Originally Posted by Keyser S?ze (Post 1143793)
here u go i went ahead and put it in the template mods

https://vborg.vbsupport.ru/showthrea...90#post1143790


deezelpope 04-05-2007 02:51 PM

Installed and LOVING this!! Made an awesome April Fool's joke, too!:up:

aloha 05-01-2007 03:15 AM

How would you use this with zoints?

cfitzarl 06-17-2007 11:09 PM

Demo doesn't work :eek: !

deezelpope 06-17-2007 11:30 PM

<i>What do you need the demo for?</i>

serhat_kk 07-12-2007 01:01 PM

thanks.
How do i use if conditiond filedsetx = blank command?

Greek76 07-12-2007 05:03 PM

How would I be able to add this in the left of a screen in a small box then the having it in the center spread throughout the whole screen? Nice mod by the way installed.

midbikenation 08-12-2007 07:50 PM

I tried installing this and just get an empty box where the video is supposed to be displayed. Any ideas???

http://midbikenation.com/member.php?u=1

Thanks!

Good grief.. nevermind... I switched the field numbers.... Been staring at code toooooo long :)

kira 08-25-2007 04:08 AM

Nice mod, Eggie. Simple and straightforward, and looks great on my board with some design tweaks. (Here's a demo, if anyone wants a peek.)

Thanks very much!

HarryBO 08-26-2007 06:09 PM

Great Addon. I hope my Users will love it too ;)

anama 08-27-2007 06:55 PM

Thank you!! It works great :up:


All times are GMT. The time now is 07:13 PM.

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.01368 seconds
  • Memory Usage 1,791KB
  • 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
  • (4)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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