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

NeuroLancer 02-17-2008 08:11 AM

Nice mod, really useful.

I have encountered a snag with the full url version.

It is like this. When the url entered is something like "http://www.youtube.com/watch?v=FMOHgLyvn10" it doesnt work. A user who copy pastes the url will not have their video display.

but when it looks like this "http://www.youtube.com/v/FMOHgLyvn10" ... all is well.

Where do we tell them to get the proper url from?

weedheaven 02-17-2008 10:44 AM

Quote:

Originally Posted by stangger5 (Post 1444936)
I dont know if theres anything for 3.6..
I could make one for 3.6 if enough members want it...;)

Well since i installed vS-Interactive Profiles
It would be nice to have a little youtube mini profile
As how it works on vb3.7
I just tested that on a test-board on vb3.7 And works looks very nice. And since the mini youtube profile works on 3.7 in profile. If that could be ported to 3.6.8 would be awsome. If it can work with vS-Interactive Profiles

Digital Jedi 02-17-2008 02:07 PM

Quote:

Originally Posted by NeuroLancer (Post 1444999)
Nice mod, really useful.

I have encountered a snag with the full url version.

It is like this. When the url entered is something like "http://www.youtube.com/watch?v=FMOHgLyvn10" it doesnt work. A user who copy pastes the url will not have their video display.

but when it looks like this "http://www.youtube.com/v/FMOHgLyvn10" ... all is well.

Where do we tell them to get the proper url from?

That's because the URL used in the embed code is completely different from the URL the video is located on. The $[fieldXX] variable will only be replace with the value entered in the field. If you try changing the code to where it uses the full URL, then there will be conflicts, as the embed code doesn't really use that URL structure. This makes it to where it requires even more steps, because now the user will have to extract the URL of the video from the embed code, rather then just grabbing the characters after the equals symbol in the URL. And to be perfectly blunt, if they can't find the video ID, then finding the URL in embed code is going to be impossible. The easiest, and most consistent way to get the mod to work is to use the ID number alone.

cheat-master30 02-17-2008 08:42 PM

For some reason, on the upgrade to version 5, this ended up getting a seperate but clickable tab somehow. I don't know how, but I guess it's cool, just not as much as the side block. Any reason for this? How did it happen?

A screenshot:

No mods used except this one with relevant template edit.

weedheaven 02-17-2008 08:58 PM

Quote:

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
add it somewhere between these things ;) I tryd on a test instal of vbulletin. And it did not ended up there what you are showing

stangger5 02-18-2008 06:03 AM

Quote:

Originally Posted by cheat-master30 (Post 1445471)
For some reason, on the upgrade to version 5, this ended up getting a seperate but clickable tab somehow. I don't know how, but I guess it's cool, just not as much as the side block. Any reason for this? How did it happen?

A screenshot:

No mods used except this one with relevant template edit.

