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 - Mini YouTube Video in Profile (right side block) Embed-URL (https://vborg.vbsupport.ru/showthread.php?t=171969)

christian8a 06-18-2008 06:38 PM

Quote:

Originally Posted by NannyMin (Post 1552825)
It's still not working using this. I do not see a video or any type of box. Help Please!

should work man, if everything is correct.
The only problem I had, and I didnt see a box before or anything was because I didnt add the autoplay option and put yes first.

I would try deleting that profile field and make a new one and put default to yes.

Here is mine

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

stangger5 06-18-2008 07:32 PM

Quote:

Originally Posted by NannyMin (Post 1552825)
It's still not working using this. I do not see a video or any type of box. Help Please!

Do you mind if I have a look ??

NannyMin 06-18-2008 08:19 PM

Sure.

RedeemedWarrior 06-19-2008 10:00 AM

works great

Lift for Life 07-05-2008 01:09 AM

I've got this plugin working great in two different skin styles in Firefox, however the video drops below the main table when viewed in Explorer. I've played with the main table width with no success.

Can you tell me how to correct this?

Thanks

Lift for Life 07-05-2008 02:27 AM

Nevermind, just switched the Youtube width to 200 and it now formats correctly in Explorer.

Lift

karlm 07-06-2008 10:48 PM

a small suggestion if i may...
the main url can be hard-coded into the xml, so why not do that, and then users only need the last part of the url (and thus, don't need to go hunting embedded codes, and so on).

So, eg.

Code:

http://www.youtube.com/v/
is hard-coded
and the remaining file element is entered by each user
Code:

ORzHF2kgqJ4&hl=en
Would solve a lot of problems and make users lives easier :)

karlm 07-07-2008 01:31 AM

I hope you don't mind, but here's my suggested edit to this modifcation.

What this does is allows the member to add the youtube file without needing to meddle with the 'embed' function. Instead, they simply need the very last portion of the URL.

So, if the URL is http://www.youtube.com/watch?v=foKKLSGJFxw then any member need only paste the actual file identifier, which is:

foKKLSGJFxw

Whereas previously, they would need to hassle with the embed script, and then manually seek out the embed url:
http://www.youtube.com/v/foKKLSGJFxw

In addition, you may note I have added the &autoplay= function, so now when the member is adding their favourite youtube file, they need to only type 1 for yes, or 0 to not autoplay! Again, much simpler for the member.

Seems like an all-around easier way of doing things for the members of the site.

To use my edit, you'll need to change the memberinfo_block_youtube template in your chosen style:
Code:

<!-- youtube -->
<if condition="$userinfo[field9]">
<div id="youtube" class="tborder content_block">
    <h4 class="thead block_title">
        <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <a name="albums"></a>
        <span class="block_name">YouTube Video</span>
    </h4>
    <div class="block_content" id="collapseobj_youtube" style="">
   

       
    <div class="alt1 smallfont block_row"><if condition="$userinfo[field10]">Title:&nbsp;$userinfo[field10]</if></div>
           
    <div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="<embed src="http://www.youtube.com/v/$userinfo[field9]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field9]&autoplay=$userinfo[field11]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
   
    </div>

</div>
</div>
</if>
<!-- / youtube -->

For a demonstration of it working, clicky.

stangger5 07-07-2008 07:22 AM

Quote:

Originally Posted by karlm (Post 1568621)
I hope you don't mind, but here's my suggested edit to this modifcation.

What this does is allows the member to add the youtube file without needing to meddle with the 'embed' function. Instead, they simply need the very last portion of the URL.

So, if the URL is http://www.youtube.com/watch?v=foKKLSGJFxw then any member need only paste the actual file identifier, which is:

foKKLSGJFxw

I allready made one that uses just the youtube video number..
Its posted here,,Mini YouTube Video in Profile (right side block)

Some members wanted a URL one so I made both..
If you use this one,,the URL one,,,you can use URLs from other video sites...

RvG2 07-11-2008 09:03 AM

Quote:

Originally Posted by stangger5 (Post 1568844)
I allready made one that uses just the youtube video number..
Its posted here,,Mini YouTube Video in Profile (right side block)

Some members wanted a URL one so I made both..
If you use this one,,the URL one,,,you can use URLs from other video sites...

i think i prefer this one...


All times are GMT. The time now is 10:49 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.01218 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (4)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