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)

stangger5 04-14-2008 10:33 PM

Quote:

Originally Posted by wicked80 (Post 1484509)
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

Do you have it installed wicked80 ??
You dont have it mark as installed..;)

To have two videos,,,you`ll have to add anther userfeild for it and add the last part of the memberinfo_block_youtube template again with the new userfeild number..


Quote:

Originally Posted by rapidphim (Post 1490229)
1/ can this one work on RC3?
2/ how can we set it up as auto play?

Yes this will work with RC3..
The info for auto-play is in the first post..

rapidphim 04-14-2008 10:37 PM

Great... I'll try it out on my board. Thanks.

msorin 04-19-2008 08:29 PM

Didn't work for me. I'm using rc3. When I load m profile the video does not load and just hangs on trying to load.

stangger5 04-19-2008 11:18 PM

Quote:

Originally Posted by msorin (Post 1494726)
Didn't work for me. I'm using rc3. When I load m profile the video does not load and just hangs on trying to load.

Can you pm me a link to your site ??

Boosted Panda 04-27-2008 06:21 PM

Same mine won't load just blan.

stangger5 04-27-2008 07:12 PM

Can you send me a link to your profile page ??

KURTZ 04-27-2008 07:22 PM

really interesting stangger ... :) i'm waiting the Gold version, and i'll install this hack ...

*TAGGED

goodguy 05-03-2008 08:38 PM

I must be dumb but I can't find the member info templates?

stangger5 05-03-2008 08:42 PM

admincp >> Styles & Templates >> Member Info Templates

goodguy 05-03-2008 08:48 PM

Quote:

Originally Posted by stangger5 (Post 1507284)
admincp >> Styles & Templates >> Member Info Templates

It isnt there though (the member info template)

stangger5 05-03-2008 09:06 PM

admincp >> Styles & Templates >> Style Manager..
In the Style Manager choose you skin you want to edit..

In the All Styles Options dropdown box choose Edit templates..
There you`ll see the templates list..Scroll down to Member Info Templates..

goodguy 05-03-2008 09:26 PM

Quote:

Originally Posted by stangger5 (Post 1507322)
admincp >> Styles & Templates >> Style Manager..
In the Style Manager choose you skin you want to edit..