I`ll upgrade to vb3.7.5 and see what I get...

stangger5 02-18-2008 06:30 AM

Quote:

Originally Posted by cheat-master30 (Post 1445471)
For some reason, on the upgrade to version 5, this ended up getting a seperate but clickable tab somehow. I don't know how, but I guess it's cool, just not as much as the side block. Any reason for this? How did it happen?

A screenshot:

No mods used except this one with relevant template edit.

It works fine with vb3.7.5..

Looks like you put the $blocks[youtube] in the wrong place..

You need it here,, like this:
Code:

<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->


cheat-master30 02-18-2008 09:09 PM

Thanks. I had it by the tab blocks area, and vBulletin thought it was one of those tabbed pages or something. Back to usual now.

Digital Jedi 02-19-2008 12:01 PM

That's not a bad idea though. :D

7lanet 02-22-2008 02:35 AM

but this one video :*_*:

how add more video ??

stangger5 02-22-2008 05:57 AM

Quote:

Originally Posted by 7lanet (Post 1448476)
but this one video :*_*:

how add more video ??

Witch zip file did you use ??

mini youtube in profile (right side block)v2.zip
or
mini youtube in profile (right side block)v2 full url.zip

The info to change the video for,,
mini youtube in profile (right side block)v2.zip..
is in the first post..

The info to change the video for,,
mini youtube in profile (right side block)v2 full url.zip
is in the zip file..

Zelda-King 02-22-2008 06:43 PM

Strange that I seem to be the only one with this problem but when I try to import the plugin I get this error: XML Error: XML_WAR_UNKNOWN_VERSION at Line 63.

Running vB 3.7.0 Beta 4.

Got it to work manually though so clicking install. :)

Brandon Sheley 02-23-2008 12:59 AM

nice :)

Karnal Sinn 02-23-2008 08:14 AM

Quote:

Originally Posted by Zelda-King (Post 1448884)
Strange that I seem to be the only one with this problem but when I try to import the plugin I get this error: XML Error: XML_WAR_UNKNOWN_VERSION at Line 63.

Running vB 3.7.0 Beta 4.

Got it to work manually though so clicking install. :)


You weren't the only one with that error, took me a while to figure it out (by examining how other XML's were laid out) but...

For this error just replace.. (first line of code in the XML file.)

Code:

<?xml version="2.5" encoding="ISO-8859-1"?>
and change it to this

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

stangger5 02-23-2008 09:44 AM

I though,,I fixed that...
Sorry !! :o

Both XML files are update now..;)

JVCode 02-23-2008 01:08 PM

Really nice feature, would be great to have an 'albums' type of feature, where all your favorite YouTube vids could be displayed in the same layout and fashion as the current user albums feature does.

ShawneyJ 02-24-2008 08:08 AM

whats the update please?

stangger5 02-24-2008 10:04 AM

The update is the XML file edit,, Karnal Sinn posted..

Code:

<?xml version="2.5" encoding="ISO-8859-1"?>
changed to

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
This was causing some members problems when installing..

If you didnt have any problem installing,,,theres no need to update...

weedheaven 02-25-2008 07:18 AM

Quote:

Originally Posted by stangger5 (Post 1444936)
I dont know if theres anything for 3.6..
I could make one for 3.6 if enough members want it...;)

Already found one for 3.6.x

https://vborg.vbsupport.ru/showthread.php?t=133263

7lanet 02-26-2008 03:20 AM

<a href="http://www.7lanet.com/vb/u1.html" target="_blank">http://www.7lanet.com/vb/u1.html</a>
7lanet
pass:7lanet

stangger5 02-26-2008 04:05 AM

Quote:

Originally Posted by 7lanet (Post 1451154)

You need to edit your profile fields..

Usercp >> Your Profile >> Edit Your Details..
Scroll to the bottom,,thats where you`ll see,,
YouTube ID and YouTube Title..

I added,,
YouTube ID : MT8NfZ0jcj4&rel=1
and
YouTube Title : bakugan episode 1 part 2

So you can see it works...

:)

7lanet 02-26-2008 05:29 PM

thanks ^_^

wicked80 02-28-2008 04:24 AM

Hi Friends,
I installed the mod and followed all the directions and everything looks to be working fine except that the video does not show up in the profile.

The youtube Id and title shows up but below that i just see a blank box and i tried with 2-3 different youtube ids.

I am using 3.7.0 beta 5, can someone please see the attached screenshot and help me out.

Thanks

stangger5 02-28-2008 09:55 AM

Quote:

Originally Posted by wicked80 (Post 1452655)
Hi Friends,
I installed the mod and followed all the directions and everything looks to be working fine except that the video does not show up in the profile.


The youtube Id and title shows up but below that i just see a blank box and i tried with 2-3 different youtube ids.

Code:

<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Vv2dkd1ZiO0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Vv2dkd1ZiO0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
Are you just putting the id from the embed link??
Code:

Vv2dkd1ZiO0
:)

wicked80 02-28-2008 11:53 AM

Thanks Stangger,
Actually i was picking up that id from the Youtube URL but it's the same in the embed link as well.I also tried putting your id i.e "Vv2dkd1ZiO0" but still it does not shows the video.

My doubts:
1. Could it be do to some file permissions ??
2. Do i need to update counters or something ??

Please help.

stangger5 02-29-2008 10:28 AM

Witch zip file did you download ??

mini youtube in profile (right side block)v2 full url.zip
or
mini youtube in profile (right side block)v2.zip

The info for: mini youtube in profile (right side block)v2 full url.zip is in the zip..
You need to add the full url if useing that one..

If you use: mini youtube in profile (right side block)v2.zip
All you need is the ID

RvG2 03-01-2008 06:35 PM

any thought about this?

Page generated in 0.31901 seconds with 18 queries (1 queries for uncached templates)
Uncached templates: memberinfo_block_youtube (1)

stangger5 03-02-2008 10:05 AM

Quote:

Originally Posted by RvG2 (Post 1454584)
any thought about this?

Page generated in 0.31901 seconds with 18 queries (1 queries for uncached templates)
Uncached templates: memberinfo_block_youtube (1)

That will be fixed in the next version + being able to set usergroup permissions..

:)

VeeDubZ 03-02-2008 10:40 PM

Quote:

Originally Posted by Romeos Tune (Post 1437769)
Is there a way to get the video to auto start?

Never mind...figured it out. :)

so how do you make it auto start the video????

Romeos Tune 03-03-2008 02:03 AM

Add this at the end of the video code: &autoplay=1

I just put a deal in to let people know if they wanted it to autostart.

stangger5 03-03-2008 06:07 AM

I`ll put a auto-play option in the user field in the next version...

stangger5 03-03-2008 11:15 AM

Updated !!

(New)Added cache_templates,,user group permissions and
the option for auto-play...

NeuroLancer 03-03-2008 02:13 PM

stangger5, thanks :)

I idea though, instead of telling a user to put the &autoplay=1 in the text box, could you not have a single selection radio using a case? Or is that not possible in vBulletin? I added an if to mine instead, i made it

Code:

http://www.youtube.com/v/$userinfo[fieldi]<if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>
that way its 2 radios- Yes, No. Nicer for the user.

stangger5 03-04-2008 10:33 AM

Quote:

Originally Posted by NeuroLancer (Post 1455943)
stangger5, thanks :)

I idea though, instead of telling a user to put the &autoplay=1 in the text box, could you not have a single selection radio using a case? Or is that not possible in vBulletin? I added an if to mine instead, i made it

Code:

http://www.youtube.com/v/$userinfo[fieldi]<if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>
that way its 2 radios- Yes, No. Nicer for the user.

Didnt even think about that...
I dont know if its possible,,just useing the field YES and NO..

Useing the if condition is a nice idea..

Thanks NeuroLancer!!
Any other idea ?? ;)

Magnum164 03-04-2008 08:23 PM

Nice mod installing now.

ON the line where you enter is a member of to limit the use to specific usergroups, can this also be changed to limit to only certain ranks. In other words a registered user with at least 20 posts can use this feature.

Still learning the code part. Thanks..

OK all installed I get the YuTube mini block, everything seems fine, but no YuTube video, I have tried several. Just blank.

stangger5 03-05-2008 10:34 AM

Quote:

Originally Posted by Magnum164 (Post 1457030)
Nice mod installing now.

ON the line where you enter is a member of to limit the use to specific usergroups, can this also be changed to limit to only certain ranks. In other words a registered user with at least 20 posts can use this feature.

Still learning the code part. Thanks..


OK all installed I get the YuTube mini block, everything seems fine, but no YuTube video, I have tried several. Just blank.

The post feature should be possible..

Can I have a link to your site ??

choccyclaire 03-23-2008 01:33 PM

Loving it! And my members are used to just putting the last part of the url in anyways. :)

nightbloom 04-05-2008 07:03 PM

Quote:

Originally Posted by NeuroLancer (Post 1455943)
stangger5, thanks :)

I idea though, instead of telling a user to put the &autoplay=1 in the text box, could you not have a single selection radio using a case? Or is that not possible in vBulletin? I added an if to mine instead, i made it

Code:

http://www.youtube.com/v/$userinfo[fieldi]<if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>
that way its 2 radios- Yes, No. Nicer for the user.

Can you tell me exactly how you did that? Cause that is a much nicer idea...

wicked80 04-06-2008 05:03 PM

Hi,
Is there anyway to use this module to post more then one videos. I tried to make it work for 2 videos, by copying the memberinfo_block_youtube to memberinfo_block_youtube1 and adding 3 extra fields to user proffile and editing memberinfo_block_youtube1 accordingly and adding a new entry in memberinfo template as "youtube1" but it did not worked.

So your help would be greatly appreciated....

Thanks

rapidphim 04-14-2008 06:48 AM

1/ can this one work on RC3?
2/ how can we set it up as auto play?


All times are GMT. The time now is 01:02 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.01612 seconds
  • Memory Usage 1,840KB
  • 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
  • (10)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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