In the All Styles Options dropdown box choose Edit templates..
There you`ll see the templates list..Scroll down to Member Info Templates..

Thanks :up:
Told you I was dumb. :)

I think this is right?

<div class="alt1 smallfont block_row"><if condition="$userinfo[field7]">Title:&nbsp;$userinfo[field7]</if></div>

<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field6]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field8]$userinfo[field8]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>

</div>

stangger5 05-03-2008 09:36 PM

You missed one edit at the first of that template..

Code:

<!-- youtube -->
<if condition="$userinfo[fieldx]">

Looks like it should be

Code:

<!-- youtube -->
<if condition="$userinfo[field6]">

Your code should be this,

Code:

<div class="alt1 smallfont block_row"><if condition="$userinfo[field7]">Title:&nbsp;$userinfo[field7]</if></div>

<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field6]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field6]$userinfo[field8]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object></div>

Field6 should be the Youtube ID
Field7 should be the Title..
Field8 should be the Autoplay

:)

crkgb 05-03-2008 09:42 PM

I wish this could be an installable xml file )))

moger 05-03-2008 09:44 PM

ok i installed and it just doesn't show up at all. i have checked everything. even re-installed it. i dont know what is wrong... any ideas?

goodguy 05-03-2008 09:53 PM

Quote:

Originally Posted by stangger5 (Post 1507354)
You missed one edit at the first of that template..

Code:

<!-- youtube -->
<if condition="$userinfo[fieldx]">

Looks like it should be

Code:

<!-- youtube -->
<if condition="$userinfo[field6]">

Your code should be this,

Code:

<div class="alt1 smallfont block_row"><if condition="$userinfo[field7]">Title:&nbsp;$userinfo[field7]</if></div>

<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field6]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field6]$userinfo[field8]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object></div>

Field6 should be the Youtube ID
Field7 should be the Title..
Field8 should be the Autoplay

:)

Thanks :)
Now I can't see it in the members profile :confused:
I knew I was dumb, but now seem dumber. :o

stangger5 05-03-2008 09:55 PM

Did you,,

Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO ??

You need to add $blocks[youtube] in that template..
Info is in the first post...

goodguy 05-03-2008 09:59 PM

Quote:

Originally Posted by stangger5 (Post 1507378)
Did you,,

Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO ??

You need to add $blocks[youtube] in that template..
Info is in the first post...

Yep it looks like this;

<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[youtube]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>

Edit: I need an R and L on my hands. :o

stangger5 05-03-2008 10:02 PM

You put it in the wrong section..

Look on down in the template..

Code:

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]


goodguy 05-03-2008 10:04 PM

Quote:

Originally Posted by stangger5 (Post 1507386)
You put it in the wrong section..

Look on down in the template..

Code:

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]


Fixed that now but still not showing. :confused:

goodguy 05-03-2008 10:11 PM

Should it appear in this list in the userprofile?

Biography
N/A
Location
N/A
Interests
N/A
Occupation
N/A
Gender
Rather Not Say
YouTube ID
bEbh0SWandU
YouTube Title
Support
YouTube Auto-play
&autoplay=1

stangger5 05-04-2008 09:43 AM

Quote:

Originally Posted by goodguy (Post 1507395)
Should it appear in this list in the userprofile?

If you want it to show..

If not,,you should have made your profile feild like this,,

1:
Single-Line Text Box
Title: YouTube ID
Description: Put your YouTube ID here.

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

If its not working,,,can you send me a link to your site ??

goodguy 05-04-2008 10:19 AM

Quote:

Originally Posted by stangger5 (Post 1507872)
If you want it to show..

If not,,you should have made your profile feild like this,,

1:
Single-Line Text Box
Title: YouTube ID
Description: Put your YouTube ID here.

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

If its not working,,,can you send me a link to your site ??


Thanks for having a look they are at;

http://www.hairdivision.co.uk/forums/

stangger5 05-04-2008 10:20 AM

Quote:

Originally Posted by moger (Post 1507364)
ok i installed and it just doesn't show up at all. i have checked everything. even re-installed it. i dont know what is wrong... any ideas?

Have you edited the memberinfo_block_youtube template to match your userinfo field numbers ??

Yours should be,,

the Youtube ID should be Field17
the Title should be Field18..
the Autoplay should be Field19

Then added $blocks[youtube] to your MEMBERINFO template ??

:)

stangger5 05-04-2008 10:24 AM

Quote:

Originally Posted by goodguy (Post 1507907)
Thanks for having a look they are at;

http://www.hairdivision.co.uk/forums/

I cant register..I`m getting this,,You answered the NoSpam! question incorrectly.

I dont see any NoSpam question anywhere...

goodguy 05-04-2008 11:25 AM

Quote:

Originally Posted by stangger5 (Post 1507913)
I cant register..I`m getting this,,You answered the NoSpam! question incorrectly.

I dont see any NoSpam question anywhere...

Oops, neither do I. :eek: :confused:

goodguy 05-04-2008 11:29 AM

Quote:

Originally Posted by stangger5 (Post 1507909)
Have you edited the memberinfo_block_youtube template to match your userinfo field numbers ??

Yours should be,,

the Youtube ID should be Field17
the Title should be Field18..
the Autoplay should be Field19

Then added $blocks[youtube] to your MEMBERINFO template ??

:)


Who would have thought that one missing number could be such a problem :o:)
It works a treat folks!! Thanks stangger5 :up:

Note to self
Read, understand and carryout all instructions, dont try to do stuff late at night when tired, it aint self assembly furniture the instructions are important. ;) :cool:

Thanks again. :up:

want3ed 05-04-2008 01:24 PM

thanks for mod. It is good working.

GTRyan 05-16-2008 07:28 AM

I installed this on 2 sites, one is my own test site and it works fine, another is a decent sized forum with lots of plugins. I followed the directions included with the .zip and I am not seeing the video block on my own profile or anyone else even though they dont know about the addon yet. What could be wrong, could it be another plugin interfering? I disabled a bunch of other plugins and still nothing shows, I do have the $blocks[] added in MEMEBERINFO and the custom user fields.

Any advice?

3.7.0 gold

dancue 05-16-2008 12:57 PM

For those of you interested in making the radio Yes/No Buttons do the following.

STEP ONE:
When making the auto play profile field follow these directions instead:
3:
Single-Selection Radio Buttons
Title: YouTube Auto-play?
Description: Select whether or not you would like the video to start automatically.
Options(each on a separate line): Yes
No
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number..
Say the field number is 11,,you will need to change the
a in $userinfo[fielda] to 11 like this,, $userinfo[field11]


STEP TWO:


After replacing the field values (fielda, fieldt, and so on) in template memberinfo_block_youtube you will need to replace $userinfo[fielda] (only one instance) with <if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>

That's it. You are done. Hopefully the author can add this and make it default.

Greek76 05-17-2008 05:14 PM

Quote:

Originally Posted by GTRyan (Post 1521364)
I installed this on 2 sites, one is my own test site and it works fine, another is a decent sized forum with lots of plugins. I followed the directions included with the .zip and I am not seeing the video block on my own profile or anyone else even though they dont know about the addon yet. What could be wrong, could it be another plugin interfering? I disabled a bunch of other plugins and still nothing shows, I do have the $blocks[] added in MEMEBERINFO and the custom user fields.

Any advice?

3.7.0 gold

I had the same problem but I also realized I made a mistake. In the autoplay box in my profile I only put down 1 and it didnt work. No youtube screen at all. As soon as I put down &autoplay=1 it worked perfectly. Try doing that..

baghdad4ever 05-26-2008 10:56 AM

thank you very mutch

installed

Keenanm 06-01-2008 12:07 AM

Doing coding for YouTube videos I realized you can also add colours like in the autoplay field you can add this blue colour to the skin by entering theres other colours and such aswell.

edit; I've figured out the colour code

&color1=0x66FF00&color1=0xCC0000"
Break down:
1. &color1=0x (Always keep this at 1)
2. 66FF00& (The colour the colour codes go by hex colours no need for #)
3. color2= (Always keep this at 2)
4. 0xCC0000" (Should choose a slightly darker colour)

transparent 06-02-2008 08:02 AM

Quote:

Originally Posted by dancue (Post 1521566)
For those of you interested in making the radio Yes/No Buttons do the following.

STEP ONE:
When making the auto play profile field follow these directions instead:
3:
Single-Selection Radio Buttons
Title: YouTube Auto-play?
Description: Select whether or not you would like the video to start automatically.
Options(each on a separate line): Yes
No
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number..
Say the field number is 11,,you will need to change the
a in $userinfo[fielda] to 11 like this,, $userinfo[field11]


STEP TWO:


After replacing the field values (fielda, fieldt, and so on) in template memberinfo_block_youtube you will need to replace $userinfo[fielda] (only one instance) with <if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>

That's it. You are done. Hopefully the author can add this and make it default.

For some reason your auto-play option did not work for me. The radial buttons appeared perfectly (great idea bty), the video plays but it would not auto-play. I double checked the template edit you require and all was done correctly. I ended up going back to the authors original auto-play method which is working for me ; )

This is an excellent hack though!:D

transparent 06-02-2008 10:37 AM

My members pointed out a possible bug...

I have the permissions set so that only VIPs & above are able to use the YouTube vids. What I didn't realize is that if you don't have permission to use it you also don't have permission to view anyone else's.

I'm hoping this has just never been noticed. Anyone know how to fix this?

KURTZ 06-02-2008 11:34 AM

just installed!

Toxist 06-02-2008 01:19 PM

After reading 6 pages of alterations, I'm not sure what is updated or not, example, the auto play and the option yes or No? Or do I need go through the pages again to see what needs to be added to the Authors posted (2) files. I think I shouldn't have read all the pages from members, it now has me more confused. Is it all updated or is there needed additional options in proceeding pages? :confused:
It certainly is a Nice Mod, but it has me a bit shy and I would like to install it if I can figure out where it stands. ( a non coder perspective) :)

basilrath 06-02-2008 01:24 PM

cant see why you would need the mod although its nice.......just add it into a module? at any size you wish surely

rex_b 06-06-2008 06:00 PM

Not working for me on www.mariokartwii.com

rex_b 06-06-2008 06:17 PM

Nevermind.. Autoplay code wasn't there correctly


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.01560 seconds
  • Memory Usage 1,845KB
  • 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
  • (8)bbcode_code_printable
  • (16)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
  • (